<?php query_posts( array( 'post_type' => 'custom_type','showposts''posts_per_page' => 20 ) ); ?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
<div class="col-md-3 clearfix"><div class="row"><article id="post-<?php the_ID(); ?>" <?php post_class( 'clearfix' ); ?> role="article">
<?php // end article header ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
<section class="entry-content" style="text-align:center;padding:20px;">
<div class="thumcap2"><?php if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
the_post_thumbnail(thumbnail);
}
?></a><a href="<?php the_permalink() ?>" class="title2" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></div>
</section> <?php // end article section ?>
<footer class="article-footer" style="text-align:center;">
<?php
printf( __( ' %4$s', 'bonestheme' ), get_the_time( 'Y-m-j' ), get_the_time( __( 'F jS, Y', 'bonestheme' )), bones_get_the_author_posts_link(), get_the_term_list( get_the_ID(), 'custom_cat', ' ', ' | ', '' ) );
?>
</footer> <?php // end article footer ?>
</article></div></div> <?php // end article ?>
<?php endwhile; ?><div class="clearfix"></div>
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user
Bumped by Community user