• Resolved matttail

    (@matttail)


    I’m wondering if it’s possible to, in my template, call a specific entry and then on the same page call a specific category?

    For the main page of my site I’d like to have a welcome post and then after that show posts from the news category. I tried

    <?php
    // retrieve welcome entry
    query_posts('p=3');
    query_posts('cat=6');
    ?>

    but that only shows the category and does some funky things to my layout. Any help is appreciated.

    -Matt

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Query posts’ is closed to new replies.