Commit Graph

1357 Commits

Author SHA1 Message Date
Lance Willett 6907174995 Twenty Thirteen: adjust `content_width` value for video shortcodes in video post formats and on attachment templates. See #23955, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23972 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 23:06:15 +00:00
Lance Willett e14e7d1dfe Twenty Thirteen: reinstate Audio post format max-width layout handling, lost in r23964. See #23955, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 22:58:59 +00:00
Lance Willett 0253c4d8ae Twenty Thirteen: improve comment label selectors and nudge up their width a bit to account for non-English installs. Props obenland for initial patch, fixes #24039.
git-svn-id: http://core.svn.wordpress.org/trunk@23967 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 18:06:10 +00:00
Lance Willett 280744f555 Twenty Thirteen: change Genericon element display to `inline-block` to avoid underlining the icon when its related element wrapped in a link. Props obenland, fixes #24045.
git-svn-id: http://core.svn.wordpress.org/trunk@23966 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 18:03:01 +00:00
Lance Willett 2fe90e6312 Twenty Thirteen: adjust JavaScript handling for scrolling and finding viewport heigh/width to better support various IE versions. Also consolidate variables at the top of the file per best practices. Fixes #23841, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23965 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 16:11:46 +00:00
Lance Willett 2d85b8eb46 Twenty Thirteen: better handling of media in main content area, accounting for a sidebar and all viewport width possibilities. Props sabreuse and obenland, see #23955.
git-svn-id: http://core.svn.wordpress.org/trunk@23964 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 16:03:08 +00:00
Lance Willett fd39862cad Twenty Thirteen: improve gallery styles for IE7 and IE8, props kovshenin and obenland. Fixes #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23963 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 15:59:52 +00:00
Lance Willett 3b8315737b Twenty Thirteen: minor design tweaks and fixes:
* Link color should be the same on all links that are on white or tan backgrounds, see #23784
 * Better color value for active menu item (red instead of tan)
 * Improved styles for quote citations that are wrapped in links
 * Better layout for single post navigation links when post titles are '''really''' long
 * Fix navbar border style for viewports at 1600 pixels wide and above

Props Joen and obenland.

git-svn-id: http://core.svn.wordpress.org/trunk@23962 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-11 15:57:50 +00:00
Lance Willett d5dc522dad Twenty Thirteen: add fallback selectors for older browsers that don't understand `search` input elements. Fixes #23997, props obenland.
git-svn-id: http://core.svn.wordpress.org/trunk@23961 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 23:19:55 +00:00
Lance Willett fb3387b1d4 Twenty Thirteen: display gallery captions correctly in IE7 and IE8. Props celloexpressions and kovshenin, fixes #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:44:29 +00:00
Lance Willett 3bcdb3fa1a Twenty Thirteen: add missing "yellow" color tag.
git-svn-id: http://core.svn.wordpress.org/trunk@23957 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-10 22:32:51 +00:00
Lance Willett 3460979008 Twenty Thirteen: fix for right-aligned images breaking the main column layout in small screen sizes. Props obenland, fixes #23994.
git-svn-id: http://core.svn.wordpress.org/trunk@23945 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:43:32 +00:00
Lance Willett 3d0c46a0ea Twenty Thirteen: remove overly-specific post meta styles, props ziegenberg and obenland. Fixes #23962.
git-svn-id: http://core.svn.wordpress.org/trunk@23944 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:39:19 +00:00
Lance Willett ede1d0ccef Twenty Thirteen: avoid galleries not being displayed on single in IE8, props obenland. See #23996.
git-svn-id: http://core.svn.wordpress.org/trunk@23943 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 21:34:03 +00:00
Lance Willett 0a415ad893 Twenty Thirteen: better representative theme screenshot, props Joen. (Also shaves a few KB off previous file.)
git-svn-id: http://core.svn.wordpress.org/trunk@23942 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-09 20:58:26 +00:00
Lance Willett 01ac7891b6 Twenty Thirteen: style the the "Login to Reply" link correctly, props obenland. Fixes #23943.
git-svn-id: http://core.svn.wordpress.org/trunk@23920 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-05 16:35:27 +00:00
Sergey Biryukov b706f91278 Use correct function name. props ocean90. fixes #23942. see #23927.
git-svn-id: http://core.svn.wordpress.org/trunk@23911 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 21:03:35 +00:00
Mark Jaquith 15dc5a3718 Standardize the post format theme API functions with the_post_format_THING() and get_the_post_format_THING().
fixes #23927

