Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do you paginate posts?

  • @unholyfruitbat

    Member

    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

Viewing 14 replies - 1 through 14 (of 14 total)
  • @tomdebruin

    Participant

    post pagination is built in, just go into Admin > Settings > Reading

    @unholyfruitbat

    Member

    Sorry, I’m posing the question improperly. Paging occurs after clicking the thread but from the front page nothing is being paginated.

    @ipstenu

    Moderator

    Do you have enough posts on your front page to induce paging?

    @unholyfruitbat

    Member

    Tons, http://dallashardcore.com/forum

    Is it some sort of theme issue?

    @ipstenu

    Moderator

    I see pagination links on your front page, and the work just fine. I don’t see a problem here.

    @johnhiler

    Member

    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:

    https://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?

    @unholyfruitbat

    Member

    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.

    @johnhiler

    Member

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

    You could use that to compare theme pages like front-page.php… and see what differences there are in your theme codes.

    @oktearoom

    Member

    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!

    @unholyfruitbat

    Member

    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

    @oktearoom

    Member

    I never figured this out. Can anyone point me to where the code is in kakumei? thanks in advance.

    @nightgunner5

    Member

    https://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(); ?>

    @oktearoom

    Member

    I love you Ben L. Mark this bad-boy resolved.

    @buddha-trance

    Member

    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…

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