How to Create Recent Posts with Thumbnails in WordPress

There are some plugins for Recent post but i love the coding way.Just paste this code in your side bar. [php] <h3><?php _e( ‘Recent Posts’ ); ?></h3> <?php $the_query = new WP_Query(‘showposts=5&orderby=post_date&order=desc’); while ($the_query->have_posts()) : $the_query->the_post(); ?> <div class="latest_post"> <div class="image_holder" > <?php the_post_thumbnail(array(50,50), array (‘class’ => ‘alignleft’)); ?> </div><!–#image_holder–> <div class="recent_description"> <h4><a title="<?php the_title(); …

How to Create Recent Posts with Thumbnails in WordPress Read More »

Add Adsence in your Thesis theme sidebar

This is a really easy to add Adsense into your Thesis blog sidebar without manually doing it or using a plugin. Just put this code in your custom_functions.php [php] function adsence_code() { ?> <div id="adsence"> //your adsence code is here </div> <?php } add_action(‘thesis_hook_after_multimedia_box’, ‘adsence_code’); [/php]