git-svn-id: http://core.svn.wordpress.org/trunk@23899 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-04 08:09:02 +00:00
Andrew Nacin 155a7c2455 Don't use jQuery.on('ready'). props obenland. see #23875.
git-svn-id: http://core.svn.wordpress.org/trunk@23891 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-04-03 17:29:59 +00:00
Lance Willett 63fb23321b Twenty Thirteen: update Chat post format styles to match markup changes in r23876. See #23869.
git-svn-id: http://core.svn.wordpress.org/trunk@23877 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 21:14:43 +00:00
Lance Willett 85a3c6a82b Twenty Thirteen: simpler name for custom image size for image post formats, see #23620.
git-svn-id: http://core.svn.wordpress.org/trunk@23848 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-29 05:24:12 +00:00
Lance Willett 2c3d9482dc Bundled themes: remove cases of `:active` and `:hover` pseudo-class selectors used for accessibility. These cases need `:focus` only. See r23783 and #23803.
git-svn-id: http://core.svn.wordpress.org/trunk@23841 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 16:37:42 +00:00
Lance Willett 788724989e Twenty Thirteen: improvements to Image post format handling to use a custom image size instead of filtering a `$content_width` variable.
Includes CSS cleanup and markup improvements to both video and image templates, moving the media HTML piece out of the `header` element.

Props obenland, closes #23620.

git-svn-id: http://core.svn.wordpress.org/trunk@23839 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 07:02:51 +00:00
Lance Willett de99720c5d Twenty Thirteen: back compat file PHPDoc updates, thanks DrewAPicture for the nudge. See #23819.
git-svn-id: http://core.svn.wordpress.org/trunk@23838 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 06:53:45 +00:00
Lance Willett b78b4965e2 Twenty Thirteen: better back compat handling by moving version compare before the include to avoid loading the file altogether. Also prevent Customizer views. Props obenland, closes #23819.
git-svn-id: http://core.svn.wordpress.org/trunk@23837 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 06:45:56 +00:00
Mark Jaquith 816618be68 Rename the_extra_content() to the_remaining_content().
fixes #23877.

git-svn-id: http://core.svn.wordpress.org/trunk@23836 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 05:59:18 +00:00
Lance Willett 317ff18c49 Twenty Thirteen: style native `mediaelement` video player with a black background color. Props obenland, closes #23821.
git-svn-id: http://core.svn.wordpress.org/trunk@23835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-28 04:44:27 +00:00
Lance Willett c4396d437b Twenty Thirteen: refresh Quote post format styles based on new default markup, see r23822. Props obenland, fixes #23852.
git-svn-id: http://core.svn.wordpress.org/trunk@23829 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 22:28:31 +00:00
Lance Willett bb2b6fd418 Twenty Thirteen: add support and styling for Audio structured post format. Moves audio content out from the main post content, using `the_audio()` and `the_extra_content()`. Props obenland, fixes #23871.
git-svn-id: http://core.svn.wordpress.org/trunk@23828 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 22:08:16 +00:00
Lance Willett a561fe6000 Twenty Thirteen: fix "Must log in to post comment" message misalignment. Props beaulebens and obenland, fixes #23872.
git-svn-id: http://core.svn.wordpress.org/trunk@23827 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 20:49:08 +00:00
Lance Willett 5697b2f828 Twenty Ten: improve how gallery image IDs are retrieved for use in the Gallery post format template. Props to obenland for original patch, fixes #23617.
git-svn-id: http://core.svn.wordpress.org/trunk@23826 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 20:37:34 +00:00
Lance Willett 98ad41b582 Twenty Thirteen: change version compare string to "3.6-alpha" to avoid an error for alpha and beta testers during development. See #23819, props kovshenin.
git-svn-id: http://core.svn.wordpress.org/trunk@23825 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 20:36:19 +00:00
Lance Willett 6f5b38a5b8 Twenty Eleven: improve how gallery image IDs are retrieved for use in the Gallery post format template. Props to obenland for original patch, fixes #22907.
git-svn-id: http://core.svn.wordpress.org/trunk@23824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-27 20:34:28 +00:00
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 8eea008b2c Twenty Ten: change gallery category post meta output to check for a "gallery" category using `get_term_by()` to avoid a possible WP_Error for an empty result by getting a false (boolean) return value instead.
And, change link output to use `get_category_link()` instead of `get_term_link()`.

Props SergeyBiryukov and keoshi, fixes #23837.

git-svn-id: http://core.svn.wordpress.org/trunk@23793 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 22:56:55 +00:00
Lance Willett 4f8d3b5b61 Twenty Eleven: use new URL extraction function, `get_the_url()` for link post formats in the Ephemera widget. Props obenland, fixes #23618.
git-svn-id: http://core.svn.wordpress.org/trunk@23792 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-22 22:42:37 +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