[wp-trac] [WordPress Trac] #23620: Twenty Thirteen: extract video or image from post content and place above the title and post content

WordPress Trac noreply at wordpress.org
Wed Mar 27 18:51:48 UTC 2013


#23620: Twenty Thirteen: extract video or image from post content and place above
the title and post content
---------------------------+---------------------------
 Reporter:  lancewillett   |       Owner:  lancewillett
     Type:  defect (bug)   |      Status:  closed
 Priority:  normal         |   Milestone:  3.6
Component:  Bundled Theme  |     Version:
 Severity:  normal         |  Resolution:  fixed
 Keywords:  has-patch      |
---------------------------+---------------------------
Changes (by lancewillett):

 * owner:   => lancewillett
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"23820"]:
 {{{
 #!CommitTicketReference repository="" revision="23820"
 Twenty Thirteen: take full advantage of new structured post format
 template functions, see r23819.

 Extract first video or image from Video and Image post format posts, and
 place the item above the title within its own HTML wrapper with
 `the_video()` and `the_image()'. Also, remove the item from the post
 content with `the_extra_content()`.

 This allows us to meet the design requirements for Twenty Thirteen with
 minimal changes to the theme template files. Fixes #23620.
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23620#comment:20>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list