Information about the WordPress 2.9 post-thumbnails feature and how to enable it, as well as some example code that uses the post thumbnail if it exists, or else falls back to the first image found in the post. You can build upon this code to use some sort of generic pic if neither is found. This technique is very useful for building a news homepage showcasing excerpts from each story.
Monthly Archives:: April 2010
These errors when going a “git pull” can be very confusing. They indicate that there are local changes that would otherwise be obliterated, and you are prevented from continuing unless you commit your changes, move or delete the file before doing a pull, or the workaround provided on this page…