Info
- 15 posts
- 7 voices
- Started 2 years ago by unholyfruitbat
- Latest reply from buddha trance
- This topic is resolved
How do you paginate posts?
-
- Posted 2 years ago #
Much like this forum has where it shows a second page if a topic has over X amount of posts? I tried the topics per page paginating plugin but it doesn't seem to work as I need or maybe the theme I'm using is killing it?
Thanks
-
- Posted 2 years ago #
post pagination is built in, just go into Admin > Settings > Reading
-
- Posted 2 years ago #
Sorry, I'm posing the question improperly. Paging occurs after clicking the thread but from the front page nothing is being paginated.
-
- Posted 2 years ago #
Do you have enough posts on your front page to induce paging?
-
- Posted 2 years ago #
Tons, http://dallashardcore.com/forum
Is it some sort of theme issue?
-
- Posted 2 years ago #
I see pagination links on your front page, and the work just fine. I don't see a problem here.
-
- Posted 2 years ago #
Ah I think maybe unholyfruitbad is asking about those little page icons that show up on the frontpage... when a topic has more than ___ posts?
If so - if you're on 0.9.x, try this "Page links for bbPress" plugin:
http://bbpress.org/plugins/topic/page-links-for-bbpress/Otherwise if you're on 1.0+, it's already built into the core! If it's not showing up, maybe there's a setting... or try changing your theme to Kakumei, and see if it shows up then?
-
- Posted 2 years ago #
johnhiler, you're dead on. in Kakumei it shows up... Now I have to try to figure out why it's not working in this theme.
-
- Posted 2 years ago #
unholyfruitbat - Glad that we narrowed it down. :-) Do you have a program to compare two text files? I use Beyond Compare and love it:
http://www.scootersoftware.com/download.phpYou could use that to compare theme pages like front-page.php... and see what differences there are in your theme codes.
-
- Posted 2 years ago #
Having the same issue. will look over Kakumei when i get a chance tomorrow but if you find the code before then please do share :)
thanks!
-
- Posted 2 years ago #
OKTeaRoom, I've figured out how to get it *mostly* working from copying the stickies and topics view code from the kakumei theme but the actual numbers that display for pagination are ugly which is probably due to some lacking CSS code. I haven't determined what that code is yet but when I do I'll reply.
Coming from a sys engineering background to work with more web stuff so this is interesting :D
-
- Posted 2 years ago #
I never figured this out. Can anyone point me to where the code is in kakumei? thanks in advance.
-
- Posted 2 years ago #
http://trac.bbpress.org/browser/trunk/bb-templates/kakumei/front-page.php?rev=2362#L36
To save you some time, the code is
<?php topic_page_links(); ?> -
- Posted 2 years ago #
I love you Ben L. Mark this bad-boy resolved.
-
- Posted 2 years ago #
Interesting, I never looked into this before (due to the higher number in my settings), now that I tested it it looks like one can only have one setting for both the topics in the front page and the actual posts in a topic. Wondering if it's possible to have them set differently... For example, if the posts are long bodies of text, one may want to show only 10 posts per page, but 25 topics listed on the front page, so the layout doesn't look too short...
-
You must log in to post.