Commit Graph

103 Commits

Author SHA1 Message Date
Lance Willett dd99d5ce94 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: http://core.svn.wordpress.org/trunk@23720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:24:04 +00:00
Lance Willett c6720facd9 Twenty Eleven: use a filter to modify the output of `wp_title()`. Props obenland, see #23774.
git-svn-id: http://core.svn.wordpress.org/trunk@23718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-03-15 18:15:58 +00:00
Lance Willett 3dd379a1be Twenty Eleven: ensure `twentyeleven_url_grabber()` is pluggable by wrapping in a `function_exists` check.
git-svn-id: http://core.svn.wordpress.org/trunk@23474 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-02-22 16:50:40 +00:00
Lance Willett 718f02193a Twenty Eleven: escape navigation ID output, closes #22690.
git-svn-id: http://core.svn.wordpress.org/trunk@23000 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-12-03 20:13:14 +00:00
Andrew Nacin 0b60d08879 Proper default background color for Twenty Eleven. props miqrogroove. fixes #22347.
git-svn-id: http://core.svn.wordpress.org/trunk@22408 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-06 23:14:00 +00:00
Lance Willett f3cfd63822 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: http://core.svn.wordpress.org/trunk@22359 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-11-02 16:52:53 +00:00
Lance Willett 7ca388af6f Twenty Eleven: remove invalid pubdate value from time elements. See #22095.
git-svn-id: http://core.svn.wordpress.org/trunk@22213 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-10-12 16:12:14 +00:00
lancewillett 27281f6fd1 Twenty Ten and Eleven: *_continue_reading_link() should be pluggable, fixes #16500. Props nacin and SergeyBiryukov.
git-svn-id: http://core.svn.wordpress.org/trunk@21490 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 18:21:58 +00:00
lancewillett 24c98560e1 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: http://core.svn.wordpress.org/trunk@21487 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-08-09 17:32:39 +00:00
ryan 55958522c1 Back compat for bundled themes. Props nacin, SergeyBiryukov, kobenland. fixes #20768
git-svn-id: http://core.svn.wordpress.org/trunk@20983 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-04 14:43:19 +00:00
ryan 0f1f59b092 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: http://core.svn.wordpress.org/trunk@20973 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-06-01 20:31:50 +00:00
nacin 15cd25406d Twenty Eleven: Remove $locale.php file support. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20471 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 19:53:47 +00:00
nacin 759f103994 Flexible heights for Twenty Eleven's custom headers. see #20448.
git-svn-id: http://svn.automattic.com/wordpress/trunk@20470 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-04-15 19:53:10 +00:00
nacin 359ed454b7 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: http://svn.automattic.com/wordpress/trunk@20231 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-21 03:36:17 +00:00
nacin 1a265e464c 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: http://svn.automattic.com/wordpress/trunk@20225 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 21:32:42 +00:00
nacin 2b4051299e 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: http://svn.automattic.com/wordpress/trunk@20222 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2012-03-20 20:37:53 +00:00
ryan dd64f17ab7 More consistent attribute escaping. Props nacin.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19582 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-12-10 19:18:51 +00:00
nacin dc3a8f44fd 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: http://svn.automattic.com/wordpress/trunk@19289 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-15 00:37:50 +00:00
nacin a285efe6e3 Make twentyeleven_content_nav() pluggable. props adeptris, SergeyBiryukov. fixes #18585.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19242 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-11-10 18:41:05 +00:00
nacin 1154e4b468 Use get_template_directory() instead of TEMPLATEPATH in Twentys Ten and Eleven. props solarisssmoke, fixes #18071.
git-svn-id: http://svn.automattic.com/wordpress/trunk@19058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-10-25 04:42:16 +00:00
ryan fdc7409251 twentyeleven code tidy up. Props dd32, lancewillett. fixes #17748
git-svn-id: http://svn.automattic.com/wordpress/trunk@18385 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-30 21:57:50 +00:00
azaozz ef4356b411 More fixes for 2011, props iandstewart, see #17809
git-svn-id: http://svn.automattic.com/wordpress/trunk@18360 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-27 22:17:19 +00:00
azaozz d41f756348 TwentyEleven Theme H1 Priority, props iandstewart, fixes #17611
git-svn-id: http://svn.automattic.com/wordpress/trunk@18335 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-23 23:03:46 +00:00
ryan 9907923011 Add theme support option for turning on random default headers. fixes #17832
git-svn-id: http://svn.automattic.com/wordpress/trunk@18325 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-22 19:09:23 +00:00
nbachiyski dccfa68410 Add forgotten spaces. See #17777
git-svn-id: http://svn.automattic.com/wordpress/trunk@18304 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 14:54:14 +00:00
nbachiyski bdbb5bce7a Split the comment date and time string into two and add translator comments. See #17777
git-svn-id: http://svn.automattic.com/wordpress/trunk@18303 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-13 14:50:35 +00:00
ryan 46f63a6b1e Pinking shears
git-svn-id: http://svn.automattic.com/wordpress/trunk@18276 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 15:44:06 +00:00
dd32 7c16b8d1dd Twenty Eleven Functions.php comments cleanup, merge the 2 body class functions. Props jorbin. See #17748
git-svn-id: http://svn.automattic.com/wordpress/trunk@18272 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-11 06:30:59 +00:00
nacin 53cd4287e1 Twenty Eleven: escaping frenzy, hide authors if a single author blog. props DH-Shredder, props iandstewart, see #17385, fixes #17563.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18244 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-10 21:57:18 +00:00
iandstewart 17f43bea82 Twenty Eleven: correct typos in PHP comments
git-svn-id: http://svn.automattic.com/wordpress/trunk@18140 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-04 15:54:47 +00:00
iandstewart 8a7dd1e31c 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: http://svn.automattic.com/wordpress/trunk@18117 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-06-02 19:30:07 +00:00
iandstewart a44378eafd Twenty Eleven: Fix a typo in PHPdoc; Props tenpura; Fixes #17434
git-svn-id: http://svn.automattic.com/wordpress/trunk@18040 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 17:18:23 +00:00
iandstewart 0a2bb27386 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: http://svn.automattic.com/wordpress/trunk@18030 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-25 15:29:26 +00:00
nacin 7ab14c5ae3 echo. props ocean90, fixes #17535.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17985 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-22 21:25:42 +00:00
nacin 0b0f3304e3 Fix twentyeleven_url_grabber(). props duck_, see #17267.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17968 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-19 08:31:01 +00:00
nacin 7f98b9beaf Fix Twenty Eleven phpdoc subpackage names. props zeo, fixes #17444.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17959 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-18 19:06:09 +00:00
lancewillett 9471474740 Twenty Eleven: adding RTL editor styles and tighter header height - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17830 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-07 00:31:27 +00:00
iandstewart d9171ff64a Twenty Eleven: first pass at visual editor styles with RTL editor styles to come; See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17816 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-05 22:46:37 +00:00
lancewillett ac33e2df00 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: http://svn.automattic.com/wordpress/trunk@17802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-04 22:54:50 +00:00
lancewillett b89437791b 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: http://svn.automattic.com/wordpress/trunk@17790 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-05-03 20:16:34 +00:00
lancewillett ee4df1fc1e Twenty Eleven: introduce image post format and miscellaneous style fixes, props matveb and iandstewart - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17776 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 22:33:04 +00:00
lancewillett 62edbb753b Twenty Eleven: improve calls to get_header_image() - see #17240 and #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17775 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 22:22:19 +00:00
lancewillett 372e5fd8de 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: http://svn.automattic.com/wordpress/trunk@17761 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-29 00:19:02 +00:00
nacin bb306c3442 More Twenty Eleven cleanup and add the comment-awaiting-moderation class. see #17198. see #15206 for history on the CSS class.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17739 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 10:13:38 +00:00
nacin 2b71bba9c2 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: http://svn.automattic.com/wordpress/trunk@17738 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 09:47:30 +00:00
nacin e43ec9377d Move files in inc/theme-options up one level. see #17198.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17735 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-28 08:59:42 +00:00
lancewillett 5628ced76f Twenty Eleven: add first batch of new header images, courtesy of the immeasurable photomatt archives - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17729 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 21:44:09 +00:00
lancewillett 963d908223 Twenty Eleven: set default case for switch statement in the twentyeleven_comment(), props greenshady - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17722 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-27 04:38:36 +00:00
iandstewart 90451d9052 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: http://svn.automattic.com/wordpress/trunk@17721 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 22:52:18 +00:00
lancewillett 2bcbcf31ec Twenty Eleven: move widgets.php into /inc - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17720 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 21:05:43 +00:00
lancewillett 89bad03498 Twenty Eleven: add support for Status and Quote formats, props iandstewart - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17717 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:46:31 +00:00
lancewillett 972a41501e Twenty Eleven: strip trailing spaces, props kawauso - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17714 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:34:52 +00:00
matt 7d581043df Importing Duster theme, first pass at a candidate for twentyeleven theme.
Nice to have, but optional, improvements it'd be nice to have:

* Ability to have random rotating headers. (Core improvement to custom header functionality.)
* Color and layout options.
* More post formats. (Currently supporst  Asides, Links, and Galleries.)
* CMS-style slider home page option.

Welcome, TwentyEleven née Duster. :) Track at #17198.

git-svn-id: http://svn.automattic.com/wordpress/trunk@17669 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-20 21:46:33 +00:00