Commit Graph

983 Commits

Author SHA1 Message Date
Lance Willett 708c9746a9 Twenty Twelve: go with `echo get_the_date()` here, added in r21670 but reverted accidentally in r21674. Props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 19:32:05 +00:00
Lance Willett 83fd26c1a0 Twenty Twelve: add a better permalink markup structure to content-image.php template, for usability when image posts have no title. Props obenland, fixes #21723.
git-svn-id: http://core.svn.wordpress.org/trunk@21674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 19:27:27 +00:00
Lance Willett 1bb58f28e7 Twenty Twelve: use `get_the_date()` rather than `the_date()` in content templates to ensure a date is always output and a post permalink is visible to site visitors. Props obenland and ocean90, fixes #21721.
git-svn-id: http://core.svn.wordpress.org/trunk@21670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 17:23:22 +00:00
Bot (Translations) 2fd9f64928 POT, generated from r21668
git-svn-id: http://core.svn.wordpress.org/trunk@21669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 17:18:55 +00:00
Lance Willett 0c8e14a3ad 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: http://core.svn.wordpress.org/trunk@21668 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:59:22 +00:00
Lance Willett 6231725926 Twenty Twelve: remove aggressive text-align rule, set to inherit instead to allow editor-added styles to justify per author's desire. Props obenland, fixes #21739.
git-svn-id: http://core.svn.wordpress.org/trunk@21667 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:39:49 +00:00
Lance Willett 02f05196bf Twenty Twelve: move text treatment for footer anchor element up to its parent container, to allow styling any text in the footer.
git-svn-id: http://core.svn.wordpress.org/trunk@21666 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:25:31 +00:00
Lance Willett 07671eaa88 Twenty Twelve: remove unneeded float rule from nav list items, there is nothing to override here.
Also allows authors to assign CSS classes and float menu items with something like `alignright`.


git-svn-id: http://core.svn.wordpress.org/trunk@21665 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-30 16:24:29 +00:00
Bot (Translations) ab7fb3d244 POT, generated from r21648
git-svn-id: http://core.svn.wordpress.org/trunk@21649 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 18:18:47 +00:00
Lance Willett 8602864577 Twenty Twelve: use sidebar ID string value for sidebar checks instead of hard-coded integer, props nacin. See #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:16:18 +00:00
Lance Willett 3922fe7686 Twenty Twelve: rename custom page templates and place in sub-directory. Closes #21715.
git-svn-id: http://core.svn.wordpress.org/trunk@21642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 17:12:10 +00:00
Bot (Translations) b6c5242bad POT, generated from r21639
git-svn-id: http://core.svn.wordpress.org/trunk@21640 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 03:19:03 +00:00
Lance Willett 5beee34612 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: http://core.svn.wordpress.org/trunk@21639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 02:18:43 +00:00
Bot (Translations) bacb749629 POT, generated from r21637
git-svn-id: http://core.svn.wordpress.org/trunk@21638 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 02:18:23 +00:00
Lance Willett 0f515e20f9 Twenty Twelve: add rule to force override the fixed width for Twitter embeds. Props kovshenin, see #21680.
git-svn-id: http://core.svn.wordpress.org/trunk@21637 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:29:16 +00:00
Lance Willett 197fa28922 Twenty Twelve: improve line-height and font-size for text widget output without added paragraph wrappers. Props leogermani, fixes #21693.
git-svn-id: http://core.svn.wordpress.org/trunk@21636 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:23:13 +00:00
Lance Willett 1b66f93bb0 Twenty Twelve: add back more specific selector to wp-smiley class, forces removing image shadows from smileys. Props obenland, fixes #21696.
git-svn-id: http://core.svn.wordpress.org/trunk@21635 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:18:12 +00:00
Lance Willett f4116da75a Twenty Twelve: add missing period in meta section of the 'image.php' template. Props viniciusmassuchetto, fixes #21695.
git-svn-id: http://core.svn.wordpress.org/trunk@21634 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-28 01:15:13 +00:00
Lance Willett afd493abe9 Twenty Twelve: style email and url input types, and minor stylesheet cleanup.
git-svn-id: http://core.svn.wordpress.org/trunk@21626 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 23:27:04 +00:00
Bot (Translations) 25aa794f46 POT, generated from r21624
git-svn-id: http://core.svn.wordpress.org/trunk@21625 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 18:18:46 +00:00
Lance Willett 30ba6ef778 Twenty Twelve: pinking your trailing spaces, see #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21624 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:57:42 +00:00
Lance Willett 719e80e8cd Twenty Twelve: theme-options.php fixes from obenland, see #21685.
* Capability is already set to 'edit_theme_options' by default
 * Simplify logic for form input validation


