Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
WordPress: Change pagination_base
* Setzt die Seitenbasis für die Permalinkgenerierung auf /seite/ (Standard: /page/).
* @author Dominik Schilling
* @license GPLv2
* @link
* @version 0.1
function ds_set_pagination_base() {
global $wp_rewrite;
$wp_rewrite->pagination_base = 'seite';
add_action( 'init', 'ds_set_pagination_base' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment