[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:13:54 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 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().`
JMTCW but -1 for extending `get_template_part()`; I think one reason why
more themes don't use it is that it can be counter-intuitive to people, or
at least to me. Everytime I see it I have to rethink how it works, and I
find I have to force myself to think about using it when I build a theme
because it doesn't make sense to me. Otto makes a good point that once
something is in WordPress it is here to stay; pity that
`get_template_part()` is one of those.
OTOH, if `the_loop()` was added it might hide the more common uses of
`get_template_part()` and those make it less onerous.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/18561#comment:42>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list