Created
January 25, 2015 05:51
-
-
Save shahidulislamus/577f09f6caf81b0d35cd to your computer and use it in GitHub Desktop.
all theme supports in a wordpress theme......... copy and paste into functions.php or is going to include folder by any name which is include into functon.php as include_once('include/theme_support.php'); with out the php ending syntaxt
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_theme_support( 'post-formats', array( 'aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat') ); | |
add_theme_support( 'custom-background'); | |
add_theme_support( 'custom-header' ); | |
add_theme_support( 'automatic-feed-links' ); | |
add_theme_support( 'html5', array( 'comment-list', 'comment-form', 'search-form', 'gallery', 'caption' ) ); | |
add_theme_support( 'title-tag' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment