Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $args = array(
- 'posts_per_page' => -1,
- 'post_type' => 'advanced_ads',
- );
- $the_query = new WP_Query( $args );
- ?>
- <?php if ($the_query->have_posts()) :
- $i = 1;
- while ($the_query->have_posts()) : the_post();
- // my other logic
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement