PHP: WP - Add featured image support to theme