Commit Graph

1057 Commits

Author SHA1 Message Date
Lance Willett 2cee83814b Twenty Twelve: go with `echo get_the_date()` here, added in r21670 but reverted accidentally in r21674. Props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@21675 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 19:32:05 +00:00
Lance Willett b9c884ed97 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: https://develop.svn.wordpress.org/trunk@21674 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 19:27:27 +00:00
Lance Willett 8e8c5b77fe 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: https://develop.svn.wordpress.org/trunk@21670 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 17:23:22 +00:00
potbot 3baea99e9b POT, generated from r21668
git-svn-id: https://develop.svn.wordpress.org/trunk@21669 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 17:18:55 +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 93f85f9f9f 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: https://develop.svn.wordpress.org/trunk@21667 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 16:39:49 +00:00
Lance Willett f9429df937 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: https://develop.svn.wordpress.org/trunk@21666 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 16:25:31 +00:00
Lance Willett ce7c75f5b5 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: https://develop.svn.wordpress.org/trunk@21665 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-30 16:24:29 +00:00
potbot 331b063910 POT, generated from r21648
git-svn-id: https://develop.svn.wordpress.org/trunk@21649 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 18:18:47 +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
potbot e1817f66d2 POT, generated from r21639
git-svn-id: https://develop.svn.wordpress.org/trunk@21640 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 03:19:03 +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
potbot 5aafc923cd POT, generated from r21637
git-svn-id: https://develop.svn.wordpress.org/trunk@21638 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 02:18:23 +00:00
Lance Willett c93e79d25a Twenty Twelve: add rule to force override the fixed width for Twitter embeds. Props kovshenin, see #21680.
git-svn-id: https://develop.svn.wordpress.org/trunk@21637 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:29:16 +00:00
Lance Willett 0e13c1d7d0 Twenty Twelve: improve line-height and font-size for text widget output without added paragraph wrappers. Props leogermani, fixes #21693.
git-svn-id: https://develop.svn.wordpress.org/trunk@21636 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:23:13 +00:00
Lance Willett 518e6bead2 Twenty Twelve: add back more specific selector to wp-smiley class, forces removing image shadows from smileys. Props obenland, fixes #21696.
git-svn-id: https://develop.svn.wordpress.org/trunk@21635 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:18:12 +00:00
Lance Willett 51008220e8 Twenty Twelve: add missing period in meta section of the 'image.php' template. Props viniciusmassuchetto, fixes #21695.
git-svn-id: https://develop.svn.wordpress.org/trunk@21634 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-28 01:15:13 +00:00
Lance Willett 58e0fdfd7b Twenty Twelve: style email and url input types, and minor stylesheet cleanup.
git-svn-id: https://develop.svn.wordpress.org/trunk@21626 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 23:27:04 +00:00
potbot 4785be51e1 POT, generated from r21624
git-svn-id: https://develop.svn.wordpress.org/trunk@21625 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 18:18:46 +00:00
Lance Willett a64990b266 Twenty Twelve: pinking your trailing spaces, see #21675.
git-svn-id: https://develop.svn.wordpress.org/trunk@21624 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:57:42 +00:00
Lance Willett e28400718b 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: https://develop.svn.wordpress.org/trunk@21623 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:51:21 +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 4e6d018d53 Twenty Twelve: comments.php, cleanup and better indentation. Props obenland, see #21685.
git-svn-id: https://develop.svn.wordpress.org/trunk@21621 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:41:32 +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
potbot 05160bb1dc POT, generated from r21617
git-svn-id: https://develop.svn.wordpress.org/trunk@21619 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 17:18:53 +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 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
potbot 351fa9cdea POT, generated from r21613
git-svn-id: https://develop.svn.wordpress.org/trunk@21614 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-25 00:19:05 +00:00
Lance Willett 29252a0121 Twenty Twelve: bump theme version to .9
git-svn-id: https://develop.svn.wordpress.org/trunk@21613 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 23:41:25 +00:00
Lance Willett ed2c34c971 Twenty Twelve: remove typo in r21611. No 13 fo' you.
git-svn-id: https://develop.svn.wordpress.org/trunk@21612 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 21:08:35 +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
potbot 9826917f39 POT, generated from r21605
git-svn-id: https://develop.svn.wordpress.org/trunk@21607 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 16:18:56 +00:00
potbot 57e6d56ea4 POT, generated from r21605
git-svn-id: https://develop.svn.wordpress.org/trunk@21606 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 16:18:49 +00:00
Andrew Nacin e1d2b7baa0 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: https://develop.svn.wordpress.org/trunk@21604 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-24 15:22:14 +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
potbot 2578ecfabd POT, generated from r21600
git-svn-id: https://develop.svn.wordpress.org/trunk@21602 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-23 21:18:27 +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 2b6c43d89b Twenty Twelve: s/Show navigation/Show menu/ in small menu button text, props nacin. See #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21573 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-21 17:31:33 +00:00
Lance Willett 89d3a6c1a1 Twenty Twelve: add in missing style.css tag for 'editor-style', see #21376.
git-svn-id: https://develop.svn.wordpress.org/trunk@21566 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:26:51 +00:00
Lance Willett 81e0beea4c Twenty Twelve: update RTL stylsheet based on recent layout changes, see #21441.
git-svn-id: https://develop.svn.wordpress.org/trunk@21565 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:11:36 +00:00
Lance Willett c03b4a21c6 Twenty Twelve: in small menu give sub-menu items a bit of indentation to denote the hierarchy of items. See #21562.
git-svn-id: https://develop.svn.wordpress.org/trunk@21564 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 22:10:56 +00:00
Lance Willett c4e51487e5 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: https://develop.svn.wordpress.org/trunk@21562 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 21:44:38 +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 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 9bdc159632 Twenty Twelve: patch IE7 for clip styles (hidden elements were displaying incorrectly).
git-svn-id: https://develop.svn.wordpress.org/trunk@21556 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-20 19:13:28 +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