![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi
Since I always receive tremendous support here I thought I would offer a quick solution I used. Although the auto resize for the thumnails is a nice feature many photographers will be picky and want to define their own thumbnail images. I had the girl I am working with create her thumbnails at 50x50 (you can choose your own size) and then I changed one small piece of code in the home.php, mainindex.php etc... You simply change this (note I have borders off etc) Code:
<?php $recent = new WP_Query("showposts=11&offset=1"); while($recent->have_posts()) : $recent->the_post();?>
[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
<?php endwhile; ?>
Code:
<?php $recent = new WP_Query("showposts=11&offset=1"); while($recent->have_posts()) : $recent->the_post();?>
[img]<?php echo get_post_meta($post->ID, [/img]" alt="<?php the_title(); ?>" />
<?php endwhile; ?>
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Specific category page with only title and thumbnails | subhramani | General Discussion | 3 | 09-25-2010 01:48 PM |
| Call specific post onto homepage | ukbob | General Discussion | 2 | 01-02-2009 07:59 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