![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi
I'm struggling to work out how to place just ONE thumbnail into a hpbottom section on my home page. I'd like it over on the left, with the four titles of the four posts listed to the right of it. Here's the code - sorry its not very tidy (I'm quite new to this). The site is: www.westendtheatre.com - the section is THEATRE ALERTS. Thanks Paul <div id="homepagebottom"> <div class="hpbottom"> <?php $feature_cat_10 = get_option('lifestyle_feature_cat_10'); $feature_cat_10_num = get_option('lifestyle_feature_cat_10_num'); if(!$feature_cat_10) $feature_cat_10 = 1; //setting a default ?> <h3>THEATRE ALERTS</h3> <?php $recent = new WP_Query("cat=".$feature_cat_10."&showposts=".$fea ture_cat_10_num); while($recent->have_posts()) : $recent->the_post();?> <b><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></b> <div style="clear:both;"></div> <?php endwhile; ?> <div style="border-bottom:1px dotted #94B1DF; margin-bottom:12px; padding:0px 0px 10px 0px; clear:both;"></div> <b><a href="http://www.westendtheatre.com/theatre-alerts" rel="bookmark">More Alerts > > ></a></b> </div> </div> |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Thumbnail in hpbottom not showing | labecs | General Discussion | 2 | 02-09-2010 12:00 PM |
| hpbottom | jeanwilb | General Discussion | 8 | 03-23-2009 11:19 AM |
| Add another hpbottom | Republic | General Discussion | 7 | 03-15-2009 11:57 AM |
| Auto Resize of thumbnail and hpbottom images | bewitched123 | General Discussion | 2 | 02-21-2009 02:30 PM |
| Thumbnail and hpbottom posts | redondorealtor | General Discussion | 1 | 11-29-2008 09:41 PM |
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us