Lance Willett
e6bc7f67f9
Twenty Twelve: escape navigation ID output, props nacin. See #22690 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22999 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 20:12:22 +00:00
Lance Willett
d0dea25296
Twenty Twelve: improve arrow display in comment reply text, props miqrogroove. Also consistent styles for edit link to match reply link in color and size. Closes #22468 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22614 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-16 21:22:17 +00:00
Lance Willett
67deebeca5
Bundled Themes: allow `show_home` argument to be overridden when using `wp_page_menu` as a fallback to a Custom Menu. Props SergeyBiryukov and kovshenin, fixes #22331 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22359 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-02 16:52:53 +00:00
Lance Willett
96c3ade4b5
Twenty Twelve: remove invalid `pubdate` value from time elements. See #22095 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22206 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 23:39:24 +00:00
Lance Willett
093fd9bb1d
Twenty Twelve: implement better support for IE7 and IE8 (don't use mobile menu). See #22044 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22201 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-11 22:07:06 +00:00
Lance Willett
295237f41f
Twenty Twelve: better logic for on/off setting to be translated to turn off the font if translators explicitly say so. Also minor fixes to spelling and to use yoda comparison. Fixes #21751 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22066 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 17:44:54 +00:00
Andrew Nacin
71c3fc4e5b
Make a string not empty to it ends up in the POT file.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22052 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:38:16 +00:00
Andrew Nacin
30816ade4e
Simplify the Open Sans translator voodoo. see #21751 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22049 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-27 07:30:27 +00:00
Lance Willett
5453d7d84d
Twenty Twelve: allow translators to load extra character subsets for Open Sans font, props obenland. See #21751 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22020 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-26 20:05:12 +00:00
Lance Willett
ca87da4ae7
Twenty Twelve: update comment blocks at top of each page template with a better explanation of use and purpose.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@22002 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-25 19:58:33 +00:00
Lance Willett
266f8fda03
Twenty Twelve: remove the word "Blog" from archive title, see #21951 . Also remove from two comments in functions.php.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21976 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-24 18:33:09 +00:00
Lance Willett
9cadeb70ca
Twenty Twelve: remove `twentytwelve_frontpage_sidebar_class()` and make front page sidebar number filterable via `body_class`. Fixes #21942 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21975 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-24 16:57:42 +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
da5ab73df1
Twenty Twelve: rename homepage template to front-page; including s/home/front-page/ in many places -- see notes in ticket. See #21909 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21886 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-18 17:28:36 +00:00
Lance Willett
97355aebf0
Twenty Twelve: allow Open Sans to be disabled per language, since it does not support all languages, and some odd combinations of OS and browser versions don't support any non-Latin language very well.
...
Props obenland and SergeyBiryukov for patches, fixes #21751 .
git-svn-id: https://develop.svn.wordpress.org/trunk@21882 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-17 22:07:51 +00:00
Lance Willett
e85e39fa87
Twenty Twelve: hide author name on single author blogs, using `is_multi_author()` -- fixes #21759 , props iamtakashi.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21761 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-05 04:33:55 +00:00
Lance Willett
8d29c1f2f8
Twenty Twelve: add support for Status post format. See #21743 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21726 602fd350-edb4-49c9-b593-d223f7449a82
2012-09-04 05:00:19 +00:00
Lance Willett
9051dd1d06
Twenty Twelve: move Open Sans custom font loading to a body class to allow easier overriding, fixes #21694 .
...
* Use wp_style_is() to check for the enqueued CSS file before adding the body class value.
* Add a sample dequeue method in the comments as documentation for child themers and their ilk.
Props viniciusmassuchetto, nacin, and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21668 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 16:59:22 +00:00
Lance Willett
01b8de2e0e
Twenty Twelve: use sidebar ID string value for sidebar checks instead of hard-coded integer, props nacin. See #21685 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21643 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:16:18 +00:00
Lance Willett
0dae6cb745
Twenty Twelve: rename custom page templates and place in sub-directory. Closes #21715 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21642 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 17:12:10 +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
762134e6f6
Twenty Twelve: consistently call sidebar areas with just the ID value, props obenland. See #21685 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21620 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:32:06 +00:00
Lance Willett
b35b668041
Twenty Twelve: review and clean up end-of-element HTML comments. Props obenland for starter patch. Closes #21675 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21618 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:16:56 +00:00
Lance Willett
9cbecf7a84
Twenty Twelve: review and clarify code commenting and documentation. Props jorbin and obenland. See #21675 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21617 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 16:53:32 +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
453941f725
Twenty Twelve: better naming for the homepage widget areas, props nacin. See #21619 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21558 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:43:16 +00:00
Lance Willett
1addc8f756
Twenty Twelve: change homepage widget areas to use columns or multiple areas instead of one big area. Fixes #21619 , props obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21555 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 18:45:00 +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
c43e008f54
Twenty Twelve: remove twentytwelve_is_categorized_site() in favor of a theme-agnostic future core fix for this issue, see #21479 .
...
Also simplify the logic for checking tag and categories, props SergeyBiryukov and obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21543 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 22:18:01 +00:00
Lance Willett
0c088e5f37
Twenty Twelve: output dynamic end comment ID value for navigation container (above|below).
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21542 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-17 21:20:16 +00:00
Lance Willett
1ccc08642e
Twenty Twelve: s/"/'/ in array notation, props JarretC. Fixes #21587 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21524 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-15 15:58:25 +00:00
Lance Willett
ced74a6194
Twenty Twelve: make twentytwelve_is_categorized_site() pluggable, see #21479 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21489 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:20:25 +00:00
Lance Willett
8d8b4214c5
Twenty Twelve: cleanup up extra space in functions.php
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21479 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-08 16:59:15 +00:00
Lance Willett
5183b18ace
Twenty Twelve: check for empty variable for simpler logic, props jkudish. See #21479 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21449 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-06 00:01:32 +00:00
Lance Willett
d21e5fe232
Twenty Twelve: hide category and tag output in post meta if only 1 term. Props ryanimel, jkudish and fixes #21479 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21444 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 23:04:32 +00:00
Lance Willett
ad42b71413
Twenty Twelve: set version to null to force no stylesheet version number when loading third-party CSS for Google Fonts. Props drewstrojny and obenland.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@21428 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-05 20:41:20 +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
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