Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End page navigation with query_post in wordpress

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29507
    justinmyoung
    Member

    I have a template page dedicated to a specific category of posts, and I’m trying to offer page navigation within this page – but it’s not working :? I’m using WP-PageNavi. Here’s what my code looks like:

    I want to show 5 posts or so on a page, then offer navigation at the bottom. Any ideas what I’m doing wrong here?

    Thanks!

    #81467
    evalauren
    Member

    Try this <?php query_posts(‘cat=5&showposts=5&paged=’ . $paged); ?> or <?php query_posts("cat=5&showposts=5&paged=$paged"); ?> may this helps you to solve out your problem .

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.