Commit Graph

51 Commits

Author SHA1 Message Date
Lance Willett
0d07a3b110 Twenty Eleven: ensure twentyeleven_url_grabber() is pluggable by wrapping in a function_exists check.
git-svn-id: https://develop.svn.wordpress.org/trunk@23474 602fd350-edb4-49c9-b593-d223f7449a82
2013-02-22 16:50:40 +00:00
Lance Willett
cb39d77bb5 Twenty Eleven: escape navigation ID output, closes #22690.
git-svn-id: https://develop.svn.wordpress.org/trunk@23000 602fd350-edb4-49c9-b593-d223f7449a82
2012-12-03 20:13:14 +00:00
Andrew Nacin
003319cdf6 Proper default background color for Twenty Eleven. props miqrogroove. fixes #22347.
git-svn-id: https://develop.svn.wordpress.org/trunk@22408 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-06 23:14:00 +00:00
Lance Willett
67deebeca5 Bundled Themes: allow show_home argument to be overridden when using wp_page_menu as a fallback to a Custom Menu. Props SergeyBiryukov and kovshenin, fixes #22331.
git-svn-id: https://develop.svn.wordpress.org/trunk@22359 602fd350-edb4-49c9-b593-d223f7449a82
2012-11-02 16:52:53 +00:00
Lance Willett
8c890aa154 Twenty Eleven: remove invalid pubdate value from time elements. See #22095.
git-svn-id: https://develop.svn.wordpress.org/trunk@22213 602fd350-edb4-49c9-b593-d223f7449a82
2012-10-12 16:12:14 +00:00
Lance Willett
fc4fffaad5 Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500. Props nacin and SergeyBiryukov.
git-svn-id: https://develop.svn.wordpress.org/trunk@21490 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 18:21:58 +00:00
Lance Willett
38ccc90afc Twenty Eleven: fix long URLs in comments overflow content area, fixes #21491. Props SergeyBiryukov jkudish andrewspittle.
Also minor pinking shears in stylesheet and functions file.


git-svn-id: https://develop.svn.wordpress.org/trunk@21487 602fd350-edb4-49c9-b593-d223f7449a82
2012-08-09 17:32:39 +00:00
Ryan Boren
8ed05fc6fd Back compat for bundled themes. Props nacin, SergeyBiryukov, kobenland. fixes #20768
git-svn-id: https://develop.svn.wordpress.org/trunk@20983 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-04 14:43:19 +00:00
Ryan Boren
b85e8d138c Custom background fixes:
* Specify default background colors for the bundled themes.
* Change the default custom background callback to only operate on saved values, rather than default values.
* Prevent an unsaved default value from overriding a manually modified style.css file.

Props nacin, kobenland
fixes #20448


