![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#2
|
|||
|
|||
|
Yes. Here's an example for home.php. Find this code:
Code:
<?php if( get_post_meta($post->ID, "thumbnail", true) ): ?> [img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" /> <?php else: ?> and change it to: Code:
<?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]URL to the default thumbnail[/img]" /> <?php endif; ?>
__________________
Ade Themessence - Studiograsshopper WordPress plugins: Dynamic Content Gallery | Reveal Page Templates | Custom Taxonomies Menu Widget Check out the Genesis and Child Theme tutorials before posting your question - and please provide YOUR URL! Make Andrea happy - read her Firebug tutorial and save yourself loads of time and effort. |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Default Post thumbnails not showing up? | imported_renee | General Discussion | 6 | 03-11-2010 01:47 PM |
| Default Post thumbnails not showing up? | imported_renee | General Discussion | 5 | 03-09-2010 03:01 PM |
| Default to post date when no custom field entries in place | Prodigus | General Discussion | 3 | 02-22-2010 09:10 PM |
| How to Remove Default Thumbnails from Post | Acealecto | General Discussion | 3 | 01-07-2009 06:06 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