![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#2
|
|||
|
|||
|
here is the code....
<div class="homeleft"> <div class="homeblock"> <h3><?php echo cat_id_to_name(get_theme_mod('featured_top_left')) ; ?></h3> <?php $recent = new WP_Query("cat=Rookies&showposts=5"); while($recent->have_posts()) : $recent->the_post();?> <?php sp_post_thumb($post, 'featured_top_left'); ?> <p><strong><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></strong></p> <?php the_content_limit(80, ""); ?> <hr/> <?php endwhile; ?> <strong><a href="URL GOES HERE">More Posts From Rookies</a></strong> </div> </div> <div class="homeright"> <div class="homeblock"> <h3><?php echo cat_id_to_name(get_theme_mod('featured_top_right') ); ?></h3> <?php $recent = new WP_Query("cat=Photographers&showposts=5"); while($recent->have_posts()) : $recent->the_post();?> <?php sp_post_thumb($post, 'featured_top_right'); ?> <p><strong><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></strong></p> <?php the_content_limit(80, ""); ?> <hr/> <?php endwhile; ?> <strong><a href="URL GOES HERE">More Posts From Photographers</a></strong> </div> </div> <div class="clear"></div> |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Creating additional .hpleft and .hpright - NOT WORKING | lancetylerphotos | General Discussion | 6 | 08-14-2010 06:53 AM |
| Additional Photos not Working | ludden | General Discussion | 8 | 05-30-2010 07:05 PM |
| Removing hpright and hpleft boxes | mkirby2006 | General Discussion | 1 | 04-25-2010 12:53 AM |
| Tittle appears in hpbottom, hpleft and hpright | ismababy | General Discussion | 8 | 02-25-2010 06:04 AM |
| V2 and creating additional blocks | seventyone | General Discussion | 3 | 02-27-2009 07:44 AM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us