[wp-trac] [WordPress Trac] #28405: Twenty Fourteen - hardcoded pagination base
WordPress Trac
noreply at wordpress.org
Fri May 30 12:15:57 UTC 2014
#28405: Twenty Fourteen - hardcoded pagination base
---------------------------+-----------------------------
Reporter: pavelevap | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Bundled Theme | Version: trunk
Severity: normal | Keywords:
Focuses: |
---------------------------+-----------------------------
Twenty Fourteen does not support custom pagination base in
twentyfourteen_paging_nav().
I tried following example, but links show "page" (and do not work):
{{{
function custom_pagination_base() {
global $wp_rewrite;
$wp_rewrite->pagination_base = 'stranka';
}
add_action( 'init', 'custom_pagination_base' );
}}}
I know I can change twentyfourteen_paging_nav() in child theme, but some
users had problem with it (for example using simle plugin for custom
permalinks in localized versions).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/28405>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list