Twenty Eleven 二〇一七主题

Twenty Eleven 二〇一七主题

Codex Home → BuddyPress Theme Development → BP Theme Compatibility and the WordPress Default Themes → Twenty Eleven Theme
Twenty Eleven Theme

A. One Column Layout
This is the default page layout of the Twenty Eleven theme. There』s no need to do anything else if this is the layout you prefer for all your BuddyPress pages.
B. Full-width page
Full-width Layout. Click on image to enlarge.If you prefer to have a full-width layout for all your BuddyPress pages, follow the steps laid out below.
1. Create a child theme of the Twenty Eleven theme.
2. Create a new file in your new child theme folder and name it buddypress.php.
3. Copy over the content of Twenty Eleven』s onecolumn-page.php file into the new buddypress.php file

5. Open up your child theme』s style.css file and add the following and save file.
.buddypress .entry-header,
.buddypress .entry-content,
.buddypress footer.entry-meta {
margin: 0 auto !important;
width: 100% !important;
}

6. Upload your Twenty Eleven child theme folder to server.
C. Two Column, Right Sidebar Layout
Two-column Layout. Click on image to enlarge.If you prefer to have a two column layout for all your BuddyPress pages, follow the steps below.
1. Create a child theme of the Twenty Eleven theme.
2. Create a new file in your new child theme folder and name it buddypress.php.
3. Copy over the content of Twenty Eleven』 theme』s sidebar-page.php file into the new buddypress.php file.

4. Create a functions.php file in the folder of your child theme if you don』t have one yet. You will need to remove the .singular body class generated via Twenty Eleven theme』s functions.php file for the regular pages, which is designed as a one column layout. Otherwise, the sidebar you will be adding will fall down below the BuddyPress content.
5. Add the following to your new functions.php file then save file.
$value) {
if ($value == 'singular') unset($wp_classes[$key]);
}
endif;
return $wp_classes;
}
add_filter('body_class', 'mme_remove_singular_body_class', 20, 2);

6. Upload your Twenty Eleven child theme folder to server.

Twenty Twelve 二〇一二主题

Twenty Twelve 二〇一二主题

Codex Home → BuddyPress Theme Development → BP Theme Compatibility and the WordPress Default Themes → Twenty Twelve Theme
Twenty Twelve Theme

A. One column Layout
One Column Layout. Click on image to enlarge.1. Create a child theme of the Twenty Twelve theme.
2. Create a new file in your new child theme folder and name it buddypress.php.
3. Copy over the content of Twenty Twelve』s full-width.php file into the new buddypress.php file.
?12345678910111213141516171819     

        

                                                

    

 
4. The buddypress class is generated in the body tag automatically for all BuddyPress pages when it』s activated. To change the width of the layout from full-width to one column, you only need to open up your theme』s style.css file and add the following
?12345678@ media screen and (min-width: 600px) {       body.buddypress .site-content {        float: none;        margin-left: auto;        margin-right: auto;        width: 70%;       }}
– delete the space between @ and media in media query above.
5. Upload the Twenty Twelve child theme folder to server.
B. Full-width Layout
Full-width Layout. Click on image to enlarge.1. Create a child theme of the Twenty Twelve theme.
2. Create a new file in your new child theme folder and name it buddypress.php.
3. Copy over the content of Twenty Twelve』s full-width.php file into the new buddypress.php file.
?12345678910111213141516171819     

        

                                                

    

 
4. The buddypress class is generated in the body tag automatically for all BuddyPress when it』s activated. So you only need to open up your theme』s style.css file and add the following
?12345@ media screen and (min-width: 600px) {       body.buddypress .site-content {              width: 100%;       }}
– delete the space between @ and media in media query above.
5. Upload your Twenty Twelve child theme folder to server.
C. Two Column, Right Sidebar Layout
Two-column Layout. Click on image to enlarge.This is the default page layout of the Twenty Twelve theme. There is no need to do anything more if this is the layout you prefer for all your BuddyPress pages.
However, if you want to customize the sidebar content of all your BP pages, you can do so by: a) using a plugin like Widget Logic to assign widgets to specific pages by using conditional tags or b) by creating new buddypress.php and sidebar-buddypress.php files and registering a new widget area in your child theme』s functions.php file. The following steps are for the second option.
1. Create a child theme of the Twenty Twelve theme.
2. Create a new file in your new child theme folder and name it buddypress.php.
3. Copy the content of Twenty Twelve theme』s page.php file into the new buddypress.php file. Then change get_sidebar() to get_sidebar('buddypress') and save file.
?1234567891011121314151617181920     

        

                                                

    

 
4. If you don』t have a functions.php file in your child theme, create one. You』ll need to register the new widget area for your BP sidebar in that functions.php file like so:
?1234567891011121314 __( 'BuddyPress Sidebar Widget Area', 'mmechildtheme' ),        'id'             => 'bp-sidebar',        'description'    => __( 'Appears in the sidebar section of all BuddyPress pages.', 'mmechildtheme' ),        'before_widget'  => '

',        'before_title'      => '

',        'after_title'    => '

',    ) );}add_action( 'widgets_init', 'mme_register_bp_widgets_area' );
5. Create a new file in your child theme folder and name it sidebar-buddypress.php. Add the following code to set up the widget area then save file.
?1234567891011121314151617     

 
7. Upload your child theme folder to your server. You』ll need to add at least one widget to the BP Sidebar widget area,

骨架组件

骨架组件

Codex Home → Legacy Docs → Archived Section: Plugin Development → Skeleton Component
Skeleton Component

Please refer to BP_Component API for more information.

The BuddyPress Skeleton Component is a plugin you can install to use as an example template for creating your own BuddyPress Components. NOTE: This plugin may be outdated to work with the current version of BuddyPress. Use the plugin as development example only and do not run on your production site.
The most up-to-date ( ! ) version can be found here:  https://github.com/boonebgorges/buddypress-skeleton-component/
Or maybe here, re BP Theme Compat : https://github.com/boonebgorges/buddypress-skeleton-component/tree/1.7

BP_Component

BP_Component

Codex Home → Developer Resources → BP_Component
BP_Component

