Forums

Join
bbPress Support ForumsPluginsPage links

Info

Page links

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

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

  3. You must log in to post.