Skip to:
Content
Pages
Categories
Search
Top
Bottom

Page links

  • 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.

Viewing 1 replies (of 1 total)

  • chrishajer
    Participant

    @chrishajer

    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.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar