• My website:
    https://trileafdesigns.com/calendar/

    The Index Pastebin
    https://pastebin.com/4CK0wrRZ

    I’ve been researching paging for awhile now. It just seems though no matter what I try it will either crash the page or limit the number of posts on the page.

    What I’m trying to do it limit the number of posts on the page but also have paging going on at the bottom. I’m able to get paging to work when you search something (ex: “environment”) but when I try to use that – it puts the “paging” at the bottom but when you click on it none of the posts change. The query will change (ex: say page 2, page 3, etc.) but the posts stay the same.

    Was wondering if anyone here could help me.

    Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Seems to be working now, at least on the ‘Random Madness’ page. Did you get it fixed? If so, care to share the fix?

    Thread Starter trileafdesigns

    (@trileafdesigns)

    The paging now works but I can’t limit the number of posts. It’s just on default paging right now but I only want to show like 5 posts per page.

    Did you change it Settings Reading

    I wonder if the code below from your pastebin post is really doing what you want:

    if ($myOptions['ticker_posts']) {
    $posts = $myOptions['ticker_posts'];
    } else {
    $posts = 0;
    }

    What is the value of zero for $posts supposed to do? Default to the number in Settings->Reading? If so, maybe the ‘ticker_posts’ option is not set or spelled differently and you are always getting zero.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Index Paging’ is closed to new replies.