Posted By

mindshare on 03/26/11


Tagged


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

hkamci


Add Featured Image Support to a WordPress theme


 / Published in: PHP
 

Place this code in your theme's functions.php file to activate featured images.

  1. if ( function_exists( 'add_theme_support' ) ) {
  2. add_theme_support( 'post-thumbnails' );
  3. }

Report this snippet  

You need to login to post a comment.