[wp-trac] [WordPress Trac] #19570: Post Formats: admin UI + fallbacks for themes that don't support them

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 15 21:33:01 UTC 2011


#19570: Post Formats: admin UI + fallbacks for themes that don't support them
-------------------------+-----------------------------
 Reporter:  alexkingorg  |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Editor       |    Version:  3.3
 Severity:  normal       |   Keywords:  has-patch
-------------------------+-----------------------------
 Post formats would be nicer to use if the admin UI provided a little more
 structure and functionality around them. The plugin here creates an admin
 UI via JavaScript and should be considered a functional prototype.

 https://github.com/crowdfavorite/wp-post-formats

 There are several custom fields provided to put various bits of data into
 structured fields, allowing for custom output of those fields in a theme.

 Note that the URL field is separate for Link formats so that URL will not
 be included in pingbacks until #18506 is accepted.

 Creating structured data to support post formats makes them more powerful
 and allows themes to do more with them, but it also causes a potential
 backward compatibility problem for users that change to a theme that
 doesn't support post formats. To solve this problem, the following code
 can be used:

 https://github.com/crowdfavorite/wp-post-formats-fallback

 This looks at custom field data and the current theme's post format
 support, and where appropriate adds content to the post body.

 For now I've kept the code in GitHub instead of attaching it here, so that
 pull requests can be created easily.

 There was a great response to this from the community when we released it,
 so hopefully it can be considered for inclusion in core.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19570>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list