Commit Graph

43 Commits

Author SHA1 Message Date
Lance Willett e802145548 Twenty Thirteen: correct PHPDoc for using `get_content_url()` to grab first link in post content. See #24469.
git-svn-id: https://develop.svn.wordpress.org/trunk@24405 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 22:20:43 +00:00
Lance Willett 3bb3d6f97f Twenty Thirteen: Clean up image attachment template and move logic to `twentythirteen_the_attached_image()` function. Props obenland, fixes #24479.
git-svn-id: https://develop.svn.wordpress.org/trunk@24402 602fd350-edb4-49c9-b593-d223f7449a82
2013-06-03 21:44:25 +00:00
Lance Willett fe880f9ac1 Twenty Thirteen: better styles for blockquote italic and bold text. Fixes #24471.
git-svn-id: https://develop.svn.wordpress.org/trunk@24393 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 18:48:22 +00:00
Lance Willett a9d619ffff Twenty Thirteen: remove all `post_format_*()` and `the_remaining_content()` function calls, reverting to `the_content()`. Simplify functions.php, JS, and CSS files accordingly. Props obenland for starter patch, fixes #24469 and #24407. See #24452.
git-svn-id: https://develop.svn.wordpress.org/trunk@24391 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 17:45:00 +00:00
Lance Willett 0d0434796a Twenty Thirteen: remove unused `custom-font` body class value. See #24445.
git-svn-id: https://develop.svn.wordpress.org/trunk@24390 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-31 05:23:48 +00:00
Lance Willett a06fed2600 Twenty Thirteen: PHPDoc cleanup/completion, props DrewAPicture. Fixes #24413.
git-svn-id: https://develop.svn.wordpress.org/trunk@24351 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-24 21:24:08 +00:00
Lance Willett 0393ef579f Twenty Thirteen: fix comment cruft left from r24338.
git-svn-id: https://develop.svn.wordpress.org/trunk@24342 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 23:48:02 +00:00
Lance Willett bb183fdfc7 Twenty Thirteen: revert adding new image size for galleries., Using existing medium size instead, and thumbnail for mobile views. See #24307.
git-svn-id: https://develop.svn.wordpress.org/trunk@24338 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 20:39:51 +00:00
Lance Willett d083fc7641 Twenty Thirteen: create new image size for galleries, at 300 x 300 so that "large" image size doesn't load for a resulting thumbnail on index views. See #24307.
git-svn-id: https://develop.svn.wordpress.org/trunk@24333 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-23 17:32:40 +00:00
Lance Willett cde4edfd77 Twenty Thirteen: remove unneeded "structured" post formats `add_theme_support()` declaration. Fixes #24109.
git-svn-id: https://develop.svn.wordpress.org/trunk@24151 602fd350-edb4-49c9-b593-d223f7449a82
2013-05-01 17:37:44 +00:00
Lance Willett b051e780e3 Twenty Thirteen: avoid orphans in Aside date post meta. Props obenland, fixes #24166.
git-svn-id: https://develop.svn.wordpress.org/trunk@24071 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 16:57:32 +00:00
Lance Willett 37f6f6edd4 Twenty Thirteen: update JavaScript-based accessibility function hooked to `hashchange` event to verify user input correctly. Props mfields for the original patch.
Also add textarea to list of elements. See #23875.

git-svn-id: https://develop.svn.wordpress.org/trunk@24070 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-23 16:30:03 +00:00
Lance Willett 6b4da7c5ff Twenty Thirteen: remove toolbar callback in functions.php -- and add an `!important` in its place in the stylesheet. Props obenland, fixes #24129.
git-svn-id: https://develop.svn.wordpress.org/trunk@24036 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 21:33:45 +00:00
Andrew Nacin 68534cf555 Twenty Thirteen: Use the newer 'enqueued' argument for wp_style_is(). (This is, incidentally, the default.)
git-svn-id: https://develop.svn.wordpress.org/trunk@24032 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 17:15:18 +00:00
Andrew Nacin af8ffd36e9 Twenty Thirteen: Move no-avatars class to the existing body class modification function.
* Move includes to the top of the file.
 * Make search_form two words in twentythirteen_search_form_format().

fixes #24127.



