Created
September 9, 2018 21:57
-
-
Save CodeProKid/9e0372f040812222094b2f6759dd9887 to your computer and use it in GitHub Desktop.
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
<?php | |
add_action( 'after_setup_theme', 'wphc_theme_setup' ); | |
function wphc_theme_setup() { | |
add_theme_support( 'html5', array( | |
'search-form', 'comment-form', 'comment-list', 'gallery', 'caption' | |
) ); | |
add_theme_support( 'post-thumbnails' ); | |
add_image_size( 'custom-thumb', 200, 200 ); | |
register_nav_menus( array( | |
'primary' => __( 'Primary Menu', 'wphc' ), | |
'footer' => __( 'Footer Links Menu', 'wphc' ), | |
) ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment