Opened 2 years ago
Last modified 2 years ago
#17198 closed task (blessed)
New theme for 3.next -- Twenty Eleven — at Version 53
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.2 |
| Component: | Themes | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | ocean90, aaroncampbell, ncrice@…, andrewryno@…, linuxologos@…, michael@…, ian@…, jaredatch, dougal@…, contact@…, Jayjdk, lance@…, josephscott, smub, info@…, contact@…, batmoo@…, wikichaves, mv@…, pascal.herbert@…, sararcannon@…, sabreuse, mail@…, azizur, brandondove, heymrpro@…, peaceable_whale@… |
Description (last modified by lancewillett)
It's been a few years since we did this (#9015) but let's track the effort for the Twenty Eleven theme, hopefully making 3.2, here.
Main goals besides what we've already done in Twenty Ten:
- To be different from Twenty Ten, aesthetically.
- Is a good showcase of WP's headline features.
- Clean, fast to load, and with best-practice markup.
Nice to have, but optional, improvements:
- Ability to have random rotating headers. (Core improvement to custom header functionality, see #17240.)
- Color and layout options.
- More post formats. (Currently supports Asides, Links, and Galleries.)
- CMS-style slider home page option.
Some people will prefer the design of Twenty Ten, which is still excellent, over Twenty Eleven, but that's okay. We'll have something new next year.
Change History (63)
comment:1
aaroncampbell — 2 years ago
- Cc aaroncampbell added
Cross-referencing the commit:
matt in [17669]
Importing Duster theme, first pass at a candidate for twentyeleven theme.
Nice to have, but optional, improvements it'd be nice to have:
- Ability to have random rotating headers. (Core improvement to custom header functionality.)
- Color and layout options.
- More post formats. (Currently supporst Asides, Links, and Galleries.)
- CMS-style slider home page option.
Welcome, TwentyEleven n?\195?\169e Duster. :) Track at #17198.
Line endings should be svn:eol-style native, so \r\n or similar shouldn't matter. We should make the text files have Windows-style endings though, if they don't already.
comment:4
nathanrice — 2 years ago
- Cc ncrice@… added
comment:5
andrewryno — 2 years ago
- Cc andrewryno@… added
Replying to matt:
Line endings should be svn:eol-style native, so \r\n or similar shouldn't matter. We should make the text files have Windows-style endings though, if they don't already.
I set svn:eol-style on the files - I suspect you may want to change it from native on readme and license based on this comment?
comment:8
automattor — 2 years ago
comment:10
linuxologos — 2 years ago
- Cc linuxologos@… added
comment:11
mfields — 2 years ago
- Cc michael@… added
I submitted this patch which has been picked up for 3.2 which should fix the notice issues in TwentyEleven: #16761
comment:12
iandstewart — 2 years ago
- Cc ian@… added
comment:13
in reply to:
↑ 2
aaroncampbell — 2 years ago
Replying to dd32:
Nice to have, but optional, improvements it'd be nice to have:
- CMS-style slider home page option.
What exactly are you looking for here? Something like on http://www.fiftyandfifty.org/ or like http://xavisys.com or ???
comment:14
jaredatch — 2 years ago
- Cc jaredatch added
comment:15
dougal — 2 years ago
- Cc dougal@… added
comment:16
pseudoxiah — 2 years ago
- Cc contact@… added
comment:17
ocean90 — 2 years ago
- Cc ocean90 added
comment:18
Jayjdk — 2 years ago
- Cc Jayjdk added
comment:19
lancewillett — 2 years ago
- Cc lance@… added
comment:20
josephscott — 2 years ago
- Cc josephscott added
comment:21
iandstewart — 2 years ago
17672.html-id.diff adds conditional ids for IE6 and IE8 for users who will be using Twenty Eleven as a parent theme and may have use for those ids (an id for IE7 was already present in Duster).
comment:22
smub — 2 years ago
- Cc smub added
comment:23
kawauso — 2 years ago
17198.showcase.2.diff adds full loop functionality back to the $featured query since we can't rely on sticky posts being available (may be trashed) and ensures all loop actions are fired correctly, while avoiding invoking it at all when no stickies are set.
Also makes better use of $feature_class and uses the native current post counter in the $recent query.
comment:24
ocean90 — 2 years ago
iandstewart, 3.2 wil drop IE6 support, I think 2011 should drop it too.
comment:25
azaozz — 2 years ago
3.2 is marked as EOL for IE6 (for the admin), however themes (front end) should still support it so they have best compatibility. There are still people that are stuck in IE6. For them the admin would have limited functionality but the front end site should work.
comment:26
toscho — 2 years ago
- Cc info@… added
comment:27
hd-J — 2 years ago
- Cc contact@… added
comment:28
iandstewart — 2 years ago
17672.status-quote-formats.diff adds support for Status and Quote format display, excludes those formats from the Showcase Recent Posts, and adds them to the posts included in the custom "Ephemera" widget. It also adds CSS section headers for each Format and the 404 styles in style.css.
comment:29
batmoo — 2 years ago
- Cc batmoo@… added
comment:30
wikichaves — 2 years ago
- Cc wikichaves added
markmcwilliams — 2 years ago
Allows the /twentyeleven/ directory to be added, for anyone using the WordPress Beta Tester plugin, and updating nightly.
comment:31
markmcwilliams — 2 years ago
I was hoping the above patch would solve the /twentyeleven/ directory being included in any updates used from within your dashboard, if you used say the WordPress Beta Tester plugin. Turns out I already had the theme there, after I uploaded it myself. But I'm finding that /twentyeleven/ isn't included when I went from 3.1.1 to 3.2-bleeding, so I can't try it out online!
comment:32
follow-up:
↓ 33
dd32 — 2 years ago
I was hoping the above patch would solve the /twentyeleven/ directory being included
I'll take care of that tomorrow
comment:33
in reply to:
↑ 32
markmcwilliams — 2 years ago
Replying to dd32:
I was hoping the above patch would solve the /twentyeleven/ directory being included
I'll take care of that tomorrow
Cool, thanks. Obviously a little more work needed than adding a line of code? ;)
comment:34
follow-ups:
↓ 35
↓ 49
dd32 — 2 years ago
Adding that line should've done it. However, it should be fine as '3.2', and it also needs to be set in the file -during- the 3.1.x -> 3.2 update, ie. within the update zip. There may be other things at play here though, so I'll check it during testing.
Minor style fixes (overflow) for international blogs and replacing em dash with the proper CSS value for the entity.
comment:35
matveb — 2 years ago
- Cc mv@… added
comment:36
in reply to:
↑ 2
lancewillett — 2 years ago
comment:37
lancewillett — 2 years ago
Added #17242 to track work for allowing custom height for header images.
comment:38
lancewillett — 2 years ago
comment:39
lancewillett — 2 years ago
comment:40
lancewillett — 2 years ago
comment:41
lancewillett — 2 years ago
comment:42
hebbet — 2 years ago
- Cc pascal.herbert@… added
comment:43
saracannon — 2 years ago
- Cc sararcannon@… added
comment:44
sabreuse — 2 years ago
- Cc sabreuse added
comment:45
lancewillett — 2 years ago
comment:46
follow-up:
↓ 48
nickbohle — 2 years ago
- Cc mail@… added
comment:47
iandstewart — 2 years ago
(In [17721]) Twenty Eleven: functions.php cleanup and introduction of theme options; see #17198
- Cleanup functions.php, adding comments and function_exists() checks following Twenty Ten's example
- Theme option for choosing an alternate (dark) color scheme. It currently only loads a placeholder CSS file with dark styles to follow.
- Theme option for selecting a link color that loads an internal style block for resetting link colors. An updated style.css will follow to take advantage of this.
- Theme options for selecting an alternate layout. Adds a class to the body element. An updated style.css will follow to take advantage of this.
greenshady — 2 years ago
comment:48
follow-up:
↓ 49
greenshady — 2 years ago
Can we set a default case for the switch statement in the twentyeleven_comment() function? It would be as simple as moving the first check down to the bottom and changing the case to:
default :
Currently, this function handles the comment, trackback, and pingback comment types. All other comment types are skipped. By default, WordPress core functionality handles custom comment types just fine.
This is also an issue in the TwentyTen theme and now many, many themes being submitted to the theme repository because so many theme authors just copy/paste code from the default WordPress theme.
comment:49
in reply to:
↑ 48
;
follow-up:
↓ 52
lancewillett — 2 years ago
Replying to greenshady:
Can we set a default case for the switch statement in the twentyeleven_comment() function?
Makes sense to me, plus it's a good practice in programming in general to have a default case for switch statements. Patch looks good, thanks Justin.
comment:50
follow-up:
↓ 53
lancewillett — 2 years ago
comment:51
lancewillett — 2 years ago
comment:52
lancewillett — 2 years ago
Related to Twenty Eleven (but should work with any theme), I added a patch for #17240 that will load a random image from the theme's registered header images.
Note: Twenty Eleven only has one header image right now (more coming soon), so test it out with Twenty Ten.
comment:53
lancewillett — 2 years ago
- Description modified (diff)
- Summary changed from New theme for 3.next -- TwentyEleven to New theme for 3.next -- Twenty Eleven

Fix wrong html5.js path in header.php