Commit Graph

279 Commits

Author SHA1 Message Date
Andrew Nacin
4cc47e2034 The Twenty Twelve for WordPress.
props drewstrojny, lancewillett.

also props corvannoorloos, jeffsebring, kobenland, iandstewart, mfields,
mtdesign, op12no2, philiparthurmoore, sixhours, mamaduka.

see #19978.



git-svn-id: https://develop.svn.wordpress.org/trunk@21261 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-12 04:20:46 +00:00
Andrew Nacin
50bf8dfaef Remove Twenty Twelve from 3.4. see #19978. see http://wp.me/pbNCB-yA.
git-svn-id: https://develop.svn.wordpress.org/trunk@20219 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 18:41:54 +00:00
Lance Willett
981992f8fb Twenty Twelve: make proper use of the cached jQuery collection in navigation.js, props mattwiebe. Fixes #20131.
git-svn-id: https://develop.svn.wordpress.org/trunk@20017 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 19:17:04 +00:00
potbot
ffa265cebd POT, generated from r20011
git-svn-id: https://develop.svn.wordpress.org/trunk@20012 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 06:18:04 +00:00
Lance Willett
c41874b4d7 Twenty Twelve: remove an unneeded, presentational class value, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20011 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:28:08 +00:00
Lance Willett
e6282c7f0d Twenty Twelve: better comment markup and styles, props drewstrojny. See #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20010 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:24:57 +00:00
Lance Willett
90df91666c Twenty Twelve: correctly enqueue the fonts CSS file, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20009 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 05:19:50 +00:00
potbot
326b2db4fa POT, generated from r20007
git-svn-id: https://develop.svn.wordpress.org/trunk@20008 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 04:17:41 +00:00
Lance Willett
91511b6a18 Twenty Twelve: add support for toggling the navigation menu in small screens. See #19978.
Triggered when a viewport is under 600 pixels wide. This functionality depends on JS being enabled, and will naturally fall back to a normal, expanded menu for a client without JS.

Props iandstewart for the original JS file and concept.


git-svn-id: https://develop.svn.wordpress.org/trunk@20007 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:59:47 +00:00
Lance Willett
2a1dff3136 Twenty Twelve: better "no posts found" message and action for index view. If a logged-in user can edit posts, show an appropriate message. Otherwise, show the normal "no posts found" message. See #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20006 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:48:34 +00:00
potbot
fc85a24fea POT, generated from r20003
git-svn-id: https://develop.svn.wordpress.org/trunk@20005 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:17:50 +00:00
Lance Willett
4709676a6f Twenty Twelve: remove test lines from r20003
git-svn-id: https://develop.svn.wordpress.org/trunk@20004 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:14:00 +00:00
Lance Willett
28592c377a Twenty Twelve: use the time element for image attachment views, and esc_html() for get_the_date() in the element's output. Props iandstewart, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@20003 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-28 03:10:53 +00:00
Andrew Nacin
7c0a450920 Add template names to theme pots. see #6007.
git-svn-id: https://develop.svn.wordpress.org/trunk@19968 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 16:37:01 +00:00
potbot
c82d0d0b72 POT, generated from r19963
git-svn-id: https://develop.svn.wordpress.org/trunk@19964 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 15:18:15 +00:00
Andrew Nacin
0bd00272c5 Revert [19959]. The footer generator URL should be translated (think pt.wordpress.org). see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19963 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 14:49:38 +00:00
potbot
91e62fb960 POT, generated from r19961
git-svn-id: https://develop.svn.wordpress.org/trunk@19962 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 07:18:03 +00:00
Lance Willett
df599d08f0 Twenty Twelve: no need for threaded comment reply JS to load if comments are closed. Props iandstewart, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19961 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:41:20 +00:00
Lance Willett
c3e0e18f8a Twenty Twelve: add ARIA role of "navigation" to the all nav elements. Props iandstewart, see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19960 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:34:36 +00:00
Lance Willett
e8635f412d Twenty Twelve: no need to translate the footer generator URL. See #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19959 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:24:49 +00:00
Lance Willett
deb5f6f182 Twenty Twelve style updates, props drewstrojny. See #19978.
And, use a simpler and more consistent `site-header` class value. Props iandstewart.


git-svn-id: https://develop.svn.wordpress.org/trunk@19958 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 06:14:51 +00:00
Lance Willett
5a39eb1696 Twenty Eleven and Twenty Twelve: fix incorrect end HTML comment left over from Twenty Ten.
See #19978.


git-svn-id: https://develop.svn.wordpress.org/trunk@19957 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-21 05:44:31 +00:00
potbot
305c67e6ac POT, generated from r19915
git-svn-id: https://develop.svn.wordpress.org/trunk@19916 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 04:17:55 +00:00
Lance Willett
a6951d77f3 Twenty Twelve template changes and fixes ... see #19978.
* Add custom header support
 * header.php: use `get_stylesheet_uri()` to load stylesheet, props Mamaduka
 * Add full-width template, including adding relevant body_class value as a CSS hook
 * Hide sidebar on all views if no active widgets exist
 * Fix site title output (was missing site title)
 * Remove "featured" title for sticky posts
 * Add content template files for aside, image, link, and quote post formats
 * Indent content-single.php to match content.php
 * Remove sample JPG since Twenty Twelve ships with no default header images

... and style updates, props drewstrojny

 * Better footer styles
 * Styling for full-width layouts
 * Add basic styles for archive views
 * Refine post header/footer styles a bit


git-svn-id: https://develop.svn.wordpress.org/trunk@19915 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-14 03:54:46 +00:00
Andrew Nacin
917a954113 Update POT files. Reflects a change in the makepot script to ensure consistency when files are generated. Remove duplicate header comments.
git-svn-id: https://develop.svn.wordpress.org/trunk@19901 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-10 16:38:48 +00:00
Andrew Nacin
bd5c1f88e9 Move the wp_enqueue_style() to header.php. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19845 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:07:41 +00:00
Andrew Nacin
2746fd144a Freshen up the docs in functions.php. Remove is_admin() check from twentytwelve_enqueue_scripts(). Remove function_exists() wrappers from functions that are hooked in. Kill locale.php handling. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19844 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 23:04:56 +00:00
Andrew Nacin
7349d46c0e Synchronize archive.php docs with Twenty Eleven. Go easy on the PHP/HTML context switching. see #19978.
git-svn-id: https://develop.svn.wordpress.org/trunk@19843 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:37:45 +00:00
Matt Mullenweg
94729a8a40 Initial import of the Twenty Twelve theme, by Drew Strojny. This time around we're trying something different than the previous twenty-something themes, a much more minimalist approach that affords easy use as a CMS in addition to being blog-forward. More information will be on wpdevel soon. Props drewstrojny and lancewillett.
git-svn-id: https://develop.svn.wordpress.org/trunk@19842 602fd350-edb4-49c9-b593-d223f7449a82
2012-02-06 22:23:41 +00:00