Next page on “latest discussions?”
-
Hi,
I’m trying to figure out how to add a “next page” to the latest discussions. I have a lot of different forums but want people to see all the content aggregated on the “latest” section because it captures all the topics.
So is there a way to put in a “next page” link on the front page and subsequent pages? I’m not great with php, but if it takes some coding, I could probably manage if someone can give me directions. If it works out, I’ll probably make it into a plugin for everyone.
Thanks!
-
I don’t know of anything for adding page links for the latest discussions, but there is this plugin for changing the number of items being displayed. Maybe that will help?
Thanks, but there will eventually be hundreds of posts and it’s just ridiculous to show 1000 posts on one page.
Any other ideas?
Latest discussions on the front page is meant for latest discussions… so paging has never been a possibility there.
Forum pages do provide paging of topics though.
Yes, I realize. So how do I make it a possibility?
I’ve added the ability to do this to the development trunk. If you want to backport this to an older bbPress, you can follow the changes here:
https://trac.bbpress.org/changeset/1786
Then drop the function
<?php bb_latest_topics_pages(); ?>wherever you want it in the front-page template to show pagination.What i do in the current stable version is to register a new view called all discussions. It works pretty neat.
thanks everyone, ill try it out
- You must be logged in to reply to this topic.