git-svn-id: https://develop.svn.wordpress.org/trunk@20973 602fd350-edb4-49c9-b593-d223f7449a82
2012-06-01 20:31:50 +00:00
Andrew Nacin
c98d83ab80 Twenty Eleven: Remove $locale.php file support. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20471 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 19:53:47 +00:00
Andrew Nacin
57105fb00c Flexible heights for Twenty Eleven's custom headers. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20470 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 19:53:10 +00:00
Andrew Nacin
67f21026b9 Callbacks for custom headers and custom backgrounds registered through add_theme_support() are now wp-head-callback, admin-head-callback, and admin-preview-callback. see #19910.
git-svn-id: https://develop.svn.wordpress.org/trunk@20231 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-21 03:36:17 +00:00
Andrew Nacin
27656b6d3f Move Twenty Ten and the rest of Twenty Eleven to add_theme_support() for headers and backgrounds. props sabreuse for initial patch. fixes #20265. see #20249.
git-svn-id: https://develop.svn.wordpress.org/trunk@20225 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 21:32:42 +00:00
Andrew Nacin
48598e8b18 Update twentyeleven/functions.php to use the new add_theme_support() calls for backgrounds and headers. props sabreuse for initial patch. see #20265. see #20249.
git-svn-id: https://develop.svn.wordpress.org/trunk@20222 602fd350-edb4-49c9-b593-d223f7449a82
2012-03-20 20:37:53 +00:00
Ryan Boren
02a16905eb More consistent attribute escaping. Props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@19582 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-10 19:18:51 +00:00
Andrew Nacin
c71fea0654 Use get_template_directory() for include paths in Twenty Eleven, rather than FILE magic constant. Won't go stale when twentyeleven_setup() is overridden. props TomAuger, fixes #18985.
git-svn-id: https://develop.svn.wordpress.org/trunk@19289 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-15 00:37:50 +00:00
Andrew Nacin
c69fd63823 Make twentyeleven_content_nav() pluggable. props adeptris, SergeyBiryukov. fixes #18585.
git-svn-id: https://develop.svn.wordpress.org/trunk@19242 602fd350-edb4-49c9-b593-d223f7449a82
2011-11-10 18:41:05 +00:00
Andrew Nacin
51d0bd90f6 Use get_template_directory() instead of TEMPLATEPATH in Twentys Ten and Eleven. props solarisssmoke, fixes #18071.
git-svn-id: https://develop.svn.wordpress.org/trunk@19058 602fd350-edb4-49c9-b593-d223f7449a82
2011-10-25 04:42:16 +00:00
Ryan Boren
76e5ba0e53 twentyeleven code tidy up. Props dd32, lancewillett. fixes #17748
git-svn-id: https://develop.svn.wordpress.org/trunk@18385 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-30 21:57:50 +00:00
Andrew Ozz
eb542e898a More fixes for 2011, props iandstewart, see #17809
git-svn-id: https://develop.svn.wordpress.org/trunk@18360 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-27 22:17:19 +00:00
Andrew Ozz
7bbb50f2c9 TwentyEleven Theme H1 Priority, props iandstewart, fixes #17611
git-svn-id: https://develop.svn.wordpress.org/trunk@18335 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-23 23:03:46 +00:00
Ryan Boren
b1e314fbf7 Add theme support option for turning on random default headers. fixes #17832
git-svn-id: https://develop.svn.wordpress.org/trunk@18325 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-22 19:09:23 +00:00
Nikolay Bachiyski
ae474053f7 Add forgotten spaces. See #17777
git-svn-id: https://develop.svn.wordpress.org/trunk@18304 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 14:54:14 +00:00
Nikolay Bachiyski
b7a32f3bcb Split the comment date and time string into two and add translator comments. See #17777
git-svn-id: https://develop.svn.wordpress.org/trunk@18303 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-13 14:50:35 +00:00
Ryan Boren
feaf2597bf Pinking shears
git-svn-id: https://develop.svn.wordpress.org/trunk@18276 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 15:44:06 +00:00
Dion Hulse
36ca3bf3ab Twenty Eleven Functions.php comments cleanup, merge the 2 body class functions. Props jorbin. See #17748
git-svn-id: https://develop.svn.wordpress.org/trunk@18272 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-11 06:30:59 +00:00
Andrew Nacin
2995cd59c9 Twenty Eleven: escaping frenzy, hide authors if a single author blog. props DH-Shredder, props iandstewart, see #17385, fixes #17563.
git-svn-id: https://develop.svn.wordpress.org/trunk@18244 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-10 21:57:18 +00:00
Ian Stewart
7840df6b57 Twenty Eleven: correct typos in PHP comments
git-svn-id: https://develop.svn.wordpress.org/trunk@18140 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-04 15:54:47 +00:00
Ian Stewart
e6a591e5a8 Twenty Eleven: accessibility improvements and minor style fixes for galleries; See #17524
* Improved color contrast for light and dark color schemes
* Skip link for skipping directly to sidebar content
* Skip links visible on :focus
* Using a more semantic, general class name of .assistive-text instead of .section-heading and .screen-reader-text
* Focus styles for password inputs (and a minor style fix)


git-svn-id: https://develop.svn.wordpress.org/trunk@18117 602fd350-edb4-49c9-b593-d223f7449a82
2011-06-02 19:30:07 +00:00
Ian Stewart
2633e960d0 Twenty Eleven: Fix a typo in PHPdoc; Props tenpura; Fixes #17434
git-svn-id: https://develop.svn.wordpress.org/trunk@18040 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 17:18:23 +00:00
Ian Stewart
f48fe743ad Twenty Eleven: using the cite element to markup a name doesn't conform to the HTML spec; Props holizz and aaroncampbell; See #17520
git-svn-id: https://develop.svn.wordpress.org/trunk@18030 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-25 15:29:26 +00:00
Andrew Nacin
43d52dea87 echo. props ocean90, fixes #17535.
git-svn-id: https://develop.svn.wordpress.org/trunk@17985 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-22 21:25:42 +00:00
Andrew Nacin
afb960a480 Fix twentyeleven_url_grabber(). props duck_, see #17267.
git-svn-id: https://develop.svn.wordpress.org/trunk@17968 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-19 08:31:01 +00:00
Andrew Nacin
5c6a5a0045 Fix Twenty Eleven phpdoc subpackage names. props zeo, fixes #17444.
git-svn-id: https://develop.svn.wordpress.org/trunk@17959 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-18 19:06:09 +00:00
Lance Willett
e19b314639 Twenty Eleven: adding RTL editor styles and tighter header height - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17830 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-07 00:31:27 +00:00
Ian Stewart
fa73730d37 Twenty Eleven: first pass at visual editor styles with RTL editor styles to come; See #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17816 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-05 22:46:37 +00:00
Lance Willett
21c7b3c8d3 Twenty Eleven updates and fixes, see #17198
* Add explanatory comments in all templates, following Twenty Ten's example
 * Stick with twentyeleven_ for prefixing filter names
 * Use post format content templates in search results
 * First pass at adding a template for adding a sidebar to pages
 * Add a featured post header to standard sticky posts
 * Style fixes: print media, comment styles for pages with sidebars, color of meta links on image post format

