Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!-- Latest Works -->
- <?php
- $posts = new WP_Query(array(
- 'post_type' => 'pixeline_product',
- 'posts_per_page' => 3
- ));
- if( $posts ) :
- ?>
- <section class="horiz-container">
- <div class="content-wrapper"><?
- pixeline_list_of_posts($posts ,'recent-works', 'Recent works.');
- ?>
- </div>
- </section>
- <?php endif; ?>
- <?php wp_reset_query(); ?>
- <!-- Latest Posts -->
- <?php
- $posts = new WP_Query(array(
- 'post_type' => 'post',
- 'category'=>122,
- 'posts_per_page' => 5,
- 'numberposts'=>5
- ));
- ?>
- <?php if( $posts ) :
- ?>
- <section class="horiz-container">
- <div class="content-wrapper"><?
- pixeline_list_of_posts($posts , 'chitchat', 'chitchat.');
- ?>
- </div>
- </section>
- <?php endif; ?>
- <?php wp_reset_query(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement