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
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