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

How to query details of images in gallery that is attached to a post

Query for image attachments would be something like this (taken from Get The Image plugin/extension) with get_children(): $attachments = get_children( array( ‘post_parent’ => $args[‘post_id’], ‘post_status’ => ‘inherit’, ‘post_type’ => ‘attachment’, ‘post_mime_type’ => ‘image’, ‘order’ => ‘ASC’, ‘orderby’ => ‘menu_order ID’ ) ); Then you can loop through array and retrieve URLs with wp_get_attachment_image_src() which will … Read more

Template messed up on viewing posts

Viewing your pagesource and clicking on your first style sheet link brings up this error: <html> <head> <title>Not Found</title> </head> <body> <h1>Apache server with mod_pagespeed</h1> OK <hr> NOT FOUND:http://mikewills.me/blog/links-for-2011-02-24/ wp-content/themes/richardshepherd-TwentyTenFive-a8f2860 /style.css.pagespeed.ce.pAcUzu9T3K.css </body> </html> So it looks like your (cached?) stylesheet isn’t where you think it is or your apache module isn’t configured correctly.