Skip to content

Instantly share code, notes, and snippets.

@shahidulislamus
Created January 25, 2015 05:51
Show Gist options
  • Save shahidulislamus/577f09f6caf81b0d35cd to your computer and use it in GitHub Desktop.
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
<?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