[wp-trac] [WordPress Trac] #9015: New theme for 3.0 -- Twenty Ten
WordPress Trac
wp-trac at lists.automattic.com
Sun Feb 14 01:33:02 UTC 2010
#9015: New theme for 3.0 -- Twenty Ten
----------------------------+-----------------------------------------------
Reporter: dd32 | Owner:
Type: task (blessed) | Status: new
Priority: normal | Milestone: 3.0
Component: Themes | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------------------------
Comment(by dd32):
> No, don't want to apply those
Cheers, I wish there was a "Stale", "Commited", "Wontfix/Invalid" status
for patches on trac..
> I hadn't, only because I didn't know it was possible. :) I think it'd be
great for consistency if the other archives kept the gallery and asides
styling.
Thanks, I just wanted to know if it was a Style-choice or not.
To implement that, theres a few options
1. Duplicate the code throughout index.php, archive.php, search.php,
author.php, tag.php & category.php
2. Change the theme to not have the extra files, but have different
headings in archive.php depending on is_author(), is_tag(), etc
3. Change the theme to include a 'multiple-post-loop.php' file, Which
solely holds the loop part which is common to all the archive types
To me, #3 is the better option, #2 is basically out as its good to show
new developers it can be done that way, and #1 is Alright, it just gets
tedious having to modify half a dozen files in order to make everything
look the same no matter which archive type is being viewed.
Any one care to comment on that?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/9015#comment:87>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list