The BP_Component class is the basis of getting your plugin initiated into BuddyPress. You extend this class to create custom components. In fact, the core components extend this class to create each core component (members, activity, groups etc.)
This is the members component class which extends BP_Component:
class BP_Members_Component extends BP_Component {

/**
* Start the members component creation process
*
* @since BuddyPress (1.5)
*/
function __construct() {
parent::start(
'members',
__( 'Members', 'buddypress' ),
BP_PLUGIN_DIR
);
}

/**
* Include files
*
* @global BuddyPress $bp The one true BuddyPress instance
*/
function includes() {
$includes = array(
'actions',
'filters',
'screens',
'template',
'buddybar',
'adminbar',
'functions',
'notifications',
);
parent::includes( $includes );
}

/**
* Setup globals
*
* The BP_MEMBERS_SLUG constant is deprecated, and only used here for
* backwards compatibility.
*
* @since BuddyPress (1.5)
* @global BuddyPress $bp The one true BuddyPress instance
*/
function setup_globals() {
global $bp;

// Define a slug, if necessary
if ( !defined( 'BP_MEMBERS_SLUG' ) )
define( 'BP_MEMBERS_SLUG', $this->id );

$globals = array(
'slug' => BP_MEMBERS_SLUG,
'root_slug' => isset( $bp->pages->members->slug ) ? $bp->pages->members->slug : BP_MEMBERS_SLUG,
'has_directory' => true,
'search_string' => __( 'Search Members...', 'buddypress' ),
);

parent::setup_globals( $globals );

/** Logged in user ****************************************************/

// Fetch the full name for the logged in user
$bp->loggedin_user->fullname = bp_core_get_user_displayname( bp_loggedin_user_id() );

// Hits the DB on single WP installs so get this separately
$bp->loggedin_user->is_super_admin = $bp->loggedin_user->is_site_admin = is_super_admin( bp_loggedin_user_id() );

// The domain for the user currently logged in. eg: http://domain.com/members/andy
$bp->loggedin_user->domain = bp_core_get_user_domain( bp_loggedin_user_id() );

// The core userdata of the user who is currently logged in.
$bp->loggedin_user->userdata = bp_core_get_core_userdata( bp_loggedin_user_id() );

/** Displayed user ****************************************************/

// The domain for the user currently being displayed
$bp->displayed_user->domain = bp_core_get_user_domain( bp_displayed_user_id() );

// The core userdata of the user who is currently being displayed
$bp->displayed_user->userdata = bp_core_get_core_userdata( bp_displayed_user_id() );

// Fetch the full name displayed user
$bp->displayed_user->fullname = bp_core_get_user_displayname( bp_displayed_user_id() );

/** Profiles Fallback *************************************************/

if ( !bp_is_active( 'xprofile' ) ) {
$bp->profile = new stdClass;
$bp->profile->slug = 'profile';
$bp->profile->id = 'profile';
}

/** Default Profile Component *****************************************/
if ( !defined( 'BP_DEFAULT_COMPONENT' ) ) {
if ( bp_is_active( 'activity' ) && isset( $bp->pages->activity ) )
$bp->default_component = bp_get_activity_slug();
else
$bp->default_component = ( 'xprofile' == $bp->profile->id ) ? 'profile' : $bp->profile->id;

} else {
$bp->default_component = BP_DEFAULT_COMPONENT;
}

if ( bp_displayed_user_id() ) {
$bp->canonical_stack['base_url'] = bp_displayed_user_domain();

if ( bp_current_component() ) {
$bp->canonical_stack['component'] = bp_current_component();
}

if ( bp_current_action() ) {
$bp->canonical_stack['action'] = bp_current_action();
}

if ( !empty( $bp->action_variables ) ) {
$bp->canonical_stack['action_variables'] = bp_action_variables();
}

if ( !bp_current_component() ) {
$bp->current_component = $bp->default_component;
} else if ( bp_is_current_component( $bp->default_component ) && !bp_current_action() ) {
// The canonical URL will not contain the default component
unset( $bp->canonical_stack['component'] );
}
}
}

/**
* Setup BuddyBar navigation
*
* @global BuddyPress $bp The one true BuddyPress instance
*/
function setup_nav() {
global $bp;

// Add 'Profile' to the main navigation
if ( !bp_is_active( 'xprofile' ) ) {

// Don't set up navigation if there's no user
if ( !is_user_logged_in() && !bp_is_user() )
return;

$sub_nav = array();
$main_nav = array(
'name' => __( 'Profile', 'buddypress' ),
'slug' => $bp->profile->slug,
'position' => 20,
'screen_function' => 'bp_members_screen_display_profile',
'default_subnav_slug' => 'public', //bp 1.7 requires a default subnav. If no subnav use same slug as parent slug.
'item_css_id' => $bp->profile->id
);

// User links
$user_domain = bp_displayed_user_domain() ? bp_displayed_user_domain() : bp_loggedin_user_domain();
$profile_link = trailingslashit( $user_domain . $bp->profile->slug );

// Add the subnav items to the profile
$sub_nav[] = array(
'name' => __( 'Public', 'buddypress' ),
'slug' => 'public',
'parent_url' => $profile_link,
'parent_slug' => $bp->profile->slug,
'screen_function' => 'bp_members_screen_display_profile',
'position' => 10
);

parent::setup_nav( $main_nav, $sub_nav );
}
}

/**
* Sets up the title for pages and <br /> *<br /> * @global BuddyPress $bp The one true BuddyPress instance<br /> */<br /> function setup_title() {<br /> global $bp;</p> <p>if ( bp_is_my_profile() ) {<br /> $bp->bp_options_title = __( 'You', 'buddypress' );<br /> } elseif( bp_is_user() ) {<br /> $bp->bp_options_avatar = bp_core_fetch_avatar( array(<br /> 'item_id' => bp_displayed_user_id(),<br /> 'type' => 'thumb',<br /> 'alt' => sprintf( __( 'Profile picture of %s', 'buddypress' ), bp_get_displayed_user_fullname() )<br /> ) );<br /> $bp->bp_options_title = bp_get_displayed_user_fullname();<br /> }</p> <p>parent::setup_title();<br /> }<br /> }</p> <p>function bp_setup_members() {<br /> global $bp;<br /> $bp->members = new BP_Members_Component();<br /> }<br /> add_action( 'bp_setup_components', 'bp_setup_members', 1 );</p> </div><!-- .entry-content --> <footer class="entry-footer"> <span class="posted-on"><span class="screen-reader-text">发布于 </span><a href="https://buddypress.wpwenku.com/document/bp_component" rel="bookmark"><time class="entry-date published" datetime="2021-12-25T06:19:23+08:00">2021 年 12 月 25 日</time><time class="updated" datetime="2021-12-31T14:06:00+08:00">2021 年 12 月 31 日</time></a></span><span class="comments-link"><a href="https://buddypress.wpwenku.com/document/bp_component#respond">Leave a comment</a></span> </footer><!-- .entry-footer --> </article><!-- #post-122 --> <article id="post-123" class="post-123 post type-post status-publish format-standard hentry category-document"> <header class="entry-header"> <h2 class="entry-title"><a href="https://buddypress.wpwenku.com/document/bp_ajax_querystring" rel="bookmark">bp_ajax_querystring()</a></h2> </header><!-- .entry-header --> <div class="entry-content"> <span class="screen-reader-text">bp_ajax_querystring()</span><p>Codex Home → Developer Resources → Function Examples → bp_ajax_querystring()<br /> bp_ajax_querystring()</p> <p> You can filter the output of the Activity loop using bp_ajax_querystring. Read about other queries you can pass the activity stream and learn more about the Activity loop here.<br /> function filtering_activity_default( $query ) {<br /> if ( empty( $query ) && empty( $_POST ) ) {<br /> $query = 'action=activity_update';<br /> }<br /> return $query;<br /> }<br /> add_filter( 'bp_ajax_querystring', 'filtering_activity_default', 999 );</p> <p> <br /> To filter ajax:<br /> function my_bp_loop_querystring( $query_string, $object ) {<br /> if ( ! empty( $query_string ) ) {<br /> $query_string .= '&';<br /> }</p> <p> $query_string .= 'per_page=2';</p> <p> return $query_string;<br /> }<br /> add_action( 'bp_legacy_theme_ajax_querystring', 'my_bp_loop_querystring', 20, 2 );</p> <p>Source File<br /> bp_ajax_querystring() is located in bp-core/bp-core-template.php</p> </div><!-- .entry-content --> <footer class="entry-footer"> <span class="posted-on"><span class="screen-reader-text">发布于 </span><a href="https://buddypress.wpwenku.com/document/bp_ajax_querystring" rel="bookmark"><time class="entry-date published" datetime="2021-12-25T06:19:23+08:00">2021 年 12 月 25 日</time><time class="updated" datetime="2021-12-31T14:06:00+08:00">2021 年 12 月 31 日</time></a></span><span class="comments-link"><a href="https://buddypress.wpwenku.com/document/bp_ajax_querystring#respond">Leave a comment</a></span> </footer><!-- .entry-footer --> </article><!-- #post-123 --> <article id="post-124" class="post-124 post type-post status-publish format-standard hentry category-document"> <header class="entry-header"> <h2 class="entry-title"><a href="https://buddypress.wpwenku.com/document/using-bbpress-2-2-with-buddypress" rel="bookmark">将 bbPress 2.2+ 与 BuddyPress 一起使用</a></h2> </header><!-- .entry-header --> <div class="entry-content"> <span class="screen-reader-text">将 bbPress 2.2+ 与 BuddyPress 一起使用</span><p>Codex Home → Legacy Docs → Archived Section: Getting Started → Using bbPress 2.2+ with BuddyPress<br /> Using bbPress 2.2+ with BuddyPress</p> <p>Archived file. Good up to BP 1.6.5</p> <p>Recently, bbPress 2.2+ introduced support for BuddyPress.<br /> However, BuddyPress already has a Discussion Forums component that is packaged with the plugin.<br /> We don』t recommend that you use both bbPress and BP』s Discussion Forums at the same time.  So which one should you use?<br /> For most users, we recommend bbPress. bbPress is more flexible, more robust, and more actively developed.<br /> If you already have both the BP』s Discussion Forums component and bbPress enabled, you have a few options:</p> <p>Migrate your BP Discussion Forums content to bbPress (preferred)<br /> Keep using BP Discussion Forums and disable bbPress<br /> Use BuddyPress』 built-in forums and bbPress at the same time</p> <p>Approach 1: Migrate BP Discussion Forums to bbPress (preferred)<br /> There are a couple of reasons why you might want to consider migrating to the bbPress plugin:</p> <p>bbPress is being actively developed; the 「Discussion Forums」 component in BuddyPress is retiring as of BuddyPress 1.7. The retired component will continue to work, but no new features will be incorporated by the BuddyPress team.<br /> bbPress has a bunch of cool features that BP Discussion Forums doesn』t: extensive moderation via the WP admin dashboard, topic splitting, revisions, spam management, favorites, subscriptions, and more.</p> <p>If you』d like to convert your BuddyPress built-in forums to use bbPress, follow this guide:<br /> https://codex.buddypress.org/buddypress-site-administration/migrating-from-old-forums-to-bbpress-2/<br /> If you have any questions with this guide, please post in our support forum:<br /> https://buddypress.org/support<br /> Approach 2: Keep using BuddyPress』 built-in forums<br /> This approach is easy. Just deactivate bbPress and keep using BuddyPress』 built-in forums.<br /> The reason why you might want to do this is if you』ve already made large customizations to your BuddyPress group forums and you don』t feel an immediate need to use the bbPress plugin.<br /> If you have a relatively, new BuddyPress install, it is recommended to follow approach 1.<br /> Approach 3: Use both BuddyPress』 built-in forums and bbPress together<br /> If you』ve already configured both BuddyPress and bbPress to work alongside each other and you know why you want both forums, that』s OK too.</p> </div><!-- .entry-content --> <footer class="entry-footer"> <span class="posted-on"><span class="screen-reader-text">发布于 </span><a href="https://buddypress.wpwenku.com/document/using-bbpress-2-2-with-buddypress" rel="bookmark"><time class="entry-date published" datetime="2021-12-25T06:19:23+08:00">2021 年 12 月 25 日</time><time class="updated" datetime="2021-12-31T14:06:00+08:00">2021 年 12 月 31 日</time></a></span><span class="comments-link"><a href="https://buddypress.wpwenku.com/document/using-bbpress-2-2-with-buddypress#respond">Leave a comment</a></span> </footer><!-- .entry-footer --> </article><!-- #post-124 --> <article id="post-125" class="post-125 post type-post status-publish format-standard hentry category-document"> <header class="entry-header"> <h2 class="entry-title"><a href="https://buddypress.wpwenku.com/document/bp_get_the_profile_field_value" rel="bookmark">bp_get_the_profile_field_value()</a></h2> </header><!-- .entry-header --> <div class="entry-content"> <span class="screen-reader-text">bp_get_the_profile_field_value()</span><p>Codex Home → Developer Resources → Function Examples → bp_get_the_profile_field_value()<br /> bp_get_the_profile_field_value()</p> <p> Profile fields have a filter that adds a link to certain words that are used to search members with. To remove this filter:<br /> remove_filter( 'bp_get_the_profile_field_value', 'xprofile_filter_link_profile_data', 9, 2 );</p> <p>Source File<br /> bp_get_the_profile_field_value() is located in bp-xprofile/bp-xprofile-template.php</p> </div><!-- .entry-content --> <footer class="entry-footer"> <span class="posted-on"><span class="screen-reader-text">发布于 </span><a href="https://buddypress.wpwenku.com/document/bp_get_the_profile_field_value" rel="bookmark"><time class="entry-date published" datetime="2021-12-25T06:19:23+08:00">2021 年 12 月 25 日</time><time class="updated" datetime="2021-12-31T14:06:01+08:00">2021 年 12 月 31 日</time></a></span><span class="comments-link"><a href="https://buddypress.wpwenku.com/document/bp_get_the_profile_field_value#respond">Leave a comment</a></span> </footer><!-- .entry-footer --> </article><!-- #post-125 --> <article id="post-126" class="post-126 post type-post status-publish format-standard hentry category-document"> <header class="entry-header"> <h2 class="entry-title"><a href="https://buddypress.wpwenku.com/document/template-pack-walkthrough-twenty-twelve" rel="bookmark">模板包演练 - 二〇一二 Twenty Twelve 主题</a></h2> </header><!-- .entry-header --> <div class="entry-content"> <span class="screen-reader-text">模板包演练 - 二〇一二 Twenty Twelve 主题</span><p>Codex Home → Legacy Docs → Archived Section: Theme Development → Themes & the BuddyPress Template Pack → Template Pack Walkthrough – Twenty Twelve<br /> Template Pack Walkthrough – Twenty Twelve</p> <p>Archived file. Good only up to BP 1.6.5 version</p> <p>BP TEMPLATE PACK 1.2.1 == BUDDYPRESS 1.6.3 == WORDPRESS 3.5</p> <p>There are two ways to implement Step Three of the compatibility process:<br /> – First Method: Superimposing the HTML structure of your WordPress theme onto 17 BP template files which were transferred into your WP theme folder during the compatibility process or<br /> – Second Method: Creating the following files in your WordPress theme – header-buddypress.php, sidebar-buddypress.php and/or footer-buddypress.php<br /> We』ll use the second method to make Twenty Twelve compatible with BuddyPress. By the end of this article, you should have the basic child theme files required to make Twenty Twelve compatible with BP 1.6.3 using the BP Template Pack plugin:</p> <p>/bp-twentytwelve/</p> <p>header-buddypress.php<br /> sidebar-buddypress.php<br /> style.css</p> <p>Prelude: Create a Twenty Twelve Child Theme<br /> ( If you already have your own Twenty Twelve Child theme, skip this section and proceed to the Compatibility Process )<br /> 1. Create a new theme folder for your Twenty Twelve child theme. For this example, the child theme is called BP Twenty Twelve so we』ll name our theme folder bp-twentytwelve.<br /> 2. Create a style.css file and add it in the bp-twentytwelve folder with content below:<br /> /*<br /> Theme Name: BP Twenty Twelve<br /> Theme URI: https://codex.buddypress.org/<br /> Description: Twenty Twelve child theme for BuddyPress 1.5 Compatibility Process<br /> Version: 1.0<br /> Author: mercime<br /> Author URI: https://codex.buddypress.org/<br /> Template: twentytwelve<br /> Tags: buddypress, two-column<br /> */<br /> @ import url( ../twentytwelve/style.css );</p> <p>Note: remove the space between 「@」 and 「import」 above to implement the CSS import<br /> 3. Upload the bp-twentytwelve folder with the style.css file within to your server to /wp-content/themes/<br /> N.B. We』ll be creating and uploading more files later during the compatibility process. For now, these are the basic files required for the child theme to be activated so that we can proceed with the BP compatibility process.<br /> Compatibility Process<br /> 1. After activating BuddyPress, go to dashboard Appearance > Themes and activate our child theme 「BP Twenty Twelve」. At the top of the Themes panel, you』ll see a message with 3 different options to make your theme compatible with BuddyPress. Select the link 「update your existing WordPress theme"<br /> 2. Clicking on the above link will bring you to the 「Install Plugins」 panel. Click on the 「Install」 link under BuddyPress Template Pack plugin.<br /> 3. Click 「OK」 to install BuddyPress Template Pack plugin.<br /> 4. In the next panel, click on the link 「Activate」 to activate the BP Template Pack plugin.<br /> 5. Go to Appearance > BP Compatibility<br /> 6. Step One: Moving template files automatically. Click on 「Move Template Files」<br /> 7. If the process was successful, you』ll get the message 「Templates moved successfully!」 in the same panel. Click on the button」Continue to Step Three." You will only need to go through Step Two if there was a problem transferring the files.<br /> 8. Step Three: Tweaking your layout – using the second method – Xfiles-buddypress.php.</p> <p>Text available here.<br /> a) Compare the HTML structure of Twenty Twelve theme』s page.php or index.php with a BP template file like /activity/index.php.<br /> bp-default theme has a two-column layout with sidebar</p> <div id="content"> <div class="padder"> [ CONTENT ] </div> <p><!-- .padder --> </div> <p><!-- #content --></p> <p>Twenty Twelve』s page.php also has a two-column layout with sidebar</p> <div class="site-content" id="primary"> <div id="content" role="main"> [ CONTENT ] </div> <p><!-- #content --> </div> <p><!-- #primary --></p> <p>Both bp-default activity/index.php and Twenty Twelve page.php have a two-column layout with sidebar and a common div#content. We』ll wrap Twenty Twelve』s page structure around the content of the BP template files then use style.css to finish the look of the layout.<br /> We only need to create two more files – header-buddypress.php and sidebar-buddypress.php – for this child theme. Because of the similarity in structure, there』s no need to create a footer-buddypress.php.<br /> b) Open up header.php of the Twenty Twelve theme. Add the following at the bottom of the file and Save As header-buddypress.php :</p> <div class="site-content" id="primary"> c) Open up sidebar.php of the Twenty Twelve theme. Add the following at the top of the file and Save As > sidebar-buddypress.php : </div> <p><!-- #primary --></p> <p>//<br /> jQuery(document).ready( function() {<br /> if ( jQuery('div#blog-details').length && !jQuery('div#blog-details').hasClass('show') )<br /> jQuery('div#blog-details').toggle();<br /> jQuery( 'input#signup_with_blog' ).click( function() {<br /> jQuery('div#blog-details').fadeOut().toggle();<br /> });<br /> });</p> <p>// </p> <p>d) Upload header-buddypress.php and sidebar-buddypress.php to wp-content/themes/bp-twentytwelve/<br /> 9. Congratulations, you have completed the BuddyPress Theme compatibility setup procedure! Click on Save Settings</p> <p>Finishing Touches<br /> We』re almost done. Check out the layout of the BP components in your site.<br /> We need to clean up some styles enqueued by the BP Template Pack plugin. Open up the child theme』s style.css and add this block after the text we』ve already posted in the file:<br /> / > BuddyPress Component Finishing Styles<br /> --------------------------------------------------- */</p> <p>table.forum {<br /> margin: 0 !important;<br /> }<br /> table.forum tr > td:first-child, table.forum tr > th:first-child {<br /> padding: 15px !important;<br /> }<br /> div#item-header h2,<br /> form#whats-new-form h5 {<br /> clear: none !important;<br /> }<br /> div#item-header ul {<br /> list-style-type: none;<br /> }<br /> div.dir-search {<br /> margin: -20px 0 0 !important;<br /> }<br /> div.item-list-tabs {<br /> margin: 25px 0 20px !important;<br /> }<br /> div.item-list-tabs ul,<br /> div#object-nav.item-list-tabs ul,<br /> div#subnav.item-list-tabs ul {<br /> font-size: 13px;<br /> margin-left: 0 !important;<br /> }<br /> div.item-list-tabs ul li:first-child {<br /> margin-left: 15px !important;<br /> }<br /> div#subnav.item-list-tabs {<br /> margin: -15px 0 15px !important;<br /> }<br /> #activity-stream {<br /> margin-left: 0;<br /> }<br /> .padder div.pagination {<br /> margin: -20px 0 0 !important;<br /> }<br /> ul.item-list {<br /> list-style-type: none;<br /> margin-bottom: 20px;<br /> margin-left: 0;<br /> }<br /> body.activity-permalink div.activity {<br /> padding: 20px;<br /> }<br /> body.activity-permalink .activity-content {<br /> padding: 0 !important;<br /> }<br /> .widget-container {<br /> overflow: hidden;<br /> }<br /> ul#members-list,<br /> ul#groups-list {<br /> list-style-type: none;<br /> margin-left: 0;<br /> }<br /> div.avatar-block img {<br /> float: left;<br /> }<br /> #content input, #content textarea {<br /> font-size: 12px;<br /> line: height: 18px;<br /> }<br /> #main {<br /> margin-bottom: 20px;<br /> }</p> <p>Add and delete styles according to taste. Save file and upload to child theme』s folder wp-content/themes/bp-twentytwelve/ and WE ARE DONE.</p> </div><!-- .entry-content --> <footer class="entry-footer"> <span class="posted-on"><span class="screen-reader-text">发布于 </span><a href="https://buddypress.wpwenku.com/document/template-pack-walkthrough-twenty-twelve" rel="bookmark"><time class="entry-date published" datetime="2021-12-25T06:19:23+08:00">2021 年 12 月 25 日</time><time class="updated" datetime="2021-12-31T14:06:01+08:00">2021 年 12 月 31 日</time></a></span><span class="comments-link"><a href="https://buddypress.wpwenku.com/document/template-pack-walkthrough-twenty-twelve#respond">Leave a comment</a></span> </footer><!-- .entry-footer --> </article><!-- #post-126 --> <article id="post-127" class="post-127 post type-post status-publish format-standard hentry category-document"> <header class="entry-header"> <h2 class="entry-title"><a href="https://buddypress.wpwenku.com/document/configuring-components-v1-6" rel="bookmark">配置组件 (v1.6)</a></h2> </header><!-- .entry-header --> <div class="entry-content"> <span class="screen-reader-text">配置组件 (v1.6)</span><p>Codex Home → Legacy Docs → Archived Section: Getting Started → Configuring Components (v1.6)<br /> Configuring Components (v1.6)</p> <p>Archived file. Good up to BP 1.6 version</p> <p>After activating BuddyPress 1.6 and going through the new installation wizard, there will be five admin panels (relocated in BP 1.6) where you will be able to configure the plugin further. There』s a NEW Activity Stream admin panel in the backend as well.</p> <p>Settings > BuddyPress > Components panel<br /> Settings > BuddyPress > Pages panel<br /> Settings > BuddyPress > Settings panel<br /> Settings > BuddyPress > Forums panel<br /> Users > Profile Fields panel<br /> NEW Activity Stream admin panel</p> <p>Settings > BuddyPress > Components<br /> By default, all BuddyPress components are enabled. You can selectively disable any of the components by using the form. Your BuddyPress installation will continue to function. However, the features of the disabled components will no longer be accessible to anyone using the site</p> <p>Available Components<br /> Each component has a unique purpose, and your community may not need each one.</p> <p>Extended Profiles<br /> Customize your community with fully editable profile fields that allow your users to describe themselves.<br /> Account Settings<br /> Allow your users to modify their account and notification settings directly from within their profiles.<br /> Friend Connections<br /> Let your users make connections so they can track the activity of others and focus on the people they care about the most.<br /> Private Messaging<br /> Allow your users to talk to each other directly and in private. Not just limited to one-on-one discussions, messages can be sent between any number of members.<br /> Activity Streams<br /> Global, personal, and group activity streams with threaded commenting, direct posting, favoriting and @mentions, all with full RSS feed and email notification support.<br /> User Groups<br /> Groups allow your users to organize themselves into specific public, private or hidden sections with separate activity streams and member listings.<br /> Discussion Forums<br /> Full-powered discussion forums built directly into groups allow for more conventional in-depth conversations. NOTE: This will require an extra (but easy) setup step.<br /> Site Tracking<br /> Make BuddyPress aware of new posts and new comments from your site.<br /> N.B. 「Network mode」 is a feature of WordPress that needs to be manually enabled and configured first. Instructions for enabling this can be found on the WordPress codex WP Codex – Create A Network</p> <p>Required Components<br /> The following components are required by BuddyPress and cannot be turned off.</p> <p>BuddyPress Core: It『s what makes [time travel] BuddyPress possible!<br /> Community Members: Everything in a BuddyPress community revolves around its members.</p> <p>Settings > BuddyPress > Pages</p> <p>BuddyPress components are rendered as WordPress Pages in BuddyPress. You』ll recall that the above Pages were created and associated to respective BP components in Step 2 of the Installation Wizard.</p> <p>Directories<br /> Associate a WordPress Page with each BuddyPress component directory.</p> <p>Activity Streams<br /> Discussion Forums<br /> User Groups<br /> Members</p> <p>Registration<br /> Associate WordPress Pages with the following BuddyPress Registration pages.</p> <p>Register<br /> Activate</p> <p>Settings > BuddyPress > Settings</p> <p>Disable BuddyPress to WordPress profile syncing? (default: No)<br /> Hide admin bar for logged out users? (default: No)<br /> Disable avatar uploads? Gravatars will still work (default: No)<br /> Disable user account deletion? (default: No)<br /> Disable activity stream commenting on blog and forum posts? (default: No)<br /> Restrict group creation to Site Admins? (default: No)</p> <p>Settings > BuddyPress > Forums<br /> Three choices are available: Group Forums only, Sitewide Forums only, or Group and Sitewide Forums. Proceed to the illustrated step-by-step guide to set up both forums.</p> <p>Users > Profile Fields<br /> Your users will distinguish themselves through their profile page. You must give them profile fields that allow them to describe themselves in a way that is relevant to the theme of your social network.<br /> Note: Any fields in the first group will appear on the signup page.</p> <p>Arrange profile fields by drag and drop<br /> Move fields to different field groups by dragging onto tab<br /> Activity Stream Admin Panel</p> </div><!-- .entry-content --> <footer class="entry-footer"> <span class="posted-on"><span class="screen-reader-text">发布于 </span><a href="https://buddypress.wpwenku.com/document/configuring-components-v1-6" rel="bookmark"><time class="entry-date published" datetime="2021-12-25T06:19:23+08:00">2021 年 12 月 25 日</time><time class="updated" datetime="2021-12-31T14:06:01+08:00">2021 年 12 月 31 日</time></a></span><span class="comments-link"><a href="https://buddypress.wpwenku.com/document/configuring-components-v1-6#respond">Leave a comment</a></span> </footer><!-- .entry-footer --> </article><!-- #post-127 --> <article id="post-67" class="post-67 post type-post status-publish format-standard hentry category-document"> <header class="entry-header"> <h2 class="entry-title"><a href="https://buddypress.wpwenku.com/document/using-an-existing-bbpress-installation-for-your-buddypress-forums" rel="bookmark">为您的 BuddyPress 论坛使用现有的 bbPress 安装</a></h2> </header><!-- .entry-header --> <div class="entry-content"> <span class="screen-reader-text">为您的 BuddyPress 论坛使用现有的 bbPress 安装</span><p>Codex Home → Legacy Docs → Archived Section: Getting Started → Using an existing bbPress installation for your BuddyPress Forums<br /> Using an existing bbPress installation for your BuddyPress Forums</p> <p>Archived file. Good only up to BP 1.5 version</p> <p>***The following pertains to sites wanting to use an existing bbPress installation (v1.x) with BuddyPress***<br /> *** NOTE: This is a very rare scenario!  You will not need to follow this guide unless you are running a bbPress 1.x install on your site! ***<br /> If you choose to enable group forums on BuddyPress, you will have the option to 「Set up a new bbPress Installation」 or to 「Use an existing bbPress installation「.<br /> What does this mean necessarily?<br /> If you don』t have a standalone, existing version of bbPress 1.x installed somewhere, then all you have to do is click on 「Set up a new bbPress installation「. Stop reading this article! You』re done!<br /> Now, if you have an existing bbPress 1.x install, you have a choice to make.<br /> Set Up a New bbPress installation<br /> Pros</p> <p>Easy setup, no headaches</p> <p>Cons</p> <p>Creating a new set of bbPress tables in your database solely for BuddyPress forum usage. This means you』ll have two sets of bbPress tables.</p> <p>Use an existing bbPress installation<br /> Pros</p> <p>Use your existing bbPress install, maintain one set of bbPress tables</p> <p>Cons</p> <p>You will have duplicate forum posts: One on the BuddyPress side, the other on your standalone bbPress install<br /> By default, BuddyPress group forums and group forum posts, regardless of privacy setting, will be posted publicly on your existing bbPress installation (don』t worry though, if you still want to go ahead with this, a detailed tutorial to hide BuddyPress group forums from your existing bbPress install is listed right underneath)</p> <p>***Regardless of which choice you make, by default, there will be two entry points for forums. Your existing bbPress install URL and the BuddyPress global forums URL (eg. http://testbp.org/forums).***<br /> Still want to go ahead with using an existing installation? Go ahead and click on 「Use an existing bbPress installation」 and follow the steps.<br /> Then, implement the following to ensure your BuddyPress group forums are not publicly displayed on your existing bbPress install.<br /> 1) Change the forum slug in BuddyPress (optional)<br /> By default, BuddyPress forums can be accessed at:<br /> hxxp://example.com/forums/<br /> If your existing bbPress install is also installed in /forums/, you』ll want to rename BuddyPress』 forums slug to something else.<br /> You can do this by adding the following line in your wp-config.php:<br /> ?1define( 'BP_FORUMS_SLUG', 'group-forums' );<br /> In the example above, your BP forums can now be accessed at hxxp://example.com/group-forums/<br /> 2) Create a new forum category in standalone bbPress<br /> By default, BuddyPress will create new forums in your existing bbPress install under forum id #1 . We do not want to do this. So we』re going to create a new forum category to house these new BuddyPress forums.</p> <p>First, login to your existing bbPress admin area and click on 「Forums」.<br /> Next, scroll down and create a new forum category. You can call this forum category 「Group Forums」 or whatever you want! Under 「Make this forum a category」, ensure that this is checked.<br /> Note down the forum ID of the forum category you just created. (You can get the forum category ID by mousing over the 「Edit」 link and checking the 「id」 parameter.)</p> <p>3) Tell BuddyPress to use this new forum category<br /> In step #2, we created a new, forum category to house our BuddyPress group forums. Now we want to tell BuddyPress to use this new forum category.<br /> This can be done by adding the following define to wp-config.php:<br /> ?1define ( 'BP_FORUMS_PARENT_FORUM_ID', $forum_id );<br /> Change $forum_id to the forum ID from step #2. Now, all new BuddyPress group forums will be created in standalone bbPress under this new forum category.<br /> 3) Hide BuddyPress group forum data in standalone bbPress<br /> Now, the last issue we have is hiding all BuddyPress group forum related data from access and view on your existing bbPress installation.<br /> We』re going to be using _ck_』s Hidden Groups plugin to do this. Please install and activate the plugin on your existing bbPress install.<br /> Next:</p> <p>Open up the plugin (hidden-forums.php) in a text editor.<br /> Comment out this line:<br /> ?1$hidden_forums['hidden_forums']=array(500,501,502); // hide these forums, list by comma seperated number</p> <p>Underneath that line, add the following:<br /> ?12345678910$bp_hide_group_forum_category_id = $forum_id; $hidden_forums['hidden_forums']=array();$hidden_forums['hidden_forums'][] = $bp_hide_group_forum_category_id; $forums = get_forums();foreach ($forums as $forum) {    if ($forum->forum_parent == $bp_hide_group_forum_category_id)        $hidden_forums['hidden_forums'][] = $forum->forum_id;}</p> <p>Change the $bp_hide_group_forum_category_id variable to the forum category ID you noted down in step #2.<br /> —<br /> And that should be it! By default, the admin can view every single forum post on your bbPress install, so try viewing your bbPress install when you』re logged out!<br /> * Posted by r-a-y, July 16, 2010. This how-to was originally based on this forum post.</p> </div><!-- .entry-content --> <footer class="entry-footer"> <span class="posted-on"><span class="screen-reader-text">发布于 </span><a href="https://buddypress.wpwenku.com/document/using-an-existing-bbpress-installation-for-your-buddypress-forums" rel="bookmark"><time class="entry-date published" datetime="2021-12-25T06:19:22+08:00">2021 年 12 月 25 日</time><time class="updated" datetime="2021-12-31T14:06:01+08:00">2021 年 12 月 31 日</time></a></span><span class="comments-link"><a href="https://buddypress.wpwenku.com/document/using-an-existing-bbpress-installation-for-your-buddypress-forums#respond">Leave a comment</a></span> </footer><!-- .entry-footer --> </article><!-- #post-67 --> <nav class="navigation pagination" aria-label="文章"> <h2 class="screen-reader-text">文章导航</h2> <div class="nav-links"><a class="prev page-numbers" href="https://buddypress.wpwenku.com/author/feibisi/page/16">上一页</a> <a class="page-numbers" href="https://buddypress.wpwenku.com/author/feibisi/"><span class="meta-nav screen-reader-text">页 </span>1</a> <span class="page-numbers dots">…</span> <a class="page-numbers" href="https://buddypress.wpwenku.com/author/feibisi/page/16"><span class="meta-nav screen-reader-text">页 </span>16</a> <span aria-current="page" class="page-numbers current"><span class="meta-nav screen-reader-text">页 </span>17</span> <a class="page-numbers" href="https://buddypress.wpwenku.com/author/feibisi/page/18"><span class="meta-nav screen-reader-text">页 </span>18</a> <span class="page-numbers dots">…</span> <a class="page-numbers" href="https://buddypress.wpwenku.com/author/feibisi/page/25"><span class="meta-nav screen-reader-text">页 </span>25</a> <a class="next page-numbers" href="https://buddypress.wpwenku.com/author/feibisi/page/18">下一页</a></div> </nav> </main><!-- .site-main --> </section><!-- .content-area --> </div><!-- .site-content --> <footer id="colophon" class="site-footer" role="contentinfo"> <div class="site-info"> <p class="copyright">Copyright © 2024 <a href="https://buddypress.wpwenku.com">BuddyPress 文档</a>, All Rights Reserved. 自豪地采用文派。</p> </div><!-- .site-info --> </footer><!-- .site-footer --> </div><!-- .site --> <!--<p style="font-size:20px;color:red;">WP Chinese Switcher Plugin Debug Output: <br />默认 URL: <a href="https://buddypress.wpwenku.com/author/feibisi/page/17">https://buddypress.wpwenku.com/author/feibisi/page/17</a><br />当前语言 (空则是不转换): <br />Query String: <br />Request URI: /author/feibisi/page/17<br />zh-tw URL: <a href="https://buddypress.wpwenku.com/zh-tw/author/feibisi/page/17">https://buddypress.wpwenku.com/zh-tw/author/feibisi/page/17</a><br />zh-hk URL: <a href="https://buddypress.wpwenku.com/zh-hk/author/feibisi/page/17">https://buddypress.wpwenku.com/zh-hk/author/feibisi/page/17</a><br />Category feed link: https://buddypress.wpwenku.com/category/document/feed<br />Search feed link: https://buddypress.wpwenku.com/search/test/feed/rss2/Rewrite Rules: <br />array (<br /> '(zh-tw|zh-hk|zh|zh-reset)/^wp-json/?$' => 'index.php?rest_route=/&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/^index.php/wp-json/?$' => 'index.php?rest_route=/&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/category/(.+?)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/category/(.+?)/embed/?$' => 'index.php?category_name=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/category/(.+?)/page/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[2]&paged=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/category/(.+?)/?$' => 'index.php?category_name=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?tag=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?tag=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/tag/([^/]+)/embed/?$' => 'index.php?tag=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/tag/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?tag=$matches[2]&paged=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/tag/([^/]+)/?$' => 'index.php?tag=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?post_format=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?post_format=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/type/([^/]+)/embed/?$' => 'index.php?post_format=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/type/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?post_format=$matches[2]&paged=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/type/([^/]+)/?$' => 'index.php?post_format=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?&feed=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?&feed=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/embed/?$' => 'index.php?&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/page/?([0-9]{1,})/?$' => 'index.php?&paged=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/comment-page-([0-9]{1,})/?$' => 'index.php?&page_id=2&cpage=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/comments/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?&feed=$matches[2]&withcomments=1&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/comments/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?&feed=$matches[2]&withcomments=1&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/comments/embed/?$' => 'index.php?&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?s=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/search/(.+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?s=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/search/(.+)/embed/?$' => 'index.php?s=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/search/(.+)/page/?([0-9]{1,})/?$' => 'index.php?s=$matches[2]&paged=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/search/(.+)/?$' => 'index.php?s=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?author_name=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?author_name=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/author/([^/]+)/embed/?$' => 'index.php?author_name=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/author/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?author_name=$matches[2]&paged=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/author/([^/]+)/?$' => 'index.php?author_name=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&day=$matches[4]&feed=$matches[5]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&day=$matches[4]&feed=$matches[5]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/embed/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&day=$matches[4]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&day=$matches[4]&paged=$matches[5]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&day=$matches[4]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&feed=$matches[4]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&feed=$matches[4]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/embed/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&paged=$matches[4]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/([0-9]{1,2})/?$' => 'index.php?year=$matches[2]&monthnum=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/embed/?$' => 'index.php?year=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/page/?([0-9]{1,})/?$' => 'index.php?year=$matches[2]&paged=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/([0-9]{4})/?$' => 'index.php?year=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.?.+?/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[2]&cpage=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.?.+?/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.?.+?)/embed/?$' => 'index.php?pagename=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?pagename=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.?.+?)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?pagename=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.?.+?)/page/?([0-9]{1,})/?$' => 'index.php?pagename=$matches[2]&paged=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.?.+?)/comment-page-([0-9]{1,})/?$' => 'index.php?pagename=$matches[2]&cpage=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.?.+?)(?:/([0-9]+))?/?$' => 'index.php?pagename=$matches[2]&page=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[2]&cpage=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/([^/]+)/embed/?$' => 'index.php?category_name=$matches[2]&name=$matches[3]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[2]&name=$matches[3]&feed=$matches[4]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[2]&name=$matches[3]&feed=$matches[4]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[2]&name=$matches[3]&paged=$matches[4]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?category_name=$matches[2]&name=$matches[3]&cpage=$matches[4]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/([^/]+)(?:/([0-9]+))?/?$' => 'index.php?category_name=$matches[2]&name=$matches[3]&page=$matches[4]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/([^/]+)/?$' => 'index.php?attachment=$matches[2]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[2]&cpage=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/.+?/[^/]+/([^/]+)/embed/?$' => 'index.php?attachment=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[2]&feed=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/embed/?$' => 'index.php?category_name=$matches[2]&embed=true&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/page/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[2]&paged=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/comment-page-([0-9]{1,})/?$' => 'index.php?category_name=$matches[2]&cpage=$matches[3]&variant=$matches[1]',<br /> '(zh-tw|zh-hk|zh|zh-reset)/(.+?)/?$' => 'index.php?category_name=$matches[2]&variant=$matches[1]',<br /> '^(zh-tw|zh-hk|zh|zh-reset)/?$' => 'index.php?variant=$matches[1]',<br /> 'sitemap_index\\.xml$' => 'index.php?sitemap=1',<br /> '([^/]+?)-sitemap([0-9]+)?\\.xml$' => 'index.php?sitemap=$matches[1]&sitemap_n=$matches[2]',<br /> '([a-z]+)?-?sitemap\\.xsl$' => 'index.php?yoast-sitemap-xsl=$matches[1]',<br /> '^wp-json/?$' => 'index.php?rest_route=/',<br /> '^wp-json/(.*)?' => 'index.php?rest_route=/$matches[1]',<br /> '^index.php/wp-json/?$' => 'index.php?rest_route=/',<br /> '^index.php/wp-json/(.*)?' => 'index.php?rest_route=/$matches[1]',<br /> '^wp-sitemap\\.xml$' => 'index.php?sitemap=index',<br /> '^wp-sitemap\\.xsl$' => 'index.php?sitemap-stylesheet=sitemap',<br /> '^wp-sitemap-index\\.xsl$' => 'index.php?sitemap-stylesheet=index',<br /> '^wp-sitemap-([a-z]+?)-([a-z\\d_-]+?)-(\\d+?)\\.xml$' => 'index.php?sitemap=$matches[1]&sitemap-subtype=$matches[2]&paged=$matches[3]',<br /> '^wp-sitemap-([a-z]+?)-(\\d+?)\\.xml$' => 'index.php?sitemap=$matches[1]&paged=$matches[2]',<br /> '^(zh-tw|zh-cn|zh-hk|zh-sg|zh-hans|zh-hant)/sitemap\\.xml$' => 'index.php?lang=$matches[1]',<br /> 'category/(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[1]&feed=$matches[2]',<br /> 'category/(.+?)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[1]&feed=$matches[2]',<br /> 'category/(.+?)/embed/?$' => 'index.php?category_name=$matches[1]&embed=true',<br /> 'category/(.+?)/page/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&paged=$matches[2]',<br /> 'category/(.+?)/?$' => 'index.php?category_name=$matches[1]',<br /> 'tag/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?tag=$matches[1]&feed=$matches[2]',<br /> 'tag/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?tag=$matches[1]&feed=$matches[2]',<br /> 'tag/([^/]+)/embed/?$' => 'index.php?tag=$matches[1]&embed=true',<br /> 'tag/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?tag=$matches[1]&paged=$matches[2]',<br /> 'tag/([^/]+)/?$' => 'index.php?tag=$matches[1]',<br /> 'type/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?post_format=$matches[1]&feed=$matches[2]',<br /> 'type/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?post_format=$matches[1]&feed=$matches[2]',<br /> 'type/([^/]+)/embed/?$' => 'index.php?post_format=$matches[1]&embed=true',<br /> 'type/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?post_format=$matches[1]&paged=$matches[2]',<br /> 'type/([^/]+)/?$' => 'index.php?post_format=$matches[1]',<br /> 'robots\\.txt$' => 'index.php?robots=1',<br /> 'favicon\\.ico$' => 'index.php?favicon=1',<br /> '.*wp-(atom|rdf|rss|rss2|feed|commentsrss2)\\.php$' => 'index.php?feed=old',<br /> '.*wp-app\\.php(/.*)?$' => 'index.php?error=403',<br /> '.*wp-register.php$' => 'index.php?register=true',<br /> 'feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?&feed=$matches[1]',<br /> '(feed|rdf|rss|rss2|atom)/?$' => 'index.php?&feed=$matches[1]',<br /> 'embed/?$' => 'index.php?&embed=true',<br /> 'page/?([0-9]{1,})/?$' => 'index.php?&paged=$matches[1]',<br /> 'comment-page-([0-9]{1,})/?$' => 'index.php?&page_id=2&cpage=$matches[1]',<br /> 'comments/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?&feed=$matches[1]&withcomments=1',<br /> 'comments/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?&feed=$matches[1]&withcomments=1',<br /> 'comments/embed/?$' => 'index.php?&embed=true',<br /> 'search/(.+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?s=$matches[1]&feed=$matches[2]',<br /> 'search/(.+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?s=$matches[1]&feed=$matches[2]',<br /> 'search/(.+)/embed/?$' => 'index.php?s=$matches[1]&embed=true',<br /> 'search/(.+)/page/?([0-9]{1,})/?$' => 'index.php?s=$matches[1]&paged=$matches[2]',<br /> 'search/(.+)/?$' => 'index.php?s=$matches[1]',<br /> 'author/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?author_name=$matches[1]&feed=$matches[2]',<br /> 'author/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?author_name=$matches[1]&feed=$matches[2]',<br /> 'author/([^/]+)/embed/?$' => 'index.php?author_name=$matches[1]&embed=true',<br /> 'author/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?author_name=$matches[1]&paged=$matches[2]',<br /> 'author/([^/]+)/?$' => 'index.php?author_name=$matches[1]',<br /> '([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]',<br /> '([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&feed=$matches[4]',<br /> '([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/embed/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&embed=true',<br /> '([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/page/?([0-9]{1,})/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]&paged=$matches[4]',<br /> '([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&day=$matches[3]',<br /> '([0-9]{4})/([0-9]{1,2})/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]',<br /> '([0-9]{4})/([0-9]{1,2})/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&feed=$matches[3]',<br /> '([0-9]{4})/([0-9]{1,2})/embed/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&embed=true',<br /> '([0-9]{4})/([0-9]{1,2})/page/?([0-9]{1,})/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]&paged=$matches[3]',<br /> '([0-9]{4})/([0-9]{1,2})/?$' => 'index.php?year=$matches[1]&monthnum=$matches[2]',<br /> '([0-9]{4})/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[1]&feed=$matches[2]',<br /> '([0-9]{4})/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?year=$matches[1]&feed=$matches[2]',<br /> '([0-9]{4})/embed/?$' => 'index.php?year=$matches[1]&embed=true',<br /> '([0-9]{4})/page/?([0-9]{1,})/?$' => 'index.php?year=$matches[1]&paged=$matches[2]',<br /> '([0-9]{4})/?$' => 'index.php?year=$matches[1]',<br /> '.?.+?/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[1]',<br /> '.?.+?/attachment/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',<br /> '.?.+?/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',<br /> '.?.+?/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',<br /> '.?.+?/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',<br /> '.?.+?/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',<br /> '(.?.+?)/embed/?$' => 'index.php?pagename=$matches[1]&embed=true',<br /> '(.?.+?)/trackback/?$' => 'index.php?pagename=$matches[1]&tb=1',<br /> '(.?.+?)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?pagename=$matches[1]&feed=$matches[2]',<br /> '(.?.+?)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?pagename=$matches[1]&feed=$matches[2]',<br /> '(.?.+?)/page/?([0-9]{1,})/?$' => 'index.php?pagename=$matches[1]&paged=$matches[2]',<br /> '(.?.+?)/comment-page-([0-9]{1,})/?$' => 'index.php?pagename=$matches[1]&cpage=$matches[2]',<br /> '(.?.+?)(?:/([0-9]+))?/?$' => 'index.php?pagename=$matches[1]&page=$matches[2]',<br /> '.+?/[^/]+/attachment/([^/]+)/?$' => 'index.php?attachment=$matches[1]',<br /> '.+?/[^/]+/attachment/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',<br /> '.+?/[^/]+/attachment/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',<br /> '.+?/[^/]+/attachment/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',<br /> '.+?/[^/]+/attachment/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',<br /> '.+?/[^/]+/attachment/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',<br /> '(.+?)/([^/]+)/embed/?$' => 'index.php?category_name=$matches[1]&name=$matches[2]&embed=true',<br /> '(.+?)/([^/]+)/trackback/?$' => 'index.php?category_name=$matches[1]&name=$matches[2]&tb=1',<br /> '(.+?)/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]',<br /> '(.+?)/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[1]&name=$matches[2]&feed=$matches[3]',<br /> '(.+?)/([^/]+)/page/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&name=$matches[2]&paged=$matches[3]',<br /> '(.+?)/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&name=$matches[2]&cpage=$matches[3]',<br /> '(.+?)/([^/]+)(?:/([0-9]+))?/?$' => 'index.php?category_name=$matches[1]&name=$matches[2]&page=$matches[3]',<br /> '.+?/[^/]+/([^/]+)/?$' => 'index.php?attachment=$matches[1]',<br /> '.+?/[^/]+/([^/]+)/trackback/?$' => 'index.php?attachment=$matches[1]&tb=1',<br /> '.+?/[^/]+/([^/]+)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',<br /> '.+?/[^/]+/([^/]+)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?attachment=$matches[1]&feed=$matches[2]',<br /> '.+?/[^/]+/([^/]+)/comment-page-([0-9]{1,})/?$' => 'index.php?attachment=$matches[1]&cpage=$matches[2]',<br /> '.+?/[^/]+/([^/]+)/embed/?$' => 'index.php?attachment=$matches[1]&embed=true',<br /> '(.+?)/feed/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[1]&feed=$matches[2]',<br /> '(.+?)/(feed|rdf|rss|rss2|atom)/?$' => 'index.php?category_name=$matches[1]&feed=$matches[2]',<br /> '(.+?)/embed/?$' => 'index.php?category_name=$matches[1]&embed=true',<br /> '(.+?)/page/?([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&paged=$matches[2]',<br /> '(.+?)/comment-page-([0-9]{1,})/?$' => 'index.php?category_name=$matches[1]&cpage=$matches[2]',<br /> '(.+?)/?$' => 'index.php?category_name=$matches[1]',<br /> )<br />Debug Data: <br />array (<br /> )</p>--> </body> </html> <!-- Dynamic page generated in 0.257 seconds. --> <!-- Cached page generated by WP-Super-Cache on 2024-11-24 22:48:30 --> <!-- super cache --> <!-- plugin=object-cache-pro client=phpredis metric#hits=2981 metric#misses=67 metric#hit-ratio=97.8 metric#bytes=2385070 metric#prefetches=9 metric#store-reads=129 metric#store-writes=32 metric#store-hits=257 metric#store-misses=61 metric#sql-queries=32 metric#ms-total=271.22 metric#ms-cache=10.78 metric#ms-cache-avg=0.0674 metric#ms-cache-ratio=4.0 -->