Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="recentWrapper">
- <div class="top_heading">
- <h3><span>Trending Story</span></h3>
- </div>
- <div class="clr-both100">
- <?php $recent = new WP_Query("cat=all&showposts=3"); while($recent->have_posts()) : $recent->the_post();?>
- <div class="box-rccontain">
- <span class="imgBlock"><a href="<?php the_permalink() ?>"><?php echo catch_that_image (get_the_id(), '', '', '' .get_bloginfo('template_url') .'/scripts/timthumb.php?zc=1&w=125&h=78&src='); ?></a></span>
- <span class="txtBlock"><a href="<?php the_permalink() ?>"><strong><?php the_title(); ?></strong></a>
- <?php if(get_option('themesdesk_wordpress_comments')!="" && get_option('themesdesk_wordpress_comments')!="no"){ ?>
- <span class="comImg"><?php comments_popup_link('0', '1', '%');?> </span> <?php } else { ?><span class="dtTxt"><?php the_time('j F, Y') ?> </span> <?php } ?></span>
- </div>
- <?php endwhile; ?>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement