Posted By

xavsio4 on 05/31/11



Versions (?)

Enabling featured image on a post

 / Published in: PHP

To enablefeatured image on a post, just open your theme’s functions.php file, paste in the code below, and voila!

  1. add_theme_support( 'post-thumbnails' );
  2. set_post_thumbnail_size( 115, 115 )

Report this snippet  

You need to login to post a comment.