Info
- 8 posts
- 4 voices
- Started 3 years ago by geltoorch
- Latest reply from geltoorch
- This topic is not resolved
Next page on "latest discussions?"
-
- Posted 3 years ago #
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!
-
- Posted 3 years ago #
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?
http://bbpress.org/plugins/topic/front-page-topics/page/2/ -
- Posted 3 years ago #
Thanks, but there will eventually be hundreds of posts and it's just ridiculous to show 1000 posts on one page.
Any other ideas?
-
- Posted 3 years ago #
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.
-
- Posted 3 years ago #
Yes, I realize. So how do I make it a possibility?
-
- Posted 3 years ago #
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:
http://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. -
- Posted 3 years ago #
What i do in the current stable version is to register a new view called all discussions. It works pretty neat.
-
- Posted 3 years ago #
thanks everyone, ill try it out
-
You must log in to post.