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
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
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
Andrew Nacin
e63f2549db
Back compat with the gallery_style filter in Twenty Ten. fixes #16610 for trunk.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17478 602fd350-edb4-49c9-b593-d223f7449a82
2011-02-22 08:23:30 +00:00
Andrew Nacin
61161d86ba
Correct docs for TT version number. props Jayjdk, fixes #16087 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@17212 602fd350-edb4-49c9-b593-d223f7449a82
2011-01-03 22:47:05 +00:00
Andrew Nacin
468bab05a7
Deprecate twentyten_remove_gallery_css in favor of the use_default_gallery_style filter. see #15103 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16866 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-10 19:27:12 +00:00
Andrew Nacin
4c0ef1e0ba
Allow the various header constants to be redefined in Twenty Ten. see #14903 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16675 602fd350-edb4-49c9-b593-d223f7449a82
2010-12-02 00:17:12 +00:00
Andrew Nacin
f82118f579
Add a simple filter to allow removing the recent comments default widget styles. fixes #15493 , see #14876 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16522 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-21 13:55:11 +00:00
Andrew Nacin
c5665d8ed2
Twenty Ten code cleanups. props lancewillett, fixes #15476 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16480 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-19 05:37:47 +00:00
Mark Jaquith
2cc7354154
Add Post Format support to TwentyTen. Can now use this to designate an Aside or a Gallery! see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16197 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-05 02:25:41 +00:00
Mark Jaquith
ef54c47f7a
add_theme_support( 'post-formats', array( 'aside', 'image', 'etc' ) ); Add UI for choosing a post format, and save the choice. see #14746
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16174 602fd350-edb4-49c9-b593-d223f7449a82
2010-11-04 07:41:07 +00:00
Andrew Nacin
7b6f24eeeb
Add a class to 'Your comment is awaiting moderation' in the comment walker and Twenty Ten's callback. fixes #15206 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16028 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-28 03:58:51 +00:00
Andrew Nacin
8e7e99047e
Fix some encoding issues. props hakre, fixes #14735 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@16005 602fd350-edb4-49c9-b593-d223f7449a82
2010-10-27 09:54:17 +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
eded964f75
In Twenty Ten, don't use the filter on wp_title in feeds.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15261 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-15 12:27:07 +00:00
Ron Rennick
c49bbc943f
arrange twentyten strings for easier translation, props zeo, fixes #13824
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15222 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 16:15:25 +00:00
Andrew Nacin
c4bda60979
Use a switch. props jdub, see #13812 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15212 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 03:34:52 +00:00
Matt Thomas
b4966db02b
Avoid displaying custom comment types as pingbacks/trackbacks in Twenty Ten. Fixes #13812 . Props jdub.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15209 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-11 02:17:26 +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
a53e7e3018
Switch to current_theme_supports(menus) internally. Adding theme support for 'nav-menus' is deprecated in favor of register_nav_menu(s). fixes #13825 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15193 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-10 17:57:30 +00:00
Andrew Nacin
b49f04cea3
Don't show 'Continue reading' in Twenty Ten on attachment pages. props iandstewart, fixes #13361 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15120 602fd350-edb4-49c9-b593-d223f7449a82
2010-06-02 22:41:14 +00:00
Ron Rennick
88e05ab89f
continue reading link on custom excerpt in TwentyTen, props iandstewart, fixes #13361
...
git-svn-id: https://develop.svn.wordpress.org/trunk@15040 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-28 17:01:27 +00:00
Mark Jaquith
fc7bcd0e63
Do not display category blurb for post types that do not support that taxonomy.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14955 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-26 20:06:54 +00:00
Ryan Boren
065c7382e4
Custom header fixes and rework. Props ocean90. fixes #13231
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14907 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 22:05:51 +00:00
Andrew Nacin
fc470dfaeb
Always show 'Continue reading' link when dealing with excerpts in Twenty Ten. props iandstewart, fixes #13361 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14889 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-25 16:08:44 +00:00
Andrew Nacin
b30c9c252e
Some menu string improvements. props JohnONolan. see #13378 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14832 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-24 09:26:41 +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
9dcd604e6f
Refer to the right codex article. props MichaelH, see #12695 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14709 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-17 06:52:47 +00:00
Andrew Nacin
baf3a2a41e
Twenty Ten documentation and functions.php improvements. see #12695 .
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14698 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-16 20:53:36 +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
Nikolay Bachiyski
967ef93bc1
Do not cut the Tagged <tags> phrase in half. Fixes #13198
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14552 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 21:24:32 +00:00
Nikolay Bachiyski
691bbab34d
Clean up loop i18n. Props zeo, see #13198
...
* Take out tags from strings
* Extract two common and complicatd strings into functions
* Whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@14541 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 19:06:22 +00:00
Nikolay Bachiyski
f7c2b55c6d
I18n and whitespace fixes for functions.php in TwentyTen
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14534 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-10 05:58:24 +00:00
Andrew Nacin
1fcb5f3a63
Properly handle the wp_page_args filter in Twenty Ten. fixes #13293 , props demetris.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14500 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-07 18:11:58 +00:00
Matt Thomas
624ab9b864
Add a home link to the navigation in twenty ten. Props iandstewart.
...
git-svn-id: https://develop.svn.wordpress.org/trunk@14469 602fd350-edb4-49c9-b593-d223f7449a82
2010-05-06 03:04:22 +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
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