git-svn-id: https://develop.svn.wordpress.org/trunk@24031 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 17:13:14 +00:00
Andrew Nacin e414638a7f Twenty Thirteen: Use the_post_format_gallery(). props obenland, fixes #24126.
git-svn-id: https://develop.svn.wordpress.org/trunk@24029 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-18 17:08:55 +00:00
Lance Willett d0a418557f Twenty Thirteen: further performance for functions.js scroll event callback, props obenland. See #23875.
git-svn-id: https://develop.svn.wordpress.org/trunk@24005 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-16 22:35:55 +00:00
Mark Jaquith d87dd076d4 Constrain large videos from rendering bigger than $content_width on both frontend and backend.
props wonderboymusic. fixes #23955.

git-svn-id: https://develop.svn.wordpress.org/trunk@23989 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-14 16:43:26 +00:00
Lance Willett 87a94a7635 Twenty Thirteen: adjust `content_width` value for video shortcodes in video post formats and on attachment templates. See #23955, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@23972 602fd350-edb4-49c9-b593-d223f7449a82
2013-04-11 23:06:15 +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
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 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 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
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
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 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 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 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 a1b7cf3cfd Twenty Thirteen: remove custom comment callback in favor of core `comment_form()` defaults. Props obenland, closes #22005. See #20088.
git-svn-id: https://develop.svn.wordpress.org/trunk@23696 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-14 16:36:14 +00:00
Lance Willett e60535aff1 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: https://develop.svn.wordpress.org/trunk@23677 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 22:07:27 +00:00
Lance Willett a25ed6bb60 Twenty Thirteen: remove searchform.php template once core search form accepts HTML5 argument. Props obenland, fixes #23701.
git-svn-id: https://develop.svn.wordpress.org/trunk@23673 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 17:44:27 +00:00
Lance Willett 72f5afa6e9 Twenty Thirteen: first pass at editor styles. Props Frank Klein and obenland. See #23551.
git-svn-id: https://develop.svn.wordpress.org/trunk@23672 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-12 17:27:24 +00:00
Lance Willett c48a280f3b 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: https://develop.svn.wordpress.org/trunk@23629 602fd350-edb4-49c9-b593-d223f7449a82
2013-03-06 23:36:42 +00:00
Lance Willett a72c418fcc Twenty Thirteen: make footer widget area the primary sidebar, acting as "secondary" content. Move optional sidebar widget area to "tertiary" content. Props obenland, fixes #23644.
git-svn-id: https://develop.svn.wordpress.org/trunk@23539 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 21:35:26 +00:00
Lance Willett 8c0f68a5a1 Twenty Thirteen: usability improvement for better viewing of images on attachment pages. Props DrewAPicture and obenland, fixes #23543.
git-svn-id: https://develop.svn.wordpress.org/trunk@23523 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-28 18:33:39 +00:00
Lance Willett ac4ab9cd60 Twenty Thirteen: style comments correctly when `show_avatars` option is turned off in Discussion settings. Props SriniG, fixes #23558.
git-svn-id: https://develop.svn.wordpress.org/trunk@23498 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-27 04:25:14 +00:00
Lance Willett 6b98d184f6 Twenty Thirteen: instantly preview header text color changes in the Theme Customizer. Fixes #23585, props SriniG.
git-svn-id: https://develop.svn.wordpress.org/trunk@23493 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-26 04:59:35 +00:00
Lance Willett 8798dcefdd Twenty Thirteen: update post formats for consistent post meta display, fixes #23553.
Fix a few typos for "tags-links" selectors and remove extraneous newlines.

git-svn-id: https://develop.svn.wordpress.org/trunk@23469 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 06:05:00 +00:00
Lance Willett 2b60f0259d Twenty Thirteen: fix comment form layout for inline replies in wide viewports. Fixes #23524, props SriniG and obenland.
(Also fix an extra space that crept into r23461, see #23511.)


git-svn-id: https://develop.svn.wordpress.org/trunk@23462 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 05:49:57 +00:00
Lance Willett 78e082dd6d Twenty Thirteen: bump priority for `twentythirteen_aside_date()` to add date output after embeds. Fixes #23511, props obenland.
git-svn-id: https://develop.svn.wordpress.org/trunk@23461 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-21 05:42:56 +00:00
Mark Jaquith a279913a2e Introduce the Twenty Thirteen theme.
props matt, joen, obenland, lancewillett. see #23504

git-svn-id: https://develop.svn.wordpress.org/trunk@23452 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-18 23:08:56 +00:00