Featured Tab on Home Page ver. 3.3.1
I am trying to add a tab to the homepage that includes ONLY Featured (Sticky) ads.. I've got the tag setup and I've tried a bunch of permutations that seemed to make sense for me but haven't yet been able to get this to work. I've seen tutorials for previous versions only.
If I want Tab #1 to be just featured ads what do I need to change in this code for (tpl-ads-home.php) ?
<!-- tab 1 -->
<div id="block1">
<div class="clr"></div>
<div class="undertab"><span class="big"><?php _e( 'Classified Ads', APP_TD ); ?> / <strong><span class="colour"><?php _e( 'Featured Ads', APP_TD ); ?></span></strong></span></div>
<?php
// show all ads but make sure the sticky featured ads don't show up first
$paged = ( get_query_var('paged') ) ? get_query_var('paged') : 1;
query_posts( array( 'post_type' => APP_POST_TYPE, 'igonore_sticky_posts' => 1, 'paged' => $paged ) );
$total_pages = max( 1, absint( $wp_query->max_num_pages ) );
?>
<?php get_template_part( 'loop', 'ad_listing' ); ?>
<?php
if ( $total_pages > 1 ) {
?>
<div class="paging"><a href="<?php echo $post_type_url; ?>"> <?php _e( 'View More Ads', APP_TD ); ?> </a></div>
<?php } ?>
</div><!-- /block1 -->