Showing Latest Ads In Slider Instead Of Featured Ads
Hello,
Currently I am not using featured ads and would like to show the latest ads in the slider instead and control how many of the latest ads which will be shown.
I know this has been discussed and in
this thread junnydc writes the following:
Originally Posted by
junnydc
open featured.php
look for this line
<?php query_posts( array('post__in' => get_option('sticky_posts'), 'post_type' => APP_POST_TYPE, 'post_status' => 'publish', 'orderby' => 'rand') ); ?>
and change to this
<?php query_posts( array( 'post_type' => APP_POST_TYPE, 'post_status' => 'publish','ignore_sticky_posts' => 1,'posts_per_page' => 5) ); ?>
5 means you're showing the 5 latest ads. Just change this to your desired X records to display.
I can't find this in my featured.php, where do I find it? I would like to change the behaviour just as explained above.