How to show all featured ads in the featured slider from a specific category only?
Hi, I am trying to show all featured ads in the featured slider from the category I have called 'Trade Sellers' with a cat_id of 76.
I don't want any featured ads from any other category showing at all. In the featured.php file I am trying to write this code as:
<?php query_posts( array ('ad_cat' => 'trade-sellers', 'post__in' => get_option('sticky_posts'), 'post_type' => APP_POST_TYPE, 'post_status' => 'publish', 'orderby' => 'rand') ); ?>
Am I doing this correctly or am I missing something ?