Twenty Thirteen: explicitly declare 'link' and 'video' as the only (current) structured post formats in Twenty Thirteen. See #23852 #23619 #23864 and #23620.
git-svn-id: http://core.svn.wordpress.org/trunk@23803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
1dcee708ed
commit
6bf47b869f
|
@ -69,9 +69,15 @@ function twentythirteen_setup() {
|
||||||
/*
|
/*
|
||||||
* This theme supports all available post formats.
|
* This theme supports all available post formats.
|
||||||
* See http://codex.wordpress.org/Post_Formats
|
* See http://codex.wordpress.org/Post_Formats
|
||||||
|
*
|
||||||
|
* Structured post formats are formats where Twenty Thirteen handles the
|
||||||
|
* output instead of the default core HTML output.
|
||||||
*/
|
*/
|
||||||
add_theme_support( 'structured-post-formats', array(
|
add_theme_support( 'structured-post-formats', array(
|
||||||
'aside', 'audio', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video'
|
'link', 'video'
|
||||||
|
) );
|
||||||
|
add_theme_support( 'post-formats', array(
|
||||||
|
'aside', 'audio', 'chat', 'gallery', 'image', 'quote', 'status'
|
||||||
) );
|
) );
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue