Commit Graph

1341 Commits

Author SHA1 Message Date
Sergey Biryukov
4c15b933e8 Use correct function name. props ocean90. fixes #23942. see #23927.
git-svn-id: https://develop.svn.wordpress.org/trunk@23911 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 21:03:35 +00:00
Mark Jaquith
2ab2451508 Standardize the post format theme API functions with the_post_format_THING() and get_the_post_format_THING().
fixes #23927

git-svn-id: https://develop.svn.wordpress.org/trunk@23899 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-04 08:09:02 +00:00
Andrew Nacin
4ca0a4c8bb Don't use jQuery.on('ready'). props obenland. see #23875.
git-svn-id: https://develop.svn.wordpress.org/trunk@23891 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-03 17:29:59 +00:00
Lance Willett
ff64e5d3b3 Twenty Thirteen: update Chat post format styles to match markup changes in r23876. See #23869.
git-svn-id: https://develop.svn.wordpress.org/trunk@23877 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 21:14:43 +00:00
Lance Willett
7587a581e3 Twenty Thirteen: simpler name for custom image size for image post formats, see #23620.
git-svn-id: https://develop.svn.wordpress.org/trunk@23848 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-29 05:24:12 +00:00
Lance Willett
c8449285ae 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: https://develop.svn.wordpress.org/trunk@23841 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 16:37:42 +00:00
Lance Willett
38a4515766 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: https://develop.svn.wordpress.org/trunk@23839 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 07:02:51 +00:00
Lance Willett
3579782a0e Twenty Thirteen: back compat file PHPDoc updates, thanks DrewAPicture for the nudge. See #23819.
git-svn-id: https://develop.svn.wordpress.org/trunk@23838 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 06:53:45 +00:00
Lance Willett
d8b58a167d 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: https://develop.svn.wordpress.org/trunk@23837 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 06:45:56 +00:00
Mark Jaquith
2b9b1080ec Rename the_extra_content() to the_remaining_content().
fixes #23877.

git-svn-id: https://develop.svn.wordpress.org/trunk@23836 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 05:59:18 +00:00
Lance Willett
5f6f7c663f Twenty Thirteen: style native mediaelement video player with a black background color. Props obenland, closes #23821.
git-svn-id: https://develop.svn.wordpress.org/trunk@23835 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-28 04:44:27 +00:00
Lance Willett
ac87a472f7 Twenty Thirteen: refresh Quote post format styles based on new default markup, see r23822. Props obenland, fixes #23852.
git-svn-id: https://develop.svn.wordpress.org/trunk@23829 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 22:28:31 +00:00
Lance Willett
c22e908e32 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: https://develop.svn.wordpress.org/trunk@23828 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 22:08:16 +00:00
Lance Willett
a3e4aba14d Twenty Thirteen: fix "Must log in to post comment" message misalignment. Props beaulebens and obenland, fixes #23872.
git-svn-id: https://develop.svn.wordpress.org/trunk@23827 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 20:49:08 +00:00
Lance Willett
b8aff153c9 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: https://develop.svn.wordpress.org/trunk@23826 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 20:37:34 +00:00
Lance Willett
2d018dd75e 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: https://develop.svn.wordpress.org/trunk@23825 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 20:36:19 +00:00
Lance Willett
cc97cb633d 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: https://develop.svn.wordpress.org/trunk@23824 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 20:34:28 +00:00
Lance Willett
334e0eb13e 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: https://develop.svn.wordpress.org/trunk@23820 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 18:51:47 +00:00
Lance Willett
17d4a3302b Twenty Thirteen: better styles for Chat structured post format output. Props Joen for starter CSS, closes #23869.
git-svn-id: https://develop.svn.wordpress.org/trunk@23817 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 17:16:31 +00:00
Lance Willett
0496ad8fd8 Twenty Thirteen: add back-compat function to avoid activation with older WordPress installs. Props kovshenin, see #23819 and #13780.
git-svn-id: https://develop.svn.wordpress.org/trunk@23816 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 17:06:19 +00:00
Mark Jaquith
34ce2c00e5 Drop the_chat() into twentythirteen. Style updates to follow — just wanted the_chat() to be utilized somewhere.
props lancewillett. see #23869

