Home / Admin / Add Theme Supports
Duplicate Snippet

Embed Snippet on Your Site

Add Theme Supports

Code Preview
php
<?php
add_editor_style( 'style-editor.css' );
add_theme_support( 'appearance-tools' );
add_theme_support( 'align-wide' );
add_theme_support( 'responsive-embeds' );
add_theme_support( 'post-formats', 
	array( 
		'aside', 
		'gallery',
		'link',
		'image',
		'quote',
		'status',
		'video', 
		'audio',
		'chat'
	) 
// WordPress supports the following post formats. These formats cannot be changed by the average user and are meant to be standards of typical formats. 				  
// aside – A short piece of content, typically styled without a title. 
// gallery – A gallery of images.
// link – A single link to another site.
// image – A single image.
// status – A short status update, similar to a Twitter status update.
// video – A single video.
// audio – A single audio file.
// chat – A chat transcript.
				  
);
add_post_type_support( 'post', 'post-formats' );
add_post_type_support( 'page', 'post-formats' );
add_post_type_support( 'submissions', 'post-formats' ); 
add_post_type_support( 'feeds', 'post-formats' );
// and other custom post types if you have them

Comments

Add a Comment