• Resolved Sandra

    (@sandracwalsh)


    Hello –

    I would like to limit the posts in my header section by 2 parameters – category and number of posts shown.

    <?php query_posts(‘cat=1’);?>

    <?php query_posts(‘showposts=1’);?>

    Is there a way to combine these?

    Many thanks
    sandra

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘2 parameters for query_posts’ is closed to new replies.