Commit Graph

210 Commits

Author SHA1 Message Date
Lance Willett
a5e547d2fb Twenty Fourteen: CSS fixes, props celloexpressions. Fixes #26188.
* Remove unnecessary color layer in header nav (same as header background).
 * Fix site description padding with header shadow.
 * Create the MediaElements players' time rail and volume container backgrounds with a semi-transparent color so that it adjusts with the player background color if that's changed.

git-svn-id: https://develop.svn.wordpress.org/trunk@26579 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:50:20 +00:00
Lance Willett
0ebba80c02 Twenty Fourteen: remove transient usage in Ephemera widget to fix caching issues. Props obenland, closes #26210 and #26335.
git-svn-id: https://develop.svn.wordpress.org/trunk@26577 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:46:02 +00:00
Lance Willett
49f8312ac2 Twenty Fourteen: proper i18n and translator context for date formatted strings in archive template. Props Frank Klein and mako09, fixes #26367.
git-svn-id: https://develop.svn.wordpress.org/trunk@26576 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:44:39 +00:00
Lance Willett
7392fd66af Twenty Fourteen: reposition the window on jump-to-anchor to account for header height. Props obenland, fixes #26213.
git-svn-id: https://develop.svn.wordpress.org/trunk@26574 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:34:34 +00:00
Lance Willett
c89184bd6e Twenty Fourteen: re-add the Header Text Customization Option. Props iamtakashi, fixes #26338; see #25540.
git-svn-id: https://develop.svn.wordpress.org/trunk@26573 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:26:26 +00:00
Lance Willett
5d48726d03 Twenty Fourteen: rename transient all_the_cool_cats and make sure count is an integer before checking it. Props SergeyBiryukov for initial patch, fixes #26319.
git-svn-id: https://develop.svn.wordpress.org/trunk@26572 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:23:58 +00:00
Lance Willett
7f86b09db2 Twenty Fourteen: add min-height rule to the WP toolbar to ensure that no gap appears in pre-3.8 versions. Props celloexpressions, fixes #25906.
git-svn-id: https://develop.svn.wordpress.org/trunk@26569 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:10:43 +00:00
Lance Willett
ae5d5b8961 Twenty Fourteen: remove custom-colors tag. See #26220.
git-svn-id: https://develop.svn.wordpress.org/trunk@26568 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:07:19 +00:00
Lance Willett
1f73150157 Twenty Fourteen: remove Accent Color feature. Props celloexpressions, fixes #26220.
git-svn-id: https://develop.svn.wordpress.org/trunk@26567 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 18:04:56 +00:00
Lance Willett
baed9f84fa Twenty Fourteen: fix stylesheet loading, broken in r26560.
git-svn-id: https://develop.svn.wordpress.org/trunk@26565 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:40:39 +00:00
Lance Willett
cd27779337 Twenty Fourteen: tweak the vertical space for list items in the primary and footer widgets. Props iamtakashi, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26562 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:31:02 +00:00
Lance Willett
2d377cde67 Twenty Fourteen: update editor stylesheet to reflect recent changes made in the main stylesheet. Props iamtakashi, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26561 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:29:13 +00:00
Lance Willett
76088dd24f 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`.

git-svn-id: https://develop.svn.wordpress.org/trunk@26560 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:27:57 +00:00
Lance Willett
5223958ef9 Twenty Fourteen: make sure non-breaking title in .nav-links doesn't overflow, and make sure the menu toggle text is hidden. Props iamtakashi, closes #26189.
git-svn-id: https://develop.svn.wordpress.org/trunk@26558 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:14:39 +00:00
Lance Willett
0bfc7b4d91 Twenty Fourteen: update comment blocks to match inline docs standards. Props DrewAPicture, see #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26556 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:05:53 +00:00
Lance Willett
e7522d6413 Twenty Fourteen: limit Help tab text to only "post" post type edit screen. Props obenland, see #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26555 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-03 17:01:00 +00:00
Sergey Biryukov
447b809f44 Twenty Fourteen: use a more specific selector for tag links.
props iamtakashi.
fixes #26358.

git-svn-id: https://develop.svn.wordpress.org/trunk@26545 602fd350-edb4-49c9-b593-d223f7449a82
2013-12-02 23:14:33 +00:00
Sergey Biryukov
2ae03311b3 Twenty Fourteen: use display context for site description in sidebar.php.
props michelwppi.
fixes #25808.

git-svn-id: https://develop.svn.wordpress.org/trunk@26444 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-27 23:09:23 +00:00
Lance Willett
f0c99974c2 Twenty Fourteen: fix image alignment in editor styles, props azaozz and RDall. Fixes #26108.
git-svn-id: https://develop.svn.wordpress.org/trunk@26409 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-26 17:37:52 +00:00
Lance Willett
d5bdc1a526 Twenty Fourteen: fix overlap issue when aligning consecutive images in the same direction. Props koki4a and janhenckens, fixes #26194.
git-svn-id: https://develop.svn.wordpress.org/trunk@26363 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:59:35 +00:00
Lance Willett
c4cf7603ac Twenty Fourteen: update Customizer inline help text. Props siobhan, see #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26361 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:56:07 +00:00
Lance Willett
30f06be6f9 Twenty Fourteen: update theme description to be less instructional and more promotional. Pushing the how-to to the Codex and other documentation. Props siobhan, see #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26360 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:55:06 +00:00
Lance Willett
80b7fe4af7 Twenty Fourteen: fix inconsistency with search-box padding. Props thomasguillot, fixes #26204.
git-svn-id: https://develop.svn.wordpress.org/trunk@26357 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:07:28 +00:00
Lance Willett
94a186663f Twenty Fourteen: fix case where edit link goes to the top of content when only one left-aligned element exists. Props iamtakashi, fixes #26201.
git-svn-id: https://develop.svn.wordpress.org/trunk@26356 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 16:06:13 +00:00
Lance Willett
9f60483575 Twenty Fourteen: remove redundant gettext call, props defries. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26355 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 15:18:20 +00:00
Lance Willett
5c301baece Twenty Fourteen: avoid Featured Content thumbnail overflow, props binarymoon. Fixes #26190.
git-svn-id: https://develop.svn.wordpress.org/trunk@26351 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-24 13:56:43 +00:00
Lance Willett
1a5d00b986 Twenty Fourteen: standardize comment blocks and jQuery function wrapper calls in JavaScript files. Props seanchayes for initial patch, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26332 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 22:41:21 +00:00
Lance Willett
e5a4834633 Twenty Fourteen: style cite element correctly when not in a blockquote. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26326 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 11:21:57 +00:00
Lance Willett
72b219809f Twenty Fourteen: fix typos and a correct @return value, props morganestes. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26325 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-22 11:19:57 +00:00
Lance Willett
d4855bd5ec Twenty Fourteen: minor style adjustments for navigation and a new lighter pattern-dark graphic which makes easier to change the background color of the featured image content. Props iamtakashi.
Also update stylesheet tags. See #25946.

git-svn-id: https://develop.svn.wordpress.org/trunk@26272 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 18:26:20 +00:00
Lance Willett
c6a57c410a Twenty Fourteen: avoid premature creation of tags when using the tag suggestion for Featured Content. Props obenland, fixes #26080.
git-svn-id: https://develop.svn.wordpress.org/trunk@26270 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 15:26:56 +00:00
Andrew Nacin
05ec933ea1 Fix spaces/tabs in Twenty Fourteen JS, allowing JSHint to run clean for these files.
props dougwollison.
fixes #26031, #26032.


git-svn-id: https://develop.svn.wordpress.org/trunk@26261 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-19 03:48:55 +00:00
Lance Willett
7a9d3855d4 Twenty Fourteen: updates all PHP files to meet new brace style in WP coding standards. Props rickalee for initial patch, fixes #26093.
git-svn-id: https://develop.svn.wordpress.org/trunk@26260 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 23:11:01 +00:00
Lance Willett
1856fec849 Twenty Fourteen: simplify tags output in content templates, props nacin. See #26093.
git-svn-id: https://develop.svn.wordpress.org/trunk@26258 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:47:17 +00:00
Sergey Biryukov
7d1c5d379a Correctly capitalize WP_Query in Featured_Content::pre_get_posts() inline docs. see #26064.
git-svn-id: https://develop.svn.wordpress.org/trunk@26257 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:23:06 +00:00
Lance Willett
c8d0070d64 Twenty Fourteen: correct $query usage in Featured_Content::pre_get_posts(), props SergeyBiryukov, fixes #26064.
git-svn-id: https://develop.svn.wordpress.org/trunk@26255 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 22:03:03 +00:00
Lance Willett
ed5df3ab38 Twenty Fourteen: remove singular body class when a page is set to be the front page, and minor style tweaks. Props iamtakashi, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26249 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-18 19:20:28 +00:00
Lance Willett
344866b1f0 Twenty Fourteen: general cleanup for spacing, inline comments. Props obenland, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26227 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:19:33 +00:00
Lance Willett
b52ee7959b Twenty Fourteen: fix an issue with keyboard navigation where you couldn't navigate to the previous image. Props obenland, see #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26226 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:18:00 +00:00
Lance Willett
001e4b6052 Twenty Fourteen: limit back compat to 3.6 and later versions. See #26055, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@26225 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 21:14:49 +00:00
Lance Willett
9808a59513 Twenty Fourteen: remove a font weight of 900 italic which isn't needed. Props iamtakashi. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26218 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 19:02:09 +00:00
Lance Willett
a798664b35 Twenty Fourteen: remove main-content element where not necessary, props iamtakashi. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26217 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 19:01:00 +00:00
Lance Willett
d5afb2c07c Twenty Fourteen: use HTML entity for arrow in Help text string, props dd32. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26211 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 14:19:51 +00:00
Lance Willett
e7fc90c34e Twenty Fourteen: remove unneeded translator context from theme Help tab text, props domain. See #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26190 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:42:05 +00:00
Scott Taylor
0f9564807b Don't call is_home() before the query is run in Featured Content's pre_get_posts hook callback.
git-svn-id: https://develop.svn.wordpress.org/trunk@26189 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-15 02:36:30 +00:00
Lance Willett
eab85bc5d8 Twenty Fourteen: fix tabs to spaces in two files. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26154 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:56:27 +00:00
Lance Willett
96569b0075 Twenty Fourteen: first pass at adding help text to to "Help" tab for edit.php and themes.php screens. Props obenland for starter patch, see #25837.
git-svn-id: https://develop.svn.wordpress.org/trunk@26153 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:52:06 +00:00
Lance Willett
3345e88fad Twenty Fourteen: simplify and prefix post thumbnail sizes, props obenland. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26152 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:49:19 +00:00
Lance Willett
21ed02204d Twenty Fourteen: remove unused class name, props obenland. See #25946.
git-svn-id: https://develop.svn.wordpress.org/trunk@26151 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:45:45 +00:00
Lance Willett
ad44560149 Twenty Fourteen: make sure styles for featured content on a static page are limited to posts within the main content area. Props iamtakashi, fixes #25938.
git-svn-id: https://develop.svn.wordpress.org/trunk@26150 602fd350-edb4-49c9-b593-d223f7449a82
2013-11-14 04:19:21 +00:00