Archive

Archive for January, 2013

WordPress: Get post thumbnail image function

January 17, 2013 Leave a comment

So I’ve been using the bdw_get_images function (thanks to John Crenshaw and RLM Web Design & Marketing) for a couple of years to generate thumbnails on the index, and sometimes the archives & search results, pages.  Recently I got a call from a client that they had inserted an image into a post but it was not displaying.  Upon further investigation I found that the image that was attached to the post in question had originally been attached to another page.  Since bdw_get_images pulls images by looking for an attachment whose post_parent is the current post and since post_parent is only set for attachments when they are first added, this caused it not to find the image.  I decided it was time I wrote a newer function that would work regardless of whether the image was attached to any other posts.  At some point I think I’ll develop this into a legitimate plug-in with some additional options but here is a basic function you can add to your functions.php file in your theme.

Read more…

Categories: Wordpress Tags: , , , , ,

Microsoft Surface Pro will be a Major Success … but you’ll never guess why I think so

January 14, 2013 1 comment

So lots of sites are reporting on their initial impressions of the Surface Pro following a limited press hands-on event at a hotel suite in Vegas while CES was going on this week.  By a lot I mean just about every major tech blog/site.  Here’s a few I rounded up:

All of these reviews tend to be positive takes on the device.  Much is left to be seen (battery life, performance comparisons, etc.) but I think it is safe to say that this device has a chance of becoming a major success.  I base this primarily on one seemingly contradictory reason – negative comments.

Read more…