Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: here’s how to add front page pagination (page numbers)

@_ck_

Participant

Also, if you’d like to dynamically add some text to the left (or even the right) of the page links without hacking all your templates, you can use this trick:

// add "pages:" to page links
function text_topic_pages( $text ) { if ($text) {$text="pages: ".$text;} return $text; }
add_filter('topic_pages', 'text_topic_pages');
add_filter('forum_pages', 'text_topic_pages');

This way the word “pages:” appears before the page number links only if there actually are any pages for the results.

Skip to toolbar