visioneer 0 Report post Posted May 30, 2010 Hi, I want to use WhiteHousePro for a blog update. At the moment the blog has 700 posts and the theme used an auto thumbnail function (out of the box by the theme). Also, the first image of any post is automatically used as thumbnail! Is it possible to integrate a function like this into WhiteHousePro or has the theme something like this out of the box too? thanks Share this post Link to post Share on other sites
Andrew 207 Report post Posted May 30, 2010 yes, its possible. Will take some custom code to make it work as you'd like. We will have to accommodate whatever code the thumb function used in your old theme. Was it using a plugin? Share this post Link to post Share on other sites
visioneer 0 Report post Posted June 1, 2010 That sounds good! At the moment thumbnails are generated and resized automatically using the TimThumb script. Share this post Link to post Share on other sites
visioneer 0 Report post Posted June 1, 2010 Second question: is it possible to change the look of the Excerpt and Thumbnail Placement to this (see image) link image Share this post Link to post Share on other sites
cmunns 16 Report post Posted June 1, 2010 To answer your second question, yes that's possible. You'd only have to make a minor adjustment to the _posts.php file in the way the html is ordered. Share this post Link to post Share on other sites
visioneer 0 Report post Posted June 7, 2010 Again, what's about the first question? Is it possible to integrate TimThumb to the theme to set the thumbs per auto to the posts (old / new)? If not, i found a plugin, called "Auto Post Thumbnail" by Aditya Mooley but it works only with new publish posts or if i republish any of the 700 posts...! This is not very comfortable! Plugin Homepage Share this post Link to post Share on other sites
Andrew 207 Report post Posted June 7, 2010 well the theme is currently designed to handle either a custom field called "thumb" with the URl as a value or the default WordPress thumbs (introduced in wp 2.9) To add functionality for your plugin, or method... we would have to edit this section of _posts.php ` <?php if(pl_show_thumb($post->ID)): ?> <?php the_post_thumbnail('thumbnail');?> <?php elseif (get_post_meta($post->ID, 'thumb', true)): ?> <?php $postimageurl = get_post_meta($post->ID, 'thumb', true); ?> <?php endif; ?> ` the question is, what functions, or methods to your plugins use? Share this post Link to post Share on other sites