Last active
March 21, 2017 20:02
-
-
Save marcosnakamine/76efcf7e4f5e6de5aa6c147b8944bef3 to your computer and use it in GitHub Desktop.
WordPress - Add theme supports
This file contains hidden or 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', 'add_theme_supports' ); | |
function add_theme_supports() { | |
add_theme_support( 'title-tag' ); | |
add_theme_support( 'post-thumbnails' ); | |
add_theme_support( 'html5' ); | |
add_theme_support( 'custom-logo' ); | |
add_theme_support( 'woocommerce' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment