Created
April 20, 2016 06:37
-
-
Save karki-dennis/603116f2ed2d4cc2555d7f3655681de1 to your computer and use it in GitHub Desktop.
Add featured image field in wordpress theme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function angular(){ | |
add_theme_support( 'post-thumbnails' ); | |
set_post_thumbnail_size( 1200, 9999 ); | |
} | |
add_action( 'after_setup_theme', 'angular' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment