Commit Graph

83 Commits

Author SHA1 Message Date
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
Matt Thomas 95ca2ad069 In Twenty Ten:
* removed custom functions for listing tags, cats, or other custom taxonomy terms.
* fixed up a couple of span tags meant to catch the text before tag and cat listings (for child themes)
* made attachment pages full width with a filterable size for the image, 'twentyten_attachment_size' (for child themes)
* removed "RSS for this post" in single.php.
clicking on attachment images in a gallery takes you to the next image, unless it's the last image in a gallery, in which case it points you back to the parent post.
* added a link to the full-size image in the post meta

Props iandstewart.

git-svn-id: https://develop.svn.wordpress.org/trunk@14384 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 19:16:47 +00:00
Ryan Boren 57a5a11660 Revert [14347] and [14372]. It broke more than we expected. Try again in 3.1. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14374 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-03 18:16:22 +00:00
Ryan Boren 7fcda10d46 Escape links by default. Props alexkingorg. see #13051
git-svn-id: https://develop.svn.wordpress.org/trunk@14347 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-02 22:53:59 +00:00
Andrew Nacin c7771375e3 Translate name of sidebars in twentyten. props zeo, fixes #13189.
git-svn-id: https://develop.svn.wordpress.org/trunk@14322 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-30 22:34:41 +00:00
Matt Thomas 24ee9c06c9 In twentyten, use path.jpg as the default header image
git-svn-id: https://develop.svn.wordpress.org/trunk@14227 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-25 01:02:51 +00:00
Andrew Nacin b1aa2af855 Cast away the default styling of the recent comments widget in twentyten. fixes #12703
git-svn-id: https://develop.svn.wordpress.org/trunk@13977 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-03 23:33:52 +00:00
Andrew Nacin 408e9ed2e2 Update obsolete docs in Twentyten.
git-svn-id: https://develop.svn.wordpress.org/trunk@13936 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 04:45:22 +00:00
Dion Hulse f09e81941e Restore pluggable for twentyten_setup(). Its impossible for child themes to override without using a callback to remove the filter at a higher priority. Props jorbin. Fixes #12806
git-svn-id: https://develop.svn.wordpress.org/trunk@13923 602fd350-edb4-49c9-b593-d223f7449a82
2010-04-02 00:54:48 +00:00
Andrew Nacin 4746be453f Use $paged global instead of get_query_var('paged') in Twenty Ten. see #12748
git-svn-id: https://develop.svn.wordpress.org/trunk@13889 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 13:12:36 +00:00
Andrew Nacin d3715d1b45 Clarify order of operations for a child theme removing a filter of a parent theme. see #12695, see #12748
git-svn-id: https://develop.svn.wordpress.org/trunk@13888 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 12:55:08 +00:00
Andrew Nacin e6e9ad218d Second pass on twentyten/functions.php inline documentation. see #12695. Also:
rename twentyten_init() to twentyten_setup(), to reflect the hook it is run on (init would be too late, it must be after_setup_theme). Remove unnecessary twentyten_get_page_number() and transfer functionality to twentyten_the_page_number(). Remove the function_exists() wrappers from functions that are simply tied to a hook, as a better practice would be to remove the hook instead of plugging the function. For architecture changes, see #12748.

git-svn-id: https://develop.svn.wordpress.org/trunk@13886 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-30 00:05:17 +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
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 6db5b5d145 Fix missing domain translation, see #9015. Props momo360modena.
git-svn-id: https://develop.svn.wordpress.org/trunk@13724 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-16 23:11:30 +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
Andrew Nacin 49de79c941 Remove only gallery CSS in twentyten, leaving the gallery div classes and id intact. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13552 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-02 18:08:14 +00:00
Andrew Nacin 33798863d4 Introduce add_editor_style() to easily register a stylesheet for the visual editor. see #11512 see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13441 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 20:12:06 +00:00
Ryan Boren 61ffa682c1 Note theme support for custom background, header, and menus. see #11817
git-svn-id: https://develop.svn.wordpress.org/trunk@13417 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 22:04:59 +00:00
Ryan Boren 4ee18ae484 Default header selector, first pass. see #12343
git-svn-id: https://develop.svn.wordpress.org/trunk@13403 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 19:18:44 +00:00
Dion Hulse 49dce31f70 Deprecate automatic_feed_links() in favor of add_theme_support('automatic-feed-links'). Props Viper007Bond. Fixes #12364
git-svn-id: https://develop.svn.wordpress.org/trunk@13398 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-25 08:56:19 +00:00
Dion Hulse 9760997180 Rename the new 'themes_loaded' hook to 'after_setup_theme' to prevent confusion as to what it actually does & where its fired from. Fixes #12231
git-svn-id: https://develop.svn.wordpress.org/trunk@13214 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 10:00:00 +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
Dion Hulse 2bfeae67c6 Replace $authordata usage with API, Restore "Also posted in.."/"Also tagged..." on taxonomy archives, Handle Excerpts for Asides correctly on Archives. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13147 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 10:02:38 +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 c095bc880d Fix comment listing, Correct Indentations. See #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13129 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-14 01:12:51 +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
Ryan Boren 8bc11462e3 First pass at custom background support. Needs UI love. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13041 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-09 20:37:12 +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
Ryan Boren 82e3b2f8f4 Twenty Ten initial import. Props Ian Stewart, Matt Thomas, and others. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13012 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 16:16:26 +00:00