Copying post thumbnail to custom field

I wouldn’t bother doing that. I’d just find the places in your theme files that call the custom field (probably something like “echo get_post_meta(‘bigimage’)” or something) and replace those with a the_post_thumbnail() tag. This saves you the trouble of messing with the data, and it makes administration much, much simpler going forward–which is kind of … Read more

WordPress Rotating Background Images

You can use CSS3 background-size to make your background-images stretch to cover the area of the box. If you then create a containing box positioned absolutely over the whole page, you can put your slides in there. At that point it is just a matter of fading them in and out, something which can be … Read more

Cache DB queries result

As long as you use WP API ($wpdb) to perform queries, they will be cached by caching plugins (well, by those that have such functionality). If you need to cache data that is more compelx to generate rather than just retrieve look into Transients API.

Display post image in a size defined by add_image_size()

Try using wp_get_attachment_image() (Codex ref)? echo wp_get_attachment_image( $attachmentid, $imagesize ); Where $attachmentid is the attachment ID, and $imagesize is the name of the image size in the add_image_size() call. EDIT For a custom-field stored image SRC URL, I’m not finding any way to make use of intermediate image sizes defined via add_image_size() (or even the … Read more