WordPress.org

Make WordPress Core

Opened 13 months ago

Closed 13 months ago

Last modified 13 months ago

#23864 closed defect (bug) (fixed)

Twenty Thirteen: add support for Audio structured post format

Reported by: lancewillett Owned by:
Milestone: 3.6 Priority: normal
Severity: normal Version:
Component: Bundled Theme Keywords:
Focuses: Cc:

Description

Similar to #23852 -- add native theme support for Audio posts.

Right now (without native support) if a user creates an Audio post and enters embed or URL to the post meta area in the editor, the theme will not output it at all.

Change History (4)

comment:1 lancewillett13 months ago

Or, decide to go with the post_formats_compat fallbacks for audio. Which could mean splitting them out in functions.php like so:

	/*
	 * This theme supports all available post formats.
	 * See http://codex.wordpress.org/Post_Formats
	 */
	add_theme_support( 'structured-post-formats', array(
		'link', 'video', 'quote'
	) );

	add_theme_support( 'post-formats', array(
		'aside', 'audio', 'chat', 'gallery', 'image', 'status'
	) );

comment:2 lancewillett13 months ago

Discussing during today's IRC office hours, we're going to go with the post format compat output from core, not have anything structured or different in the theme. Theme will style with CSS.

comment:3 lancewillett13 months ago

  • Keywords needs-patch removed
  • Resolution set to fixed
  • Status changed from new to closed

Closing as audio is working as-is and doesn't need any changes in the theme.

comment:4 lancewillett13 months ago

In 23803:

Twenty Thirteen: explicitly declare 'link' and 'video' as the only (current) structured post formats in Twenty Thirteen. See #23852 #23619 #23864 and #23620.

Note: See TracTickets for help on using tickets.