News

Archive for the ‘tips’ Category

Using TimThumb with WordPress Post Thumbnails

Saturday, March 31st, 2012

The WordPress post thumbnails functionality has become a basic necessity of theme coding, but it does have its limitations. Mainly you are stuck with the image sizes you specify in the Settings – Media tab. You can also specify your own image sizes, but clients undoubtedly want to change their image sizes over time or within one website over and over and over and over…. So it makes sense to make use of the dynamic image resizing script TimThumb. I use the following technique to grab the designated featured image post thumbnail from a post and then automatically resize it upon display. Works perfectly!
(more…)

WordPress Tip: Echo the current page number

Thursday, July 1st, 2010

I’ve recently been working on a site with loads of data that all needed to be linked together by archive page number. So, for example, if you are browsing page 4 of “Category A” posts, you need to easily access links to page 4 of “Category B” posts. (more…)