0byt3m1n1
Path:
/
home1
/
aserty
/
public_html
/
bonniescraftygifts.com
/
iFzj4
/
configCHM
/
Jump
/
0-aserty
/
appartsoft.info
/
wp-content
/
themes
/
knightzon
/
[
Home
]
File: home-blog-cat.php
<div class="row"> <h2 class="subtitle"><?php echo $data['blog_title']; ?></h2> <section class="box-art"> <?php query_posts( 'posts_per_page=3&category_name='.$data['blog_cat'].'' ); if ( have_posts() ) : $count = 0; while ($wp_query->have_posts()) : $wp_query->the_post(); $count++; ?> <?php if ($count == 1) : ?> <article class="current-tpc"> <span class="date"><?php the_time('F j, Y'); ?></span> <h2 class="title-sdbr"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php if(has_post_thumbnail()): ?> <?php the_post_thumbnail('blog-home', array('class' => 'techbigthumb')); ?> <?php endif; ?> <p> <?php the_excerpt(); ?> <a href="<?php the_permalink(); ?>" class="read-full"><?php _e('Read Full Story', 'pixrthemes'); ?></a> </p> </article><!-- current-tpc --> <ul class="list-tech"> <?php else : ?> <li> <?php if(has_post_thumbnail()): ?> <?php the_post_thumbnail('blog-small', array('class' => 'techlitthumb')); ?> <?php endif; ?> <p> <?php echo short_title('...', 5); ?> <a href="<?php the_permalink(); ?>" class="read-full"><?php _e('Read Full Story', 'pixrthemes'); ?></a> </p> </li> <?php endif; ?> <!-- //end of loop condition --> <?php endwhile; endif; wp_reset_query();?> </ul> </section><!-- //box-art --> </div><!-- //row -->