WordPress.org

Support

Support » How-To and Troubleshooting » How to combine this query_post

How to combine this query_post

  • Hello everybody. I would like include this query post in my wordpress:

    <?php
    if ( is_home() ) {
    query_posts( ‘cat=-1,-3,-4,-5,-6,-7,-8’ );
    }
    ?>

    also with this string: posts_per_page=3

    How can I do?

    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to combine this query_post’ is closed to new replies.
Skip to toolbar