• Resolved auxano

    (@auxano)


    Site in question: https://auxanocreative.com/pat/columns/

    I’m using the following code to display the posts for this category on this page only:

    <?php
    $page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
    query_posts(“cat=5&paged=$page”);

    global $more;
    // set $more to 0 in order to only get the first part of the post
    $more = 0;
    ?>

    I’m using something similar to show posts in a single category on “The Dog” Journal page as well.

    I want to show only ONE post on the Columns page and I want to show up to 10 posts on “The Dog” Journal page.

    Is it possible to add something to the above code to specify how many posts will show up on the page?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Number of blog posts showing for a single category’ is closed to new replies.