git-svn-id: https://develop.svn.wordpress.org/trunk@17802 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-04 22:54:50 +00:00
Lance Willett
177f91d76e Twenty Eleven: style improvements, RTL, and more header images - see #17198
* Add two more default header images (see r17729)
* Change the featured posts limit from 4 to ten in front page slider
* First pass at robust RTL styles
* Pingback style fixes
* Wider comment form for the one column layout
* Add CSS comment with instructions on how to remove the post format headings


git-svn-id: https://develop.svn.wordpress.org/trunk@17790 602fd350-edb4-49c9-b593-d223f7449a82
2011-05-03 20:16:34 +00:00
Lance Willett
23490246d8 Twenty Eleven: introduce image post format and miscellaneous style fixes, props matveb and iandstewart - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17776 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 22:33:04 +00:00
Lance Willett
23113b69bc Twenty Eleven: improve calls to get_header_image() - see #17240 and #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17775 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 22:22:19 +00:00
Lance Willett
9f5ed64d81 Twenty Eleven: style.css cleanup and Showcase template improvements, props matveb - see #17198
* Add full support for the featured slider powered by JS (except auto-slide)
 * Change the title hover state of large stickies to white
 * Prevent plain text posts from being displayed transparently over images
 * Update slider featured image size to 500x300
 * Add comment blocks to showcase.php

git-svn-id: https://develop.svn.wordpress.org/trunk@17761 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-29 00:19:02 +00:00
Andrew Nacin
0c6ee1dca4 More Twenty Eleven cleanup and add the comment-awaiting-moderation class. see #17198. see #15206 for history on the CSS class.
git-svn-id: https://develop.svn.wordpress.org/trunk@17739 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 10:13:38 +00:00
Andrew Nacin
f8a460675c In Twenty Eleven: Register the widget from functions.php. Kill create_function. Attach twentyeleven_widgets_init() to widgets_init, rather than init. Eliminate use of the $post global in the widget. see #17198.
git-svn-id: https://develop.svn.wordpress.org/trunk@17738 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 09:47:30 +00:00
Andrew Nacin
fbd8700da1 Move files in inc/theme-options up one level. see #17198.
git-svn-id: https://develop.svn.wordpress.org/trunk@17735 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-28 08:59:42 +00:00
Lance Willett
311e42024c Twenty Eleven: add first batch of new header images, courtesy of the immeasurable photomatt archives - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17729 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 21:44:09 +00:00
Lance Willett
785060ffe1 Twenty Eleven: set default case for switch statement in the twentyeleven_comment(), props greenshady - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17722 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-27 04:38:36 +00:00
Ian Stewart
b6894e1703 Twenty Eleven: functions.php cleanup and introduction of theme options; see #17198
* Cleanup functions.php, adding comments and function_exists() checks following Twenty Ten's example
* Theme option for choosing an alternate (dark) color scheme. It currently only loads a placeholder CSS file with dark styles to follow.
* Theme option for selecting a link color that loads an internal style block for resetting link colors. An updated style.css will follow to take advantage of this.
* Theme options for selecting an alternate layout. Adds a class to the body element. An updated style.css will follow to take advantage of this.


git-svn-id: https://develop.svn.wordpress.org/trunk@17721 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 22:52:18 +00:00
Lance Willett
d59e482e59 Twenty Eleven: move widgets.php into /inc - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17720 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 21:05:43 +00:00
Lance Willett
f63ee143f3 Twenty Eleven: add support for Status and Quote formats, props iandstewart - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17717 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 18:46:31 +00:00
Lance Willett
f5756c89cf Twenty Eleven: strip trailing spaces, props kawauso - see #17198
git-svn-id: https://develop.svn.wordpress.org/trunk@17714 602fd350-edb4-49c9-b593-d223f7449a82
2011-04-26 18:34:52 +00:00