![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
My url is http://www.gtcoaching.net
When I click on "Read more from this category" in the SB, an archive page shows the excerpts together with the thumbnails. I would like to achieve the same in the hpbottom, but currently it only shows the 'alt text' and not the image. I have the following code, but am not sure how to modify it. Any help would be much appreciated. Code:
<div style="clear:both;"></div>
<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?>
[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
<?php else: ?>
[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
<?php endif; ?>
<?php the_title(); ?>
<?php the_content_limit(250, "Read more »");?><div style="clear:both;"></div>
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need To Add Images To Category/Archive Page | missyox | General Discussion | 1 | 11-17-2010 03:56 PM |
| hpbottom images not showing/funky double post headlines | pathshaper | General Discussion | 17 | 10-14-2009 07:32 PM |
| Auto Resize of thumbnail and hpbottom images | bewitched123 | General Discussion | 2 | 02-21-2009 02:30 PM |
| hpbottom into author and archive.php | bineabble | General Discussion | 10 | 01-05-2009 12:20 PM |
| How to Remove Images on Category Archive Page? | Brena | General Discussion | 4 | 11-22-2008 01:24 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