I purchased a commercial theme a while back to help give a couple of my sites a bit of a shine. I still wonder if it was really worth the money but what I do appreciate is that the theme author does continuously improve the theme. If nothing else this makes it very attractive, along with the support forum that always proves helpful. You can check out the theme here.
How to Alter the Lifestyle theme to not use automatic thumbnails
However, one frustration with this theme is that updates always seem to break previous versions. Often for the better in the long run, but each upgrade always seems to require a load of reconfiguration and updating of old posts.
In the latest update the old method of storing thumbnails has been ditched in favour of automated thumbnail creation. This seems great on the surface but unfortunately I prefer using images hosted off site and this new update does not allow it, thus rendering all of my old posts thumbless!
So a quick update to the theme however sorted my problem! So if you prefer not to use this feature and want to load images directly from other sites (many photo hosting sites will serve a thumbnail) then I hope this little tip will help!
So you will need to update the theme for each of the front page areas, look for where the class=”thumb” code appears and update to the following:
<a href="<?php the_permalink() ?>" rel="bookmark"><img class="thumb"
src="<?php echo get_post_meta($post->ID, "thumb", $single = true); ?>"
alt="<?php the_title(); ?>" /></a>
This will then allow you to load the URL directly into the post’s thumb parameter. If you want to use the old versions params (eg hpbottom, etc) then you can update the get_post_meta function call to get a different parameter instead of “thumb”.
There were two other enhancements I made to the last version.
- Replaced the image title with text. This is now part of version 4 which is a great improvement for me
- Allow the front page areas to show more than one category, at the moment you get to pick just one, but I would like the bottom area to show “everything else”