added commons and thumbnail support.

added if statements for custom post classes, and added theme support for
thumbnails.