Commit Graph

98 Commits

Author SHA1 Message Date
Lance Willett
a87c00edee Twenty Thirteen: take full advantage of new structured post format template functions, see r23819.
Extract first video or image from Video and Image post format posts, and place the item above the title within its own HTML wrapper with `the_video()` and `the_image()'. Also, remove the item from the post content with `the_extra_content()`.

This allows us to meet the design requirements for Twenty Thirteen with minimal changes to the theme template files. Fixes #23620.

git-svn-id: http://core.svn.wordpress.org/trunk@23820 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 18:51:47 +00:00
Lance Willett
d8116e7786 Twenty Thirteen: better styles for Chat structured post format output. Props Joen for starter CSS, closes #23869.
git-svn-id: http://core.svn.wordpress.org/trunk@23817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 17:16:31 +00:00
Lance Willett
ef85b45754 Twenty Thirteen: add back-compat function to avoid activation with older WordPress installs. Props kovshenin, see #23819 and #13780.
git-svn-id: http://core.svn.wordpress.org/trunk@23816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 17:06:19 +00:00
Mark Jaquith
fdcfbe324f Drop the_chat() into twentythirteen. Style updates to follow — just wanted the_chat() to be utilized somewhere.
props lancewillett. see #23869

git-svn-id: http://core.svn.wordpress.org/trunk@23806 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 08:45:49 +00:00
Lance Willett
6bf47b869f Twenty Thirteen: explicitly declare 'link' and 'video' as the only (current) structured post formats in Twenty Thirteen. See #23852 #23619 #23864 and #23620.
git-svn-id: http://core.svn.wordpress.org/trunk@23803 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 05:11:41 +00:00
Lance Willett
1dcee708ed Twenty Thirteen: add styles for default core output for structured quote post format. Depends on #23347 for the improved markup for quote post formats. Props obenland, see #23852.
git-svn-id: http://core.svn.wordpress.org/trunk@23802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 05:09:14 +00:00
Lance Willett
f8a9f1dd3e Twenty Thirteen: remove HTML5 argument for search form, using a filter instead. See #23850, closes #23701.
git-svn-id: http://core.svn.wordpress.org/trunk@23799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-26 20:34:37 +00:00
Lance Willett
a279b11cbb Twenty Thirteen: change link URL function name to twentythirteen_get_link_url(), props obenland. Also remove function_exists() check since this function should not be pluggable, by design. Closes #23619.
git-svn-id: http://core.svn.wordpress.org/trunk@23795 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-25 16:36:27 +00:00
Lance Willett
40799f6291 Twenty Thirteen: use new get_the_url() function to find first link in a "Link" post format post. See #23619, props Frank Klein for the original patch.
git-svn-id: http://core.svn.wordpress.org/trunk@23787 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 18:57:50 +00:00
Lance Willett
ba09755921 Twenty Thirteen: we loves us some structured post formats. See #23619 #23620 #23621.
git-svn-id: http://core.svn.wordpress.org/trunk@23786 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 18:54:05 +00:00
Lance Willett
2fa91fda74 Twenty Thirteen: improve separation between Link and Aside posts, props Joen for starter CSS rules. Fixes #23818 and closes #23707 as related.
git-svn-id: http://core.svn.wordpress.org/trunk@23785 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 18:35:14 +00:00
Lance Willett
6db57e3745 Twenty Thirteen: remove hover styles for screen reader text.
git-svn-id: http://core.svn.wordpress.org/trunk@23783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:35:05 +00:00
Lance Willett
e1e654517a Twenty Thirteen: use gallery shortcode filter for featured galleries, props obenland. Closes #23823.
git-svn-id: http://core.svn.wordpress.org/trunk@23782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:29:19 +00:00
Lance Willett
0352ffb565 Twenty Thirteen: style up the new mediaelement audio and video players. Props obenland, fixes #23821.
git-svn-id: http://core.svn.wordpress.org/trunk@23781 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:20:55 +00:00
Lance Willett
9f005d14fb Twenty Thirteen: pinking shears
git-svn-id: http://core.svn.wordpress.org/trunk@23780 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 17:19:55 +00:00
Lance Willett
3558fe7382 Twenty Thirteen: quote post format color fix for paging links, props Joen. Closes #23784.
git-svn-id: http://core.svn.wordpress.org/trunk@23771 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-21 23:23:27 +00:00
Lance Willett
fde51bb098 Twenty Thirteen: provide max-width override for gallery thumbnails to collapse to two columns in small screens. Props kwight, fixes #23762.
git-svn-id: http://core.svn.wordpress.org/trunk@23759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 22:35:38 +00:00
Lance Willett
7e9761711a Twenty Thirteen: fix translation string in image template, fixes #23799.
git-svn-id: http://core.svn.wordpress.org/trunk@23758 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 22:29:44 +00:00
Lance Willett
a553da699d Twenty Thirteen: remove logging code, accidentally added in r23676.
git-svn-id: http://core.svn.wordpress.org/trunk@23757 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 21:38:51 +00:00
Lance Willett
afa85abb5c Twenty Thirteen: post format and link color tweaks for consistency, props joen. Fixes #23784.
git-svn-id: http://core.svn.wordpress.org/trunk@23756 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 19:33:38 +00:00
Lance Willett
561ce28892 Twenty Thirteen: fix a few closing container comments. Props to DrewAPicture for the initial patch. Fixes #23802.
git-svn-id: http://core.svn.wordpress.org/trunk@23755 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-19 19:25:56 +00:00
Lance Willett
634b9e93a1 Twenty Thirteen: ensure footer position if Masonry unavailable for changing the layout. Props obenland, fixes #23771.
git-svn-id: http://core.svn.wordpress.org/trunk@23702 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 22:27:58 +00:00
Lance Willett
6de85ee884 Twenty Thirteen: better caption styles for short words and sentences. Props kwight, fixes #23773.
git-svn-id: http://core.svn.wordpress.org/trunk@23701 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 22:18:40 +00:00
Lance Willett
24cf418767 Twenty Thirteen: hide gallery captions from small screens and when a gallery has 7 columns or more. Props kwight, fixes #23769.
git-svn-id: http://core.svn.wordpress.org/trunk@23700 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 22:11:41 +00:00
Lance Willett
07e5008d04 Twenty Thirteen: remove several more px unit values.
git-svn-id: http://core.svn.wordpress.org/trunk@23698 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 17:53:06 +00:00
Lance Willett
e1acdbf40f Twenty Thirteen: a bit wider search input in main content area. Props obenland, fixes #23765.
Also clean out one case of unneeded "px" value unit.

git-svn-id: http://core.svn.wordpress.org/trunk@23697 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 17:36:39 +00:00
Lance Willett
29753503f5 Twenty Thirteen: remove custom comment callback in favor of core comment_form() defaults. Props obenland, closes #22005. See #20088.
git-svn-id: http://core.svn.wordpress.org/trunk@23696 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-14 16:36:14 +00:00
Lance Willett
0c694a7500 Twenty Thirteen: use new HTML5 comment form argument, and adjust CSS selectors a bit. Closes #23702, see #15080.
git-svn-id: http://core.svn.wordpress.org/trunk@23690 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 22:45:08 +00:00
Lance Willett
0eaa363b8e Twenty Thirteen: adjust header max-width value for older IE browsers. Props jvisick77, see #23732.
git-svn-id: http://core.svn.wordpress.org/trunk@23688 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 17:48:46 +00:00
Lance Willett
d902afb04b Twenty Thirteen: revert three changes to content attributes, props obenland. See #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23687 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-13 17:14:00 +00:00
Lance Willett
16c33f55b2 Twenty Thirteen: pinking shears.
git-svn-id: http://core.svn.wordpress.org/trunk@23679 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:42:34 +00:00
Lance Willett
2c38199fd2 Twenty Thirteen: improve header area padding to ensure stable layout at any size screen. Props jvisick77, fixes #23732. (Small props also to Google TV for revealing the bug.)
git-svn-id: http://core.svn.wordpress.org/trunk@23678 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:41:58 +00:00
Lance Willett
6355d286ba Twenty Thirteen: revert addition of twentythirteen_attachment_link() in r23523 -- as discussed in the following ticket comments, the tradeoff means simpler code instead of a minor UX enhancement. Closes #23543 and #23719.
git-svn-id: http://core.svn.wordpress.org/trunk@23677 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 22:07:27 +00:00
Lance Willett
e18309bc0e Twenty Thirteen: enable a JavaScript-based fix for long sidebar areas that overflow the footer. Props obenland, fixes #23557.
git-svn-id: http://core.svn.wordpress.org/trunk@23676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 21:42:53 +00:00
Lance Willett
9adef0fcec Twenty Thirteen: gallery styles fixed to allow image thumbnails larger than 150 to align properly. Props obenland, fixes #23742.
git-svn-id: http://core.svn.wordpress.org/trunk@23675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 21:27:13 +00:00
Lance Willett
9a17fd3dec Twenty Thirteen: second pass at RTL support and minor style.css fixes, props obenland. See #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 21:18:15 +00:00
Lance Willett
9e4ce0a952 Twenty Thirteen: remove searchform.php template once core search form accepts HTML5 argument. Props obenland, fixes #23701.
git-svn-id: http://core.svn.wordpress.org/trunk@23673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 17:44:27 +00:00
Lance Willett
76f2325439 Twenty Thirteen: first pass at editor styles. Props Frank Klein and obenland. See #23551.
git-svn-id: http://core.svn.wordpress.org/trunk@23672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 17:27:24 +00:00
Lance Willett
f8cc149328 Twenty Thirteen: better styles for gallery captions. Props obenland, see #23584.
git-svn-id: http://core.svn.wordpress.org/trunk@23671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 16:59:38 +00:00
Lance Willett
92852af835 Twenty Thirteen: fix toggling header text display in Customizer. Props obenland, fixes #23722.
git-svn-id: http://core.svn.wordpress.org/trunk@23670 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-12 16:52:30 +00:00
Lance Willett
39223fde2a Twenty Thirteen: show portrait images correctly in gallery post formats. Props obenland, fixes #23649.
git-svn-id: http://core.svn.wordpress.org/trunk@23652 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 17:01:33 +00:00
Lance Willett
9c1c3f2bc5 Twenty Thirteen: improve contrast for quote post format links, props sabreuse. See #23513.
git-svn-id: http://core.svn.wordpress.org/trunk@23651 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 16:55:05 +00:00
Lance Willett
8151fc8c77 Twenty Thirteen: lighten orange color for link text in footer widgets, props sabreuse. See #23513.
Also use same shade for paging links, to be consistent and not have thousands of small color variations in the the theme.

git-svn-id: http://core.svn.wordpress.org/trunk@23650 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 16:49:31 +00:00
Lance Willett
c4963814d3 Twenty Thirteen: first pass at print styles, see #23552.
git-svn-id: http://core.svn.wordpress.org/trunk@23648 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-08 16:10:57 +00:00
Lance Willett
7b26a36756 Twenty Thirteen: simpler isRTL check for masonry, props obenland. See #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23645 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 18:22:58 +00:00
Lance Willett
d96b1ca8e2 Twenty Thirteen: RTL JS support, fix class selector, see #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23644 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 18:00:26 +00:00
Lance Willett
79163b239b Twenty Thirteen: first pass at RTL CSS and JS support. Props DrewAPicture and maor, see #23550.
git-svn-id: http://core.svn.wordpress.org/trunk@23643 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 17:57:16 +00:00
Lance Willett
10d48f7478 Twenty Thirteen: remove redundant esc_url() calls, props SergeyBiryukov, fixes #23663.
git-svn-id: http://core.svn.wordpress.org/trunk@23642 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-07 17:18:02 +00:00
Lance Willett
c585d3f1c7 Twenty Thirteen: align comment "bypostauthor" star correctly, props taupecat. Fixes #23696.
git-svn-id: http://core.svn.wordpress.org/trunk@23630 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 23:38:06 +00:00
Lance Willett
05cbeaff52 Twenty Thirteen: minor tweaks and fixes, props obenland. Fixes #23698.
* Add 1px to top margin for second level menus to align child menus with parent height
 * Remove text-decoration on hover for cancel-comment-reply-link
 * Pull floated images only in post content
 * Close edit link span element correctly

git-svn-id: http://core.svn.wordpress.org/trunk@23629 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-06 23:36:42 +00:00