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
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
5ebd31d51e
Twenty Twelve: Homepage page template logic cleanup and style updates, props obenland. Fixes #21245 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21398 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 18:52:20 +00:00
Andrew Nacin
936b693f9f
Revert parameter changes in [21394] as these are unnecessary.
...
Our plugin API always passes the requested number arguments to a callback,
even if previous callbacks asked for less arguments than later callbacks.
see #21264 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21395 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 17:03:29 +00:00
Lance Willett
2a7834f801
Twenty Twelve: better comment block for twentytwelve_wp_title() and set passed arguments to empty strings for compatibility with plugins or child themes that might override wp_title() before this filter runs.
...
See #21264 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21394 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 16:45:12 +00:00
Lance Willett
d699dd2ae7
Twenty Twelve: use is_ssl() to load the correct protocol for Google font CSS file. Fixes #21399 , props obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21391 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:36:44 +00:00
Lance Willett
ca414c64b5
Twenty Twelve: add editor stylesheet, first pass props obenland. See #21376 .
...
RTL version and tweaks to come after more testing.
git-svn-id: https://develop.svn.wordpress.org/trunk@21389 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-01 15:28:50 +00:00
Lance Willett
fcab500058
Twenty Twelve: fix typo for comment-content container showing incorrect class value, props obenland. Closes #21242 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21371 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-30 19:56:35 +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
Lance Willett
8b2b91941a
Twenty Twelve: remove duplicate RSS feed title from wp_title output, props SergeyBiryukov. Closes #21233 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21327 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:51:23 +00:00
Lance Willett
cabf107b65
Twenty Twelve: set gray background as default, handling empty and white as fallback cases. See #21226 .
...
Also fix incorrect logic for full-width-page.php page template check in `twentytwelve_body_class` function.
git-svn-id: https://develop.svn.wordpress.org/trunk@21325 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-25 16:28:50 +00:00
Lance Willett
8dc9cd8698
Twenty Twelve: Update full-width handling with a missing CSS selector, and add case of no sidebar to the content_width calculation. Props obenland, fixes #21254 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21279 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:13:49 +00:00
Lance Willett
4686ae30de
Twenty Twelve: minor comment text fix, props griffinjt. Closes #21291 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21278 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 18:06:18 +00:00
Lance Willett
03eca08891
Twenty Twelve: make title truly pluggable by moving output from header.php to a function. Props obenland, fixes #21233 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21276 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 17:07:15 +00:00
Lance Willett
5c27dfc67c
Twenty Twelve: proper namespace for two script/style handles in functions.php, props obenland. Fixes #21230 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21275 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-18 16:26:40 +00:00
Lance Willett
2934b3d7b0
Twenty Twelve: change content_width variable to the correct value, matching the width of the main content container. Fixes #21248 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21267 602fd350-edb4-49c9-b593-d223f7449a82
2012-07-13 00:27:29 +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
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
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
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
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
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
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