Commit Graph

615 Commits

Author SHA1 Message Date
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 36742c0032 Twenty Eleven: minor style fixes (overflow) for international blogs and replacing em dash with the proper CSS value for the entity. Props matveb, see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17719 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:59:32 +00:00
lancewillett 34cdfcdd41 Twenty Eleven: add additional conditional IDs for the html element, props iandstewart - see #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17718 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-26 18:54:03 +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
westi 9a003fc529 Provide more arguments to the widgets on the 404 page so as to avoid notices. See #17198
git-svn-id: http://svn.automattic.com/wordpress/trunk@17672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 07:43:25 +00:00
westi bfbc63f7a2 Fix html5 js link. See #17198 props Jayjdk
git-svn-id: http://svn.automattic.com/wordpress/trunk@17671 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-04-21 07:28:08 +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
potbot e8d109baaf POT, generated from r17478
git-svn-id: http://svn.automattic.com/wordpress/trunk@17479 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 08:27:30 +00:00
nacin 1687dd21b2 Back compat with the gallery_style filter in Twenty Ten. fixes #16610 for trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17478 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-22 08:23:30 +00:00
ryan b4173bbc4e 3.0 compat for twentyten
git-svn-id: http://svn.automattic.com/wordpress/trunk@17469 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-02-21 18:35:37 +00:00
nacin 266b772e9c Clear floats before page links in Twenty Ten. props chipbennett, fixes #16178.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17331 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-19 19:56:54 +00:00
potbot 477b1c3056 POT, generated from r17305
git-svn-id: http://svn.automattic.com/wordpress/trunk@17306 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 01:27:02 +00:00
nacin 73b17f9ef0 Add twentyten_attachment_height filter. props lancewillett, fixes #14402.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17305 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-15 01:12:00 +00:00
nacin 82f597e296 Check for theme support before calling has_post_thumbnail for child theme compatibility. see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17300 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-14 19:16:21 +00:00
nacin 50d3a36764 Add post format CSS to Twenty Ten. props iandstewart, fixes #16141.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17236 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-07 17:07:34 +00:00
nacin 4066dde395 Correct docs for TT version number. props Jayjdk, fixes #16087.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17212 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2011-01-03 22:47:05 +00:00
potbot 01aed94fd0 POT, generated from r17164
git-svn-id: http://svn.automattic.com/wordpress/trunk@17165 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 23:26:59 +00:00
nacin 7b3d6d03ee We'll release Twenty Ten 1.2 with 3.1. fixes #15990.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17164 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-28 22:57:37 +00:00
potbot ec8e5fe129 POT, generated from r17111
git-svn-id: http://svn.automattic.com/wordpress/trunk@17112 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 18:27:03 +00:00
nacin cf52befe03 Revert [16614] and [16614]. Deal with plural form issues in early 3.2 and remove the hacks from Twenty Ten. see #13651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17111 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-22 18:06:56 +00:00
potbot 5f4e34a4a9 POT, generated from r17092
git-svn-id: http://svn.automattic.com/wordpress/trunk@17093 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 22:21:43 +00:00
nacin be21df74ee Handle 'This gallery contains X photos' properly in Twenty Ten. fixes #15858.
git-svn-id: http://svn.automattic.com/wordpress/trunk@17072 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-20 09:34:58 +00:00
markjaquith 68e8654875 Mark Twenty Ten as GPL per new theme directory guidelines. props pross. fixes #15632
git-svn-id: http://svn.automattic.com/wordpress/trunk@16883 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-12 07:02:18 +00:00
nacin 8f96817661 Utilize gallery-columns-# classes in Twenty Ten. props ianstewart, lancewillett. fixes #15103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16869 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-11 04:05:32 +00:00
potbot 6634bd0314 POT, generated from r16866
git-svn-id: http://svn.automattic.com/wordpress/trunk@16867 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 20:21:45 +00:00
nacin d1cc06bac1 Deprecate twentyten_remove_gallery_css in favor of the use_default_gallery_style filter. see #15103.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16866 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-10 19:27:12 +00:00
potbot 76ca7a8301 POT, generated from r16782
git-svn-id: http://svn.automattic.com/wordpress/trunk@16783 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-08 00:21:45 +00:00
nacin 7c2e6f8c90 Add 'View Galleries' link for post formats. fixes #15506.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16782 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-07 23:31:35 +00:00
potbot e291e5010d POT, generated from r16729
git-svn-id: http://svn.automattic.com/wordpress/trunk@16730 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 04:21:31 +00:00
nacin 2955ecbc55 Fix typo in TT loop.php. props wpcanyon, markmcwilliams. fixes #15537.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16727 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 02:18:07 +00:00
nacin 0e29723f63 Fix comment number in Twenty Ten when there is one comment. Due to how these values are then passed to comments_popup_link(). We need to fix this. see #13651.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16726 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-05 02:15:51 +00:00
potbot 0c82da160e POT, generated from r16675
git-svn-id: http://svn.automattic.com/wordpress/trunk@16676 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:21:46 +00:00
nacin 56264e107b Allow the various header constants to be redefined in Twenty Ten. see #14903.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-12-02 00:17:12 +00:00
potbot 3030c278ba POT, generated from r16617
git-svn-id: http://svn.automattic.com/wordpress/trunk@16618 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 20:21:41 +00:00
nbachiyski d43b3a704c Make comments_popup_link() calls in Twenty Ten respect languages with multiple plural forms until we add such support in comments_number(). See #13651, props zeo
git-svn-id: http://svn.automattic.com/wordpress/trunk@16614 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-29 18:42:31 +00:00
potbot 3ea1ae7f4f POT, generated from r16590
git-svn-id: http://svn.automattic.com/wordpress/trunk@16591 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 20:21:41 +00:00
nacin 41c46efc24 Only link to the Gallery category if the post is in the category. (It may be a format.) see #15506, see #15378.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16589 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-25 18:59:19 +00:00
potbot 5618d1a644 POT, generated from r16540
git-svn-id: http://svn.automattic.com/wordpress/trunk@16541 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-23 00:22:47 +00:00
nacin 72a354331b Add a simple filter to allow removing the recent comments default widget styles. fixes #15493, see #14876.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16522 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-21 13:55:11 +00:00
potbot 1baed284ed POT, generated from r16480
git-svn-id: http://svn.automattic.com/wordpress/trunk@16481 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 08:21:40 +00:00
nacin 27cb70434a Twenty Ten code cleanups. props lancewillett, fixes #15476.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16480 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-19 05:37:47 +00:00
nacin 1e161cfe48 Don't pass optional argument with its default value. props hakre, fixes #15450.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16434 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-17 17:33:08 +00:00
westi 435c4c2dbf Revert most of [16332] - renaming and deprecating a commonly used function is silly. Improving it is good. Fixes #15407.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16334 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 21:53:15 +00:00
scribu 98cda5bd65 Replace get_the_category() with get_the_categories(). Props filosofo. Fixes #15407
git-svn-id: http://svn.automattic.com/wordpress/trunk@16332 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-12 20:05:37 +00:00
nacin e0c3676423 Hello Dolly 1.6. fixes typo, props sbressler, fixes #15229. Removes absolute from positioning, props kapeels, fixes #15228. Add some whitespace.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16270 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-10 12:43:04 +00:00
potbot 9451fa0d1b POT, generated from r16218
git-svn-id: http://svn.automattic.com/wordpress/trunk@16219 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-06 00:21:40 +00:00
nacin a3bcec29fe Twenty Ten bump to 1.3-alpha in trunk.
git-svn-id: http://svn.automattic.com/wordpress/trunk@16216 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 22:33:37 +00:00
potbot 4793578fb1 POT, generated from r16198
git-svn-id: http://svn.automattic.com/wordpress/trunk@16199 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2010-11-05 04:21:43 +00:00