Created
May 29, 2015 19:40
-
-
Save mehedicsit/70358fa532d91b5fef20 to your computer and use it in GitHub Desktop.
wp custom register post type calling
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <section id="content"> | |
| <?php $image_gallery=new WP_Query( | |
| array( | |
| 'post_type'=>'zBoom_gallery', | |
| 'posts_per_page'=>20, | |
| )); ?> | |
| <div class="wrap-content zerogrid"> | |
| <div class="row block03"> | |
| <?php while($image_gallery->have_posts()):$image_gallery->the_post() ?> | |
| <div class="col-1-4"> | |
| <div class="wrap-col"> | |
| <article> | |
| <?php the_post_thumbnail(); ?> | |
| <h2><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2> | |
| </article> | |
| </div> | |
| </div> | |
| <?php endwhile; ?> | |
| </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment