Enable All Possible Post Formats

language: PHP
license: Other

Code for Snippet:

add_theme_support( 'post-formats', 
add_post_type_support( 'post', 'post-formats' );
add_post_type_support( 'page', 'post-formats' );
// and other custom post types if you have them
comments powered by Disqus


Source Site:


Tags: Wordpress

Link to this snippet:

Download to Code Collector

To use the direct link to your snippet on CodeCollector.net either copy the html from the above section or drag the Download to Code Collector to where you would like to use it.

More Info:

Times Viewed: 430
Date Added: 2015-10-12 10:10:53
Last Modified: 2015-10-12 04:21:28

Web Analytics