/ Published in: PHP
This function will return the correct url for the timthumb php script (wordpress 3.0 or higher required!)
Usage: just call the function in your theme with the post id as parameter, it will return a value so store this into a variable (must be inside the wordpress loop to work)
The function:
$thumb = get_timthumb_thumbnail($post->ID);
I've tested this successfully on my servers so please let me know if you are having any problem with it.
Usage: just call the function in your theme with the post id as parameter, it will return a value so store this into a variable (must be inside the wordpress loop to work)
The function:
$thumb = get_timthumb_thumbnail($post->ID);
I've tested this successfully on my servers so please let me know if you are having any problem with it.