Info
- 2 posts
- 2 voices
- Started 1 year ago by Vect
- Latest reply from chrishajer
- This topic is not resolved
Page links
-
- Posted 1 year ago #
Hello. I want to do in my plugin that page links would be /page/2/ , /page/3/. By default it is /page/2 , /page/3 . I have this code in my plugin:
function my_get_topic_page_links_filter( $_links ) {
$_links = bb_paginate_links(
array(
'format' => bb_get_option('mod_rewrite') ? '/page/%#%/' : '%#%/',
)
);
return $_links;
}
add_filter( 'get_topic_page_links', 'my_get_topic_page_links_filter' );
But it is not work properly. What I'm doing wrong? Please help.
-
- Posted 1 year ago #
Vect, this was caught by Akismet as spam. There were one or two others as well, probably caught because of no recent history, russian (?) website link in profile and lots of code.
UPDATE: I deleted the other topic because it was a duplicate of this one.
-
You must log in to post.