Commit Graph

83 Commits

Author SHA1 Message Date
Lance Willett
f81f253434 Twenty Fourteen: add ARIA attributes to menu toggle. See #31527.
Built from https://develop.svn.wordpress.org/trunk@31784


git-svn-id: http://core.svn.wordpress.org/trunk@31764 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-03-15 20:00:27 +00:00
Lance Willett
86a133a79a Bundled themes: replace array_shift() with current() for performance.
Props SergeyBiryukov, fixes #31260.
Built from https://develop.svn.wordpress.org/trunk@31453


git-svn-id: http://core.svn.wordpress.org/trunk@31434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2015-02-13 17:52:27 +00:00
Lance Willett
2a01466813 Twenty Fourteen: remove Genericons as a dependency from loading the main stylesheet and IE-specific stylesheet. See #30532.
Built from https://develop.svn.wordpress.org/trunk@30866


git-svn-id: http://core.svn.wordpress.org/trunk@30856 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-12-15 17:40:22 +00:00
Dominik Schilling
61819a36ea Customizer: Change instances of "Theme Customizer" to just "Customizer", as the Customizer isn't necessarily theme-specific.
Also capitalize "Customizer".
See also https://make.wordpress.org/core/2014/07/08/customizer-improvements-in-4-0/.

props studionashvegas, tareq1988.
fixes #29947.
Built from https://develop.svn.wordpress.org/trunk@29903


git-svn-id: http://core.svn.wordpress.org/trunk@29658 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-10-15 17:21:19 +00:00
Sergey Biryukov
045a222180 Twenty Fourteen: Include Latin Extended font subset for Lato.
fixes #29690.
Built from https://develop.svn.wordpress.org/trunk@29772


git-svn-id: http://core.svn.wordpress.org/trunk@29544 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-09-27 10:16:17 +00:00
Lance Willett
e7e1169aa5 Twenty Fourteen: fix header display on multisite signup and activate views. Fixes #28573, props slobodanmanic.
Built from https://develop.svn.wordpress.org/trunk@29100


git-svn-id: http://core.svn.wordpress.org/trunk@28886 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-07-11 19:04:13 +00:00
Lance Willett
005d30e820 Twenty Fourteen: fix masthead behavior in IE when a custom header image is present. Props Kau-Boy, lancewillett. Fixes #27220.
Built from https://develop.svn.wordpress.org/trunk@28758


git-svn-id: http://core.svn.wordpress.org/trunk@28571 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-16 18:22:14 +00:00
Lance Willett
c54618ab9c Twenty Fourteen: first pass at better Audio/Video player styling with genericons. Props celloexpressions, see #26469.
Built from https://develop.svn.wordpress.org/trunk@28694


git-svn-id: http://core.svn.wordpress.org/trunk@28512 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 18:57:14 +00:00
Lance Willett
64eaedb9eb Twenty Fourteen: update to Genericons 3.0.3. Props celloexpressions, closes #28456.
Built from https://develop.svn.wordpress.org/trunk@28692


git-svn-id: http://core.svn.wordpress.org/trunk@28510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-06 17:36:14 +00:00
Lance Willett
5897fb2ed1 Twenty Fourteen: add documentation for global variables used in twentyfourteen_wp_title(). Closes #28421.
Built from https://develop.svn.wordpress.org/trunk@28661


git-svn-id: http://core.svn.wordpress.org/trunk@28479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-06-04 17:15:15 +00:00
Sergey Biryukov
2c97f4640b Prevent 'Page %s' from being added to page title on 404 error pages in bundled themes.
props psoluch, rob1n.
fixes #16468.
Built from https://develop.svn.wordpress.org/trunk@28250


