Commit Graph

31 Commits

Author SHA1 Message Date
Lance Willett d9cda71f18 Twenty Twelve: more fixes for escaping and minor code style issues. See #29127.
Built from https://develop.svn.wordpress.org/trunk@31262


git-svn-id: http://core.svn.wordpress.org/trunk@31243 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-01-21 21:06:23 +00:00
Sergey Biryukov 75484f9c20 Bundled themes: Add an alt attribute with the site title for header images linked to the home page.
props rianrietveld.
fixes #15926.
Built from https://develop.svn.wordpress.org/trunk@29842


git-svn-id: http://core.svn.wordpress.org/trunk@29606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-06 12:44:17 +00:00
Lance Willett 8a0a5ce1d2 Twenty Twelve: make small-screen menu accessible to keyboard commands and voice-driven software by using a focusable button element rather than `h3` for the toggle element. Fixes #28224, props rclations.
Built from https://develop.svn.wordpress.org/trunk@29095


git-svn-id: http://core.svn.wordpress.org/trunk@28881 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 17:47:14 +00:00
Lance Willett 42d2f4fc21 Bundled themes: use correct logic in IE conditional comments in header template. Props mikemanger, fixes #28151.
Built from https://develop.svn.wordpress.org/trunk@28341


git-svn-id: http://core.svn.wordpress.org/trunk@28169 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-07 04:27:15 +00:00
Lance Willett 4359cfd88d Bundled Themes: pinking shears, fix a trailing period.
Built from https://develop.svn.wordpress.org/trunk@25824


git-svn-id: http://core.svn.wordpress.org/trunk@25736 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-10-17 03:30:09 +00:00
Lance Willett f3c9b36f73 Twenty Twelve: simplify header image check, props obenland. Closes #25400.
Built from https://develop.svn.wordpress.org/trunk@25626


git-svn-id: http://core.svn.wordpress.org/trunk@25543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-25 16:59:09 +00:00
Lance Willett 4a9b21226c Twenty Twelve: update code comments to reflect WP inline docs standards. Props DrewAPicture, see #25256.
Built from https://develop.svn.wordpress.org/trunk@25521


git-svn-id: http://core.svn.wordpress.org/trunk@25441 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-09-20 19:24:09 +00:00
Lance Willett 46d77ee99c Twenty Twelve: implement better support for IE7 and IE8 (don't use mobile menu). See #22044.
git-svn-id: http://core.svn.wordpress.org/trunk@22201 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 22:07:06 +00:00
Lance Willett 47fbd77dac Twenty Twelve: improve skip link visibility, mimicing the core toolbar skiplink. Closes #22025, see #22087.
git-svn-id: http://core.svn.wordpress.org/trunk@22186 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-11 17:17:55 +00:00
Andrew Nacin d68afd936e Simplify the Open Sans translator voodoo. see #21751.
git-svn-id: http://core.svn.wordpress.org/trunk@22049 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-27 07:30:27 +00:00
Lance Willett ebb2967466 Twenty Twelve: header image should be wrapped in a link to home. Fixes #22004.
git-svn-id: http://core.svn.wordpress.org/trunk@22014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-26 16:59:57 +00:00
Lance Willett 1aef211307 Twenty Twelve: s/Show Menu/Menu/ for clarity and simplicity, and maybe more semantic and accessible. Fixes #21783, props iandstewart.
git-svn-id: http://core.svn.wordpress.org/trunk@21730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-09-04 05:18:17 +00:00
Lance Willett 70ffe26854 Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:16:56 +00:00
Lance Willett a1d39f1e1e Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21611 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 21:07:19 +00:00
Lance Willett 5ee453f570 Twenty Twelve: s/Show navigation/Show menu/ in small menu button text, props nacin. See #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21573 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-21 17:31:33 +00:00
Lance Willett 6de0e77fd4 Twenty Twelve: improve navigation to be mobile-first and not rely on JS for hiding and showing, props obenland for patches. See #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21554 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 18:35:33 +00:00
Lance Willett 24c16e3b05 Twenty Twelve: remove `initial-scale` value from viewport meta element to avoid iOS zoom bug. Props bradthomas127, see #21577.
git-svn-id: http://core.svn.wordpress.org/trunk@21525 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-15 16:05:13 +00:00
lancewillett 7e850a0ce6 Twenty Twelve: pinking shears for header.php
git-svn-id: http://core.svn.wordpress.org/trunk@21492 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:42:36 +00:00
lancewillett 7ef95f756b Twenty Twelve: add basic styles for IE7 and IE8, supports basic layout now with the small-nav styles. Props obenland, closes #21440.
git-svn-id: http://core.svn.wordpress.org/trunk@21482 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-08 18:03:59 +00:00
lancewillett 29b95be1b5 Twenty Twelve: fix navigation selectors as the change in r21404 broke the small navigation menu behavior.
git-svn-id: http://core.svn.wordpress.org/trunk@21405 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 19:53:45 +00:00
lancewillett 1d9662043e Twenty Twelve: CSS and markup improvements for better child theme support, part 3. See #21379.
* Add classes like `.site` and `.site-content` in addition to the set of IDs already present, making things much better for child themes to have more than one generic element like `nav` inside the content container.
 * Bump JS version after selector change.
 * Move `image-attachment` to `post_class()` output

More exhaustive notes in the ticket on each id and class change.


git-svn-id: http://core.svn.wordpress.org/trunk@21404 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-02 19:12:11 +00:00
lancewillett 0e8c8fb1e3 Twenty Twelve: make title truly pluggable by moving output from header.php to a function. Props obenland, fixes #21233.
git-svn-id: http://core.svn.wordpress.org/trunk@21276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-18 17:07:15 +00:00
nacin 741876a148 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: http://core.svn.wordpress.org/trunk@21261 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-07-12 04:20:46 +00:00
nacin edb6c96b9f Remove Twenty Twelve from 3.4. see #19978. see http://wp.me/pbNCB-yA.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 18:41:54 +00:00
lancewillett 146e6e6b8a Twenty Twelve: correctly enqueue the fonts CSS file, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20009 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 05:19:50 +00:00
lancewillett a044beab6a 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: http://svn.automattic.com/wordpress/trunk@20007 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-28 03:59:47 +00:00
lancewillett 83c7b1ef00 Twenty Twelve: no need for threaded comment reply JS to load if comments are closed. Props iandstewart, see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:41:20 +00:00
lancewillett 285fd9bc55 Twenty Twelve style updates, props drewstrojny. See #19978.
And, use a simpler and more consistent `site-header` class value. Props iandstewart.


git-svn-id: http://svn.automattic.com/wordpress/trunk@19958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-21 06:14:51 +00:00
lancewillett ed2548bb22 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: http://svn.automattic.com/wordpress/trunk@19915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-14 03:54:46 +00:00
nacin 280b9db44f Move the wp_enqueue_style() to header.php. see #19978.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19845 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 23:07:41 +00:00
matt a577a1faf8 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: http://svn.automattic.com/wordpress/trunk@19842 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-02-06 22:23:41 +00:00