Commit Graph

51 Commits

Author SHA1 Message Date
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
Andrew Nacin 95c85ceeee Flexible heights for Twenty Ten's custom headers. see #20448.
git-svn-id: https://develop.svn.wordpress.org/trunk@20474 602fd350-edb4-49c9-b593-d223f7449a82
2012-04-15 20:51:24 +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
Ryan Boren 63fc9195a5 Use one space, not two, after trailing punctuation. Prop Zeo. fixes #19537
git-svn-id: https://develop.svn.wordpress.org/trunk@19599 602fd350-edb4-49c9-b593-d223f7449a82
2011-12-16 17:13:16 +00:00
Andrew Nacin 5670ad00c6 Check for theme support before calling has_post_thumbnail for child theme compatibility. see #14903.
git-svn-id: https://develop.svn.wordpress.org/trunk@17300 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-14 19:16:21 +00:00
Andrew Nacin 81200f91c7 Don't pass optional argument with its default value. props hakre, fixes #15450.
git-svn-id: https://develop.svn.wordpress.org/trunk@16434 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-17 17:33:08 +00:00
Andrew Nacin 11c84be979 Check for header image before showing it, in Twenty Ten. props koopersmith, see #14486 for trunk.
git-svn-id: https://develop.svn.wordpress.org/trunk@15520 602fd350-edb4-49c9-b593-d223f7449a82
2010-08-23 05:58:55 +00:00
Andrew Nacin 2e19f3d22e Update to Twenty Ten 1.0.3 from theme dir. see #14284.
git-svn-id: https://develop.svn.wordpress.org/trunk@15392 602fd350-edb4-49c9-b593-d223f7449a82
2010-07-12 19:40:21 +00:00
Andrew Nacin c1104aaed6 Use wp_title() proper in Twenty Ten, and move the janky stuff to a filter. see #13751.
git-svn-id: https://develop.svn.wordpress.org/trunk@15195 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 18:26:53 +00:00
Andrew Nacin b030dda0dc Use default wp_nav_menu sorting in Twenty Ten. props iandstewart, fixes #13660.
git-svn-id: https://develop.svn.wordpress.org/trunk@15082 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-31 21:13:24 +00:00
Andrew Nacin 4a47793d2c In Twenty Ten, final pass on inline docs et al. props jorbin, zeo. fixes #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14786 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-21 18:56:27 +00:00
Andrew Nacin c7cd6fcedb In Twenty Ten, documentation and code improvements. see #12695.
git-svn-id: https://develop.svn.wordpress.org/trunk@14708 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 06:36:11 +00:00
Andrew Nacin 719af15b71 @subpackage cannot have spaces.
git-svn-id: https://develop.svn.wordpress.org/trunk@14692 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 17:10:21 +00:00
Andrew Nacin 4db10bf0d7 First pass on 'Theme Locations' for navigation menus. Themes need to specify a location when calling wp_nav_menu and register locations in functions.php. Users then map menus to locations in the nav menu admin. Subject to review. see #13378.
git-svn-id: https://develop.svn.wordpress.org/trunk@14620 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-14 06:20:30 +00:00
Ron Rennick 05b0578c06 add menu slots/theme_menus, props ryan, see #13378
git-svn-id: https://develop.svn.wordpress.org/trunk@14611 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-13 22:14:54 +00:00
Peter Westwood 7154389cc0 Add ARIA landmark roles to TwentyTen. Fixes #13055 props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@14549 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:10:12 +00:00
Nikolay Bachiyski ba41c965c8 Various twentyten i18n fixes. Props zeo, dimadin. Fixes #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14544 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 20:30:58 +00:00
Nikolay Bachiyski 052f0a3766 I18n fixes for header.php in Twentyten. Props zeo. See #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14535 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 06:04:14 +00:00
Andrew Nacin 11e0a2e969 Twenty Ten spacing and string cleanups. props zeo, markmcwilliams. see #13198. Add a twentyten_credits filter, props nathanrice, fixes #12804. Also clean up the generator/credits string.
git-svn-id: https://develop.svn.wordpress.org/trunk@14433 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-04 07:01:09 +00:00
Ryan Boren 00cb165e9c Use get_search_query(). Props zeo. see #13198
git-svn-id: https://develop.svn.wordpress.org/trunk@14388 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:28:04 +00:00
Andrew Nacin c0e482cc0e Check thread_comments before loading the comment-reply script. props ptahdunbar, fixes #12932
git-svn-id: https://develop.svn.wordpress.org/trunk@14339 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 20:51:30 +00:00
Matt Thomas df17d3d901 In Twenty Ten, fix the ordering of items in the title tag.
git-svn-id: https://develop.svn.wordpress.org/trunk@14282 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 17:17:42 +00:00
Matt Thomas 83f33b07ec In Twenty Ten, remove the pipe separator from the title when there is no blog description. Props noel.
git-svn-id: https://develop.svn.wordpress.org/trunk@14281 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-28 17:11:18 +00:00
Dion Hulse 007a50a14a Move all Feature Images => header image integration into a is_singular() check. Prevents a PHP notice when $post is not set (For example, a 404 page). Fixes #12661
git-svn-id: https://develop.svn.wordpress.org/trunk@14002 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-05 02:58:39 +00:00
Andrew Nacin f15366a78c Rough cut of Twenty Ten inline documentation. see #12695. props jorbin, demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13885 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 22:03:15 +00:00
Matt Thomas 21e08209ca Merge twentyten print style into style.css. Fixes #12733. Props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13872 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-29 00:48:03 +00:00
Matt Thomas f654e1a2e6 A compromise approach for #12542 -- Treat site-title as H1 on front page, unless it's a static page.
git-svn-id: https://develop.svn.wordpress.org/trunk@13846 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 21:50:39 +00:00
Matt Thomas 904064f000 Twenty Ten: Don't use post thumbnail as the custom header if it's smaller than the header size. See #12661. Props iandstewart
git-svn-id: https://develop.svn.wordpress.org/trunk@13836 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-27 01:59:46 +00:00
Andrew Nacin 4f5a2095a8 Remove trailing whites and double semicolons.
git-svn-id: https://develop.svn.wordpress.org/trunk@13830 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 19:36:49 +00:00
Matt Thomas 645f20b3fa Replace query strings with arras in Twenty Ten, see #12698. Props demetris.
git-svn-id: https://develop.svn.wordpress.org/trunk@13818 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-26 05:37:55 +00:00
Matt Thomas d504e9c257 Coding standards cleanup in twentyten, see #9015. Props sivel
git-svn-id: https://develop.svn.wordpress.org/trunk@13720 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 20:17:22 +00:00
Ryan Boren d710af9830 Menus rework. Props ptahdunbar. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13704 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-15 16:26:46 +00:00
Matt Thomas 983e4de293 Moving mobile webkit styles to style.css; adjusting widget_search label and site-description sizes. See #12303
git-svn-id: https://develop.svn.wordpress.org/trunk@13566 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 00:38:00 +00:00
Matt Thomas 43b89c9db5 Use a short HTML5-style charset declaration in twentyten, props demetris. See #12483
git-svn-id: https://develop.svn.wordpress.org/trunk@13565 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 00:19:18 +00:00
Andrew Nacin e451b71f9c Cleaner and ideally future-proof detection of mobile Safari browsers. see #12303
git-svn-id: https://develop.svn.wordpress.org/trunk@13555 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:48:31 +00:00
Matt Thomas c3622bd0f4 Add mobile webkit styles for twentyten. See #12303
git-svn-id: https://develop.svn.wordpress.org/trunk@13554 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:43:22 +00:00
Ryan Boren 2dad638a0e Menu enhancements. Props ptahdunbar. fixes #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13512 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 20:00:49 +00:00
Dion Hulse 40e684d779 Better internationalisation for TwentyTen. Props filosofo. Fixes #12384
git-svn-id: https://develop.svn.wordpress.org/trunk@13498 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-28 11:43:04 +00:00
Ryan Boren ed332ce2bd Fallback to wp_page_menu() from wp_nav_menu() if no menus are setup. Use wp_nav_menu() in twentyten. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13368 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 08:45:26 +00:00
Dion Hulse cc6a0a5d41 Twentyten whitespace cleanup, Wrap functions in function_exists() call to allow child themes to override them. Props sivel. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13157 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 21:39:20 +00:00
Andrew Nacin f67f4d7405 Use $wp_query->get_queried_object(). Also move wp_head() to end of <head>, see #9015.
git-svn-id: https://develop.svn.wordpress.org/trunk@13152 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 11:52:27 +00:00
Andrew Nacin 76091e3e9d Use automatic_feed_links() in twentyten, see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13144 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 08:07:55 +00:00
Dion Hulse 68d7f0d172 Move the Loop into a separate file. Reduces code duplication and adds Gallery/Aside styling to all archive views. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13141 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 07:13:34 +00:00
Andrew Nacin 4acf280647 home_url() returns a value, needs to be echoed in twentyten header and footer. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13138 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 06:12:12 +00:00
Dion Hulse ba7701007b Formatting, Translations & Whitespace. Props ptahdunbar. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13128 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 01:00:22 +00:00
Dion Hulse c43fd055e8 Whitespace cleanup, TwentyTen <title> standardisation & gettext. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13112 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 13:35:03 +00:00
Dion Hulse 013ab6d764 Remove Direct SQL, Use new esc_html() function, Correct the case of the ID keys. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13105 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-13 09:59:16 +00:00
Matt Thomas 085bcc1624 Close profile link tag in twentyten
git-svn-id: https://develop.svn.wordpress.org/trunk@13059 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-12 04:48:24 +00:00
Ryan Boren c2d97472eb Escape some attributes. Fix search form action. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13029 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 20:28:13 +00:00
Ryan Boren 86d7ef0b69 Trim trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@13025 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 18:02:23 +00:00