git-svn-id: http://core.svn.wordpress.org/trunk@28078 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-05-04 13:17:28 +00:00
Lance Willett
a450512b7b Twenty Thirteen and Fourteen: implement HTML5 markup for galleries (see #26697) and captions (see #26642). Props obenland, closes #27502.
Built from https://develop.svn.wordpress.org/trunk@27763


git-svn-id: http://core.svn.wordpress.org/trunk@27600 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-27 00:06:28 +00:00
Lance Willett
a40a36e539 Twenty Fourteen: load Masonry after window load event to give more time for widget content to load before drawing the layout. Closes #27051.
Built from https://develop.svn.wordpress.org/trunk@27627


git-svn-id: http://core.svn.wordpress.org/trunk@27470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 23:08:14 +00:00
Lance Willett
4aacf01403 Twenty Fourteen: revert r27623 post_class filter removal since it will visually break pre-WP 3.9 installs. See #18804.
Built from https://develop.svn.wordpress.org/trunk@27624


git-svn-id: http://core.svn.wordpress.org/trunk@27467 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 20:49:15 +00:00
Lance Willett
561ab7b840 Twenty Fourteen: remove post_class filter for has-post-thumbnail now that it's added in core for every theme. See #18804.
Built from https://develop.svn.wordpress.org/trunk@27623


git-svn-id: http://core.svn.wordpress.org/trunk@27466 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-19 19:13:15 +00:00
Lance Willett
a46e7ca3dc Twenty Fourteen: remove doc block comments for @return void. See #27098, props philiparthurmoore.
Built from https://develop.svn.wordpress.org/trunk@27595


git-svn-id: http://core.svn.wordpress.org/trunk@27438 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-18 22:44:14 +00:00
Andrew Nacin
616205856e Twenty Fourteen: Add a .button class.
props celloexpressions.
fixes #27075.

Built from https://develop.svn.wordpress.org/trunk@27442


git-svn-id: http://core.svn.wordpress.org/trunk@27289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-03-06 19:54:15 +00:00
Scott Taylor
6df629fb02 in TwentyFourteen: don't add the has-post-thumbnail class or print the featured image when viewing an attachment.
See #27243.


Built from https://develop.svn.wordpress.org/trunk@27330


git-svn-id: http://core.svn.wordpress.org/trunk@27182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-28 21:57:13 +00:00
Andrew Nacin
c5802858cc Default themes: Use the 'display' filter for get_bloginfo( 'name' ) attached to the wp_title filter.
props michelwppi.
fixes #26811.

Built from https://develop.svn.wordpress.org/trunk@27091


git-svn-id: http://core.svn.wordpress.org/trunk@26963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2014-02-04 13:57:12 +00:00
Lance Willett
adb22a86fd Twenty Fourteen: match screen-reader-text accessibility styles a bit better with core, to avoid a jump when you move through the links, and to avoid a horizontal scroll at certain viewport widths. Also fix JS focus by specifying the first match object. Closes #25592.
Built from https://develop.svn.wordpress.org/trunk@26843


git-svn-id: http://core.svn.wordpress.org/trunk@26730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-09 20:38:12 +00:00
Lance Willett
017fd0b083 Twenty Fourteen: fix too-wide search "jump to" link and provide focus on the search input when it's used. Closes #25592.
Built from https://develop.svn.wordpress.org/trunk@26691


git-svn-id: http://core.svn.wordpress.org/trunk@26581 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:28:11 +00:00
Lance Willett
8e352c8187 Twenty Fourteen: remove unneeded !important declarations, and comment the ones we absolutely need to keep around. Fixes #26444.
Built from https://develop.svn.wordpress.org/trunk@26689


git-svn-id: http://core.svn.wordpress.org/trunk@26579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 21:03:11 +00:00
Lance Willett
b15de66997 Twenty Fourteen: fix two usability issues with touch events on mobile devices with the Featured Content slider:
* Try to avoid the slight delay when swiping from one slide to the next.
 * Fix bug where second to last slide was animating like it was the last.

Fixes #26191.
Built from https://develop.svn.wordpress.org/trunk@26665


git-svn-id: http://core.svn.wordpress.org/trunk@26555 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 08:21:10 +00:00
Lance Willett
1b78eb0bb2 Twenty Fourteen: change sort order on Contributor template to put author with mosts posts at the top. Props iamtakashi, closes #26427; see #24863.
Built from https://develop.svn.wordpress.org/trunk@26657


git-svn-id: http://core.svn.wordpress.org/trunk@26547 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-05 03:16:10 +00:00
Lance Willett
84d9b4241b Twenty Fourteen: ensure attachment image size is correct at 810 pixels. Props iamtakashi, fixes #26384.
Built from https://develop.svn.wordpress.org/trunk@26598


git-svn-id: http://core.svn.wordpress.org/trunk@26488 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-04 03:24:19 +00:00
Sergey Biryukov
54cc0d8b9e Twenty Fourteen: Remove obsolete comment. props DrewAPicture. fixes #26380.
Built from https://develop.svn.wordpress.org/trunk@26581


git-svn-id: http://core.svn.wordpress.org/trunk@26471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 19:20:09 +00:00
Lance Willett
5b54845df7 Twenty Fourteen: reposition the window on jump-to-anchor to account for header height. Props obenland, fixes #26213.
Built from https://develop.svn.wordpress.org/trunk@26574


git-svn-id: http://core.svn.wordpress.org/trunk@26465 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 18:35:10 +00:00
Lance Willett
addc2a8f38 Twenty Fourteen: fix stylesheet loading, broken in r26560.
Built from https://develop.svn.wordpress.org/trunk@26565


git-svn-id: http://core.svn.wordpress.org/trunk@26456 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:41:09 +00:00
Lance Willett
ee67057ade Twenty Fourteen: code cleanup, props kovshenin. See #25946.
* Filtering `twentyfourteen_has_featured_posts()` false suggests the filter expects a boolean value, but we expect an array. Use an existing function instead.
 * In both style.css and ie.css use Genericons, so let's not forget to declare the dependancy.
 * Make sure Lato font is enqueued in `admin_print_scripts`.
Built from https://develop.svn.wordpress.org/trunk@26560


git-svn-id: http://core.svn.wordpress.org/trunk@26451 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:28:10 +00:00
Lance Willett
e46662b6ae Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837.
Built from https://develop.svn.wordpress.org/trunk@26556


git-svn-id: http://core.svn.wordpress.org/trunk@26447 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-12-03 17:06:11 +00:00
Lance Willett
7431d1b9ac Twenty Fourteen: fix typos and a correct @return value, props morganestes. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26325


git-svn-id: http://core.svn.wordpress.org/trunk@26228 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-22 11:20:10 +00:00
Lance Willett
9e201fadff Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093.
Built from https://develop.svn.wordpress.org/trunk@26260


git-svn-id: http://core.svn.wordpress.org/trunk@26166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 23:11:10 +00:00
Lance Willett
881c608592 Twenty Fourteen: remove singular body class when a page is set to be the front page, and minor style tweaks. Props iamtakashi, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26249


git-svn-id: http://core.svn.wordpress.org/trunk@26155 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-18 19:21:09 +00:00
Lance Willett
3c0f497fad Twenty Fourteen: general cleanup for spacing, inline comments. Props obenland, see #25946.
Built from https://develop.svn.wordpress.org/trunk@26227


git-svn-id: http://core.svn.wordpress.org/trunk@26134 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:20:09 +00:00
Lance Willett
a52f3ebb7b Twenty Fourteen: limit back compat to 3.6 and later versions. See #26055, props obenland.
Built from https://develop.svn.wordpress.org/trunk@26225


git-svn-id: http://core.svn.wordpress.org/trunk@26132 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 21:15:10 +00:00
Lance Willett
330948ced3 Twenty Fourteen: remove a font weight of 900 italic which isn't needed. Props iamtakashi. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26218


git-svn-id: http://core.svn.wordpress.org/trunk@26126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:03:10 +00:00
Lance Willett
c3bd52a52f Twenty Fourteen: remove main-content element where not necessary, props iamtakashi. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26217


git-svn-id: http://core.svn.wordpress.org/trunk@26125 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-15 19:01:09 +00:00
Lance Willett
c8cfe17a02 Twenty Fourteen: simplify and prefix post thumbnail sizes, props obenland. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26152


git-svn-id: http://core.svn.wordpress.org/trunk@26063 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:50:11 +00:00
Lance Willett
85dcc4aea8 Twenty Fourteen: remove unused class name, props obenland. See #25946.
Built from https://develop.svn.wordpress.org/trunk@26151


git-svn-id: http://core.svn.wordpress.org/trunk@26062 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-14 04:46:10 +00:00
Lance Willett
a68971ba3e Twenty Fourteen: move page templates into their own directory. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26105


git-svn-id: http://core.svn.wordpress.org/trunk@26020 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 19:03:09 +00:00
Lance Willett
369044f9a5 Twenty Fourteen: move CSS files except for rtl.css and style.css into new css directory. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26104


git-svn-id: http://core.svn.wordpress.org/trunk@26019 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:57:09 +00:00
Lance Willett
d6fdcfc432 Twenty Fourteen: rename fonts to genericons. See #25929.
Built from https://develop.svn.wordpress.org/trunk@26103


git-svn-id: http://core.svn.wordpress.org/trunk@26018 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 18:38:10 +00:00
Lance Willett
9a5e81ec88 Twenty Fourteen: don't load unused font weights. Props iamtakashi, fixes #25922.
Built from https://develop.svn.wordpress.org/trunk@26099


git-svn-id: http://core.svn.wordpress.org/trunk@26014 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 16:48:09 +00:00
Lance Willett
323b7c4627 Twenty Fourteen: first pass at older Internet Explorer browser support. Props iamtakashi, see #25036.
Built from https://develop.svn.wordpress.org/trunk@26097


git-svn-id: http://core.svn.wordpress.org/trunk@26012 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-12 04:18:11 +00:00
Lance Willett
8e0733a6c7 Twenty Fourteen: allow slider "Previous" and "Next" labels to be translated, props michahwave. Fixes #25897.
Built from https://develop.svn.wordpress.org/trunk@26071


git-svn-id: http://core.svn.wordpress.org/trunk@25991 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-09 23:28:09 +00:00
Lance Willett
1b98c32e7a Twenty Fourteen: performance win by reducing the number of post thumbnail sizes needed in the theme. Props iamtakashi, closes #25876.
Built from https://develop.svn.wordpress.org/trunk@26047


git-svn-id: http://core.svn.wordpress.org/trunk@25972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-08 05:31:09 +00:00
Lance Willett
5420155231 Twenty Fourteen: move all controls for managing Featured Content to the Customizer. Also implement smart fallbacks to not using a custom tag with the "featured" tag and sticky posts. Props obenland and celloexpressions, see #25549.
Built from https://develop.svn.wordpress.org/trunk@26037


git-svn-id: http://core.svn.wordpress.org/trunk@25966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-07 20:25:09 +00:00
Lance Willett
35af8942ab Twenty Fourteen: add full-width featured images for layouts without a content sidebar, but use wp_is_mobile() to load smaller-sized images for mobile. Props iamtakashi, fixes #25758.
Built from https://develop.svn.wordpress.org/trunk@26026


git-svn-id: http://core.svn.wordpress.org/trunk@25956 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-06 20:40:10 +00:00
Lance Willett
c1b0fa9039 Twenty Fourteen: add Audio post format support. Props celloexpressions, closes #25807.
Built from https://develop.svn.wordpress.org/trunk@26020


git-svn-id: http://core.svn.wordpress.org/trunk@25951 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-05 21:52:09 +00:00
Lance Willett
50fbc698fd Twenty Fourteen: update bundled Genericons to the latest version, 3.0.2. Props iamtakashi, closes #25812.
Built from https://develop.svn.wordpress.org/trunk@26003


git-svn-id: http://core.svn.wordpress.org/trunk@25936 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-11-04 18:08:10 +00:00