Advertisement
Guest User

Untitled

a guest
May 4th, 2016
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. // add thumbnail support in functions.php
  2. add_theme_support( 'post-thumbnails' );
  3.  
  4. // add thumbnail on front-end
  5. <?php the_post_thumbnail(array(400, 400)); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement