Support » Theme: Vantage » Exclude pages in Post Loop Widget (PB)

  • Layla

    (@sorayav)


    Hi.

    First of all, wonderful theme. I’m first trying their possibilities but will most likely to buy the upgraded version 🙂 looks worth it.

    Now, the question. I’m trying to add a carousel slider on frontpage with some pages, and I wanted to exclude a few of those pages. I added this in “Additional”, but it’s not working:

    <?php $args=array( ‘post__not_in’ => array(8,11,31,53,64,76), ‘post_type’ => ‘page’, ‘post_status’ => ‘publish’); query_posts($args); ?>

    Is it possible to exclude pages, and how?

    Thank you!!

  • The topic ‘Exclude pages in Post Loop Widget (PB)’ is closed to new replies.