<?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, 'ignore_sticky_posts' => 1, 'paged' => $paged ) ); $total_pages = max( 1, absint( $wp_query->max_num_pages ) ); ?>
There are currently 1 users browsing this thread. (0 members and 1 guests)