How to add video post formats in twenty twelve ?
-
add_action( 'after_setup_theme', 'childtheme_formats', 20 ); function childtheme_formats(){ add_theme_support( 'post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video', 'audio' ) ); }
i tried to add that code in my functions.php in my child theme file.
One thing i am not sure about do i have to copy all of the content of functions.php and just add that code to the bottom of it or put it in some special place ?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How to add video post formats in twenty twelve ?’ is closed to new replies.