git-svn-id: http://core.svn.wordpress.org/trunk@21623 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:51:21 +00:00
Lance Willett fe87773446 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: http://core.svn.wordpress.org/trunk@21622 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:47:34 +00:00
Lance Willett b3711fba97 Twenty Twelve: comments.php, cleanup and better indentation. Props obenland, see #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21621 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:41:32 +00:00
Lance Willett 61174d8cdf Twenty Twelve: consistently call sidebar areas with just the ID value, props obenland. See #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21620 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:32:06 +00:00
Bot (Translations) 810869a520 POT, generated from r21617
git-svn-id: http://core.svn.wordpress.org/trunk@21619 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 17:18:53 +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 3ec703a6d1 Twenty Twelve: review and clarify code commenting and documentation. Props jorbin and obenland. See #21675.
git-svn-id: http://core.svn.wordpress.org/trunk@21617 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 16:53:32 +00:00
Lance Willett 8932111b07 Twenty Twelve: spaces to tabs in navigation.js, props obenland. See #21685.
git-svn-id: http://core.svn.wordpress.org/trunk@21616 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 16:50:05 +00:00
Bot (Translations) 9519b9d000 POT, generated from r21613
git-svn-id: http://core.svn.wordpress.org/trunk@21614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-25 00:19:05 +00:00
Lance Willett 6bf7377138 Twenty Twelve: bump theme version to .9
git-svn-id: http://core.svn.wordpress.org/trunk@21613 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 23:41:25 +00:00
Lance Willett b4fb1aaf21 Twenty Twelve: remove typo in r21611. No 13 fo' you.
git-svn-id: http://core.svn.wordpress.org/trunk@21612 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 21:08:35 +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
Bot (Translations) dc3801d2ac POT, generated from r21605
git-svn-id: http://core.svn.wordpress.org/trunk@21607 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 16:18:56 +00:00
Bot (Translations) aef278a516 POT, generated from r21605
git-svn-id: http://core.svn.wordpress.org/trunk@21606 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 16:18:49 +00:00
Andrew Nacin 770ee9720a Add new 'flexible-header' tag for themes. Add it to Twenty Ten and Twenty Eleven. [21533] added it for Twenty Twelve.
props lancewillett. fixes #21065.



git-svn-id: http://core.svn.wordpress.org/trunk@21604 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-24 15:22:14 +00:00
Lance Willett feb752da92 Twenty Twelve: remove matchMedia JS polyfill now that older browsers are getting mobile-first navigation styles. Props Jayjdk, see #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21603 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 23:39:57 +00:00
Bot (Translations) 8feca73039 POT, generated from r21600
git-svn-id: http://core.svn.wordpress.org/trunk@21602 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 21:18:27 +00:00
Lance Willett 64afcc0dea Twenty Twelve: include links to source code for html5 shiv and matchmedia polyfil, props jorbin. Fixes #21671.
git-svn-id: http://core.svn.wordpress.org/trunk@21600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-23 20:52:07 +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 ed3a84bacc Twenty Twelve: add in missing style.css tag for 'editor-style', see #21376.
git-svn-id: http://core.svn.wordpress.org/trunk@21566 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 22:26:51 +00:00
Lance Willett 8091c3e0e1 Twenty Twelve: update RTL stylsheet based on recent layout changes, see #21441.
git-svn-id: http://core.svn.wordpress.org/trunk@21565 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 22:11:36 +00:00
Lance Willett c6aca81768 Twenty Twelve: in small menu give sub-menu items a bit of indentation to denote the hierarchy of items. See #21562.
git-svn-id: http://core.svn.wordpress.org/trunk@21564 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 22:10:56 +00:00
Lance Willett c255fe7e6e Twenty Twelve: minor style fixes for small navigation menu (line-height) -- see #21562; featured image on homepage timeplate (space below image in small layouts).
git-svn-id: http://core.svn.wordpress.org/trunk@21562 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 21:44:38 +00:00
Lance Willett ef9743af7c Twenty Twelve: better naming for the homepage widget areas, props nacin. See #21619.
git-svn-id: http://core.svn.wordpress.org/trunk@21558 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 19:43:16 +00:00
Lance Willett 1dabc15e34 Twenty Twelve: re-implement the hiding of toggle element when empty menu is present, see #21562 and r21520 props cfinke.
git-svn-id: http://core.svn.wordpress.org/trunk@21557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 19:14:51 +00:00
Lance Willett 786a5de88f Twenty Twelve: patch IE7 for clip styles (hidden elements were displaying incorrectly).
git-svn-id: http://core.svn.wordpress.org/trunk@21556 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 19:13:28 +00:00
Lance Willett 4ee38a3ca6 Twenty Twelve: change homepage widget areas to use columns or multiple areas instead of one big area. Fixes #21619, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@21555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-20 18:45:00 +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 26ebec2fc8 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: http://core.svn.wordpress.org/trunk@21543 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-17 22:18:01 +00:00