git-svn-id: https://develop.svn.wordpress.org/trunk@23806 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 08:45:49 +00:00
Lance Willett
929093695e 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: https://develop.svn.wordpress.org/trunk@23803 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 05:11:41 +00:00
Lance Willett
0a251f5b20 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: https://develop.svn.wordpress.org/trunk@23802 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-27 05:09:14 +00:00
Lance Willett
f9316e4a8b Twenty Thirteen: remove HTML5 argument for search form, using a filter instead. See #23850, closes #23701.
git-svn-id: https://develop.svn.wordpress.org/trunk@23799 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-26 20:34:37 +00:00
Lance Willett
8d54218162 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: https://develop.svn.wordpress.org/trunk@23795 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-25 16:36:27 +00:00
Lance Willett
e9746944fa 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: https://develop.svn.wordpress.org/trunk@23793 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 22:56:55 +00:00
Lance Willett
309fb3d7f5 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: https://develop.svn.wordpress.org/trunk@23792 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 22:42:37 +00:00
Lance Willett
ca74e47950 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: https://develop.svn.wordpress.org/trunk@23787 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 18:57:50 +00:00
Lance Willett
e8f03e4555 Twenty Thirteen: we loves us some structured post formats. See #23619 #23620 #23621.
git-svn-id: https://develop.svn.wordpress.org/trunk@23786 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 18:54:05 +00:00
Lance Willett
6bfa29bd10 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: https://develop.svn.wordpress.org/trunk@23785 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 18:35:14 +00:00
Lance Willett
b62344098c Twenty Thirteen: remove hover styles for screen reader text.
git-svn-id: https://develop.svn.wordpress.org/trunk@23783 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 17:35:05 +00:00
Lance Willett
a001b8541f Twenty Thirteen: use gallery shortcode filter for featured galleries, props obenland. Closes #23823.
git-svn-id: https://develop.svn.wordpress.org/trunk@23782 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 17:29:19 +00:00
Lance Willett
c147a647fa Twenty Thirteen: style up the new mediaelement audio and video players. Props obenland, fixes #23821.
git-svn-id: https://develop.svn.wordpress.org/trunk@23781 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 17:20:55 +00:00
Lance Willett
ece7a77144 Twenty Thirteen: pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@23780 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 17:19:55 +00:00
Lance Willett
2376c91374 Twenty Ten and Twenty Eleven: revert r23720 and r23721 (closes #23772) and r23718 and r23719 (closes #23774).
Unfortunately, it's too late for these improvements in older themes since it's very likely they'll adversely affect child themes.

git-svn-id: https://develop.svn.wordpress.org/trunk@23778 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-22 16:15:24 +00:00
Lance Willett
6a8035e618 Twenty Thirteen: quote post format color fix for paging links, props Joen. Closes #23784.
git-svn-id: https://develop.svn.wordpress.org/trunk@23771 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-21 23:23:27 +00:00
Lance Willett
090cdbba48 Twenty Thirteen: provide max-width override for gallery thumbnails to collapse to two columns in small screens. Props kwight, fixes #23762.
git-svn-id: https://develop.svn.wordpress.org/trunk@23759 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 22:35:38 +00:00
Lance Willett
20e493bb90 Twenty Thirteen: fix translation string in image template, fixes #23799.
git-svn-id: https://develop.svn.wordpress.org/trunk@23758 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 22:29:44 +00:00
Lance Willett
067dff66cf Twenty Thirteen: remove logging code, accidentally added in r23676.
git-svn-id: https://develop.svn.wordpress.org/trunk@23757 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 21:38:51 +00:00
Lance Willett
a717e97dee Twenty Thirteen: post format and link color tweaks for consistency, props joen. Fixes #23784.
git-svn-id: https://develop.svn.wordpress.org/trunk@23756 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 19:33:38 +00:00
Lance Willett
00d9b3f74b Twenty Thirteen: fix a few closing container comments. Props to DrewAPicture for the initial patch. Fixes #23802.
git-svn-id: https://develop.svn.wordpress.org/trunk@23755 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-19 19:25:56 +00:00
potbot
a818ebcd58 POT, generated from r23722
git-svn-id: https://develop.svn.wordpress.org/trunk@23724 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 19:19:53 +00:00
potbot
91acb96461 POT, generated from r23722
git-svn-id: https://develop.svn.wordpress.org/trunk@23723 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 19:19:45 +00:00
Lance Willett
b989307db1 Twenty Ten: use callback in functions.php to enqueue scripts and styles rather than putting them directly in header.php template file. Props obenland, fixes #23772.
git-svn-id: https://develop.svn.wordpress.org/trunk@23721 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:24:45 +00:00
Lance Willett
528a3acd89 Twenty Eleven: use callback in functions.php to enqueue scripts and styles rather than putting them directly in header.php template file. Props obenland, see #23772.
git-svn-id: https://develop.svn.wordpress.org/trunk@23720 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:24:04 +00:00
Lance Willett
e9945c2fb4 Twenty Ten: use a filter to modify the output of wp_title(). Props obenland, closes #23774.
git-svn-id: https://develop.svn.wordpress.org/trunk@23719 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:16:47 +00:00
Lance Willett
633a2d66ef Twenty Eleven: use a filter to modify the output of wp_title(). Props obenland, see #23774.
git-svn-id: https://develop.svn.wordpress.org/trunk@23718 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:15:58 +00:00
Lance Willett
825bdb0ff2 Twenty Twelve: improve Appearance > Header styles to match front end view better -- including loading special Google Font there. Props obenland, fixes #23790.
git-svn-id: https://develop.svn.wordpress.org/trunk@23717 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 18:03:43 +00:00
Lance Willett
861dd21d4f Twenty Twelve: update post author comment markup and styles, improving hCard data parsing and simplifying styles. Fixes #23128.
git-svn-id: https://develop.svn.wordpress.org/trunk@23716 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:54:36 +00:00
potbot
b4eeecdae7 POT, generated from r23713
git-svn-id: https://develop.svn.wordpress.org/trunk@23715 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-15 17:19:37 +00:00