Skip to:
Content
Pages
Categories
Search
Top
Bottom

Pagination Latest Discussions

  • Is it possible to use pagination on the Latest Discussions on the front page?

    I want users to be able to go to the last page of a long thread.

Viewing 2 replies - 1 through 2 (of 2 total)
  • @_ck_

    Participant

    Well you’re asking two different things but the answer to both is yes with some code changes to your templates.

    You can get the last poster for any topic in the list via this:

    <?php echo '<a href="'.get_topic_last_post_link().'">'.get_topic_last_poster().'</a>'; ?>

    but there is also a plugin that I believe will change the last poster’s name into a link too. So either way.

    You might be able to paginate the lastest discussions by putting this at the bottom of latest discussions outside the loop:

    <?php forum_pages(); ?>

    However it’s a 50/50 chance it won’t work.

    Or you can use the “My Views” plugin which will give you a paginated Latest Discussion view that you can link to.

    example:

    http://bbshowcase.org/forums/view/latest-discussions

    plugin:

    https://bbpress.org/plugins/topic/my-views/

    @ganzua

    Member

    What function of myviews plugin do you need to put in front-page.php to have a paginated list of the latest topics?

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