Lance Willett
3ba7b7e56a
Twenty Twelve: better handling for cases where a background color is set to white or an empty value (like first run with no theme_mods
set) and a background image is enabled, which resulted previously in a broken layout. Fixes #23586 , props obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23568 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-01 17:14:59 +00:00
Lance Willett
32ca2518b3
Twenty Eleven and Twenty Twelve: use .text()
instead of .html()
for blogname
and blogdescription
in Theme Customizer JavaScript handlers. Fixes #23435 , props mfields.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@23429 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-15 16:53:58 +00:00
Lance Willett
915b3eda40
Twenty Twelve: avoid JavaScript errors if navigation wrapper markup is removed from header. Fixes #22307 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22574 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-14 20:21:01 +00:00
Lance Willett
03e616cc7c
Twenty Twelve: remove a duplicate/misplaced condition in theme-customizer.js, props DrewAPicture. Closes #21685 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22168 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-10 20:47:07 +00:00
Lance Willett
bd9a91c240
Twenty Twelve: fix comments in two files, for accuracy.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22059 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 15:23:15 +00:00
Lance Willett
4d4babe751
Twenty Twelve: update navigation script to check for missing button and menu children earlier; allows an empty menu to be set without showing the button. See #21678 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21929 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-20 16:28:27 +00:00
Lance Willett
6165bfd311
Twenty Twelve: simplify custom font loading behavior, see #21694 .
...
* Remove theme options code and support from theme.
* Keep Open Sans font first in the stack and make it always loaded.
* Move Customizer pieces from Theme Options out of class structure and into functions.php.
git-svn-id: https://develop.svn.wordpress.org/trunk@21639 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 02:18:43 +00:00
Lance Willett
2f03315495
Twenty Twelve: JavaScript fix props obenland; no need to put the selector in a variable as it will be called only once anyway. See #21685 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21622 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:47:34 +00:00
Lance Willett
e86e4fae4b
Twenty Twelve: spaces to tabs in navigation.js, props obenland. See #21685 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21616 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 16:50:05 +00:00
Lance Willett
6255e979f8
Twenty Twelve: rework navigation to remove need for jQuery and support wp_page_menu markup better. Fixes #21562 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21611 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 21:07:19 +00:00
Lance Willett
ad6704a632
Twenty Twelve: remove matchMedia JS polyfill now that older browsers are getting mobile-first navigation styles. Props Jayjdk, see #21562 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21603 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 23:39:57 +00:00
Lance Willett
326d6db1ed
Twenty Twelve: include links to source code for html5 shiv and matchmedia polyfil, props jorbin. Fixes #21671 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21600 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 20:52:07 +00:00
Lance Willett
35ad2034b2
Twenty Twelve: re-implement the hiding of toggle element when empty menu is present, see #21562 and r21520 props cfinke.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21557 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:14:51 +00:00
Lance Willett
c148784433
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: https://develop.svn.wordpress.org/trunk@21554 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 18:35:33 +00:00
Lance Willett
c5902bca7b
Twenty Twelve: selector for navigation menu should style the menu list element, props obenland, see #21562 .
...
Also remove duplicate line-height rule, props bradthomas127. See #21577 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21520 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:56:24 +00:00
Lance Willett
b07a12820a
Twenty Twelve: stop nav slide animation when clicking the button multiple times in a row. Props Jayjdk, fixes #21531 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21519 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 05:37:36 +00:00
Lance Willett
fb349e634a
Twenty Twelve: add polyfill JS for matchMedia rules, avoids JS error in older IE versions. See #21440 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21475 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:13:32 +00:00
Lance Willett
b1f62e5a43
Twenty Twelve: Add postMessage support in Customizer for fonts, site title and description, and background color body_class value updates.
...
Props obenland for first patch and testing. Fixes #21443 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21411 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 22:10:03 +00:00
Lance Willett
4d30bd4e84
Twenty Twelve: fix navigation selectors as the change in r21404 broke the small navigation menu behavior.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21405 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 19:53:45 +00:00
Lance Willett
61d042a645
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: https://develop.svn.wordpress.org/trunk@21404 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-02 19:12:11 +00:00
Lance Willett
c7f7d937b3
Twenty Twelve: update comment header in html5 JS file.
...
Related to #20640 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21388 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:06:24 +00:00
Lance Willett
6d9357444c
Twenty Twelve: enable async body class value changes for custom background color changes in Theme Customizer. See #21226 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21343 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 19:42:55 +00:00
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
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
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