/ Published in: PHP
Rewrite "page" to "p" so /page/10 becomes /p/10
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function custom_pagination_base() { global $wp_rewrite; $wp_rewrite->pagination_base = 'p'; $wp_rewrite->flush_rules(); } add_action('init', 'custom_pagination_base', 1);