[wp-trac] [WordPress Trac] #18561: Better Way to Insert Things Below Individual Posts

WordPress Trac wp-trac at lists.automattic.com
Thu Sep 1 17:32:50 UTC 2011


#18561: Better Way to Insert Things Below Individual Posts
-------------------------+------------------------------
 Reporter:  jane         |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  General      |     Version:  3.2.1
 Severity:  minor        |  Resolution:
 Keywords:               |
-------------------------+------------------------------

Comment (by Otto42):

 Replying to [comment:42 mikeschinkel]:
 > +1 to offer a few different new approaches that are designed to leverage
 the same plugin hooks; a template tag (i.e. `the_rest()`), sidebars as
 template zones, and especially a '''huge''' +1 to `the_loop().`

 A massive -1 million to "the_loop()". Theme authors *won't* use it.
 They'll flat out rebel against you for trying.

 Look at my post on my blog about the comment_form(). Look real closely at
 the comments on that post. Theme authors *hate* it when you take away any
 amount of their ability to output HTML. Theme authors *hate* it when you
 tell them to use actions and filters to modify HTML. They don't get it,
 and they never will.

 get_template_part() is a great solution because it lets you divide up a
 theme into areas and retain control over those areas. Which is all plugin
 authors really want, the ability to insert things into proper places on
 the page. Standardizing away whole sections of themes into core doesn't
 really work, and people hate it.

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


More information about the wp-trac mailing list