Commit Graph

123 Commits

Author SHA1 Message Date
Ryan Boren 764b0e4068 Background color selection. Props lancewillett. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13574 602fd350-edb4-49c9-b593-d223f7449a82
2010-03-03 17:10:43 +00:00
Andrew Nacin 7c2178caba Escape mod_$theme option name. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13469 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 20:26:37 +00:00
Andrew Nacin bd51cf8b51 add_editor_style() third pass. better performance and better child theme support. see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13453 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-27 07:36:35 +00:00
Andrew Nacin 394430fbbe add_editor_style(), second pass. Accept an array of stylesheets, also allow multiple calls to the function. Support child themes. See #9015 see #11512
git-svn-id: https://develop.svn.wordpress.org/trunk@13444 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-26 21:07:41 +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
Ryan Boren 66b081abd2 Remove author tags. fixes #12366
git-svn-id: https://develop.svn.wordpress.org/trunk@13377 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-24 19:07:21 +00:00
Andrew Nacin d0b71fc766 Fix potential notice. props hakre, see #12283
git-svn-id: https://develop.svn.wordpress.org/trunk@13225 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-19 15:04:46 +00:00
Peter Westwood 6c53a37d5b Move more references from default to WP_FALLBACK_THEME. To make 'default' theme transition smoother in the future.
git-svn-id: https://develop.svn.wordpress.org/trunk@13202 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 22:09:06 +00:00
Andrew Nacin 13584938e1 Use background-position, as background-position-x has incomplete browser support (Webkit and IE6+ only, no Firefox or Opera). See #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13190 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 04:46:40 +00:00
Ryan Boren f1eb009074 Add defaults for background option radios. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13189 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 03:12:05 +00:00
Ryan Boren 1cd2f4c113 Use background-position-x. Props iammattthomas. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13188 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 03:01:45 +00:00
Ryan Boren 5d1cb7981a Add some options to custom background admin. Needs styling. see #12186
git-svn-id: https://develop.svn.wordpress.org/trunk@13186 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-18 00:14:56 +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 712c98007d Look for single-.php templates. Add single- class to get_body_class(). Props ptahdunbar. see #12105
git-svn-id: https://develop.svn.wordpress.org/trunk@13032 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-08 22:05:05 +00:00
Ryan Boren 2c1ee29143 Slightly more informative error message for themes missing their parent theme. Need to offer to install the parent if it is in the themes directory.
git-svn-id: https://develop.svn.wordpress.org/trunk@13020 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 23:19:39 +00:00
Peter Westwood 9fbea38820 Switch to a constant for the fallback theme. See #9015.
git-svn-id: https://develop.svn.wordpress.org/trunk@13019 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 22:36:37 +00:00
Ryan Boren ee112fbd12 Make twentyten the fallback theme. see #9015
git-svn-id: https://develop.svn.wordpress.org/trunk@13018 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 22:27:51 +00:00
Peter Westwood 085e0c3487 Ensure we are PHP4 compat. Fixes #12167 props blepoxp.
git-svn-id: https://develop.svn.wordpress.org/trunk@13014 602fd350-edb4-49c9-b593-d223f7449a82
2010-02-07 21:07:35 +00:00
Peter Westwood 3a5f8c0ead Support specific author templates by id or user_nicename. Fixes #12064 props nacin.
git-svn-id: https://develop.svn.wordpress.org/trunk@12915 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-31 21:32:39 +00:00
Ryan Boren 93fc30b2a0 Send user back to main custom header page after cropping and setting image. Add support for a custom image div callback for greather theme flexibility. Props dphiffer. see #11855
git-svn-id: https://develop.svn.wordpress.org/trunk@12890 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-28 19:00:16 +00:00
Ryan Boren 8ef8b7bad5 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@12733 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-15 22:11:12 +00:00
Ryan Boren 974b6c1ce4 Introduce home_url(). Props Denis-de-Bernardy, hakre. see #9008
git-svn-id: https://develop.svn.wordpress.org/trunk@12598 602fd350-edb4-49c9-b593-d223f7449a82
2010-01-04 17:23:29 +00:00
Ryan Boren d117c4918b Make sure dir() returned a dir object.
git-svn-id: https://develop.svn.wordpress.org/trunk@12434 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-17 19:56:05 +00:00
Mark Jaquith ab97039f96 Post/Page Image was too generic a name. Post/Page Thumbnail is more clear, even if you can create very large thumbnail images if you so choose.
git-svn-id: https://develop.svn.wordpress.org/trunk@12351 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-10 06:14:36 +00:00
Ryan Boren 3d6a741305 Allow registering post image support per post type. fixes #11364
git-svn-id: https://develop.svn.wordpress.org/trunk@12350 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-09 15:39:20 +00:00
Mark Jaquith aeb4be8d81 Revision 12345. Nothing but whitespace fixes. That's how I roll.
git-svn-id: https://develop.svn.wordpress.org/trunk@12345 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 21:29:12 +00:00
Mark Jaquith 51e25872a6 Standardize around "post image" instead of "post thumbnail"
git-svn-id: https://develop.svn.wordpress.org/trunk@12339 602fd350-edb4-49c9-b593-d223f7449a82
2009-12-08 16:34:04 +00:00
Peter Westwood fffae7eb1f Reduce the size of the data returned by get_themes() by ~30% by reducing duplication.
git-svn-id: https://develop.svn.wordpress.org/trunk@12226 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 20:45:37 +00:00
Ryan Boren e6be89ee0a Avoid warning when parent template does not exist.
git-svn-id: https://develop.svn.wordpress.org/trunk@12216 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-19 16:35:17 +00:00
Peter Westwood 2c459fea5e Improve get_page_template() to search based on slug and id as well. Fixes #11055 props aaroncampbell.
git-svn-id: https://develop.svn.wordpress.org/trunk@12135 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-01 10:18:34 +00:00
Peter Westwood 20bd817385 Introduce require_if_theme_supports(), move post thumbnails functions to there own include and only included them if the theme supports them. See #10928 and [12132]
git-svn-id: https://develop.svn.wordpress.org/trunk@12134 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-01 10:10:06 +00:00
Mark Jaquith cde0b909e4 Introducing add_theme_support(feature) and current_theme_supports(feature) for announcing and checking theme support for various features. Implement it for post/page thumbanils, hiding UI if not supported.
git-svn-id: https://develop.svn.wordpress.org/trunk@12132 602fd350-edb4-49c9-b593-d223f7449a82
2009-11-01 05:27:39 +00:00
Ryan Boren dfaf38749c get_themes() and theme root fixes. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12129 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-30 00:18:15 +00:00
Ryan Boren 944dad2c59 Introduce get/set/delete_site_transient(). Make theme_roots a site transient.
git-svn-id: https://develop.svn.wordpress.org/trunk@12128 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-29 21:53:57 +00:00
Ryan Boren 049955e49b Theme roots are prefixed with a slash. No need to add another. Props hakre. fixes #11036
git-svn-id: https://develop.svn.wordpress.org/trunk@12124 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-28 21:58:15 +00:00
Ryan Boren a96b4a4e18 Theme subdirs that contain themes are not broken if missing a stylesheet. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12119 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 17:32:12 +00:00
Ryan Boren ef9260219a More theme subdir fixes. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12118 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 17:17:23 +00:00
Ryan Boren a0f9bea8cb Partial fix for theme subdir support. see #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12117 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-27 16:45:30 +00:00
Peter Westwood df21977652 Display better information about broken themes when there is no stylesheet. Fixes #10999 props sivel.
git-svn-id: https://develop.svn.wordpress.org/trunk@12091 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-22 20:15:54 +00:00
Peter Westwood 9510a36835 Allow for plugins to enhance the number of metadata fields captured from plugin and theme headers. See #8964 props strider72.
git-svn-id: https://develop.svn.wordpress.org/trunk@12044 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 21:07:00 +00:00
Peter Westwood 097a918639 Restore the functionality of the theme_root filter. See #10467.
git-svn-id: https://develop.svn.wordpress.org/trunk@12043 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:45:32 +00:00
Ryan Boren a4789b3cc1 Associate subdirector of whitespace trims trailing whites with pinking shears.
git-svn-id: https://develop.svn.wordpress.org/trunk@12042 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-15 20:26:21 +00:00
Mark Jaquith 1a00881a37 Introducing register_theme_directory() which takes a wp-content-relative path and will additionally scan it for themes. Plugins can use this to add themes without requiring copying by the user. props apeatling. fixes #10467
git-svn-id: https://develop.svn.wordpress.org/trunk@12025 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-13 19:06:35 +00:00
Peter Westwood 44fc49bb90 Allow for tag templates to be linked by tag id as well as name. Fixes #10868.
git-svn-id: https://develop.svn.wordpress.org/trunk@12010 602fd350-edb4-49c9-b593-d223f7449a82
2009-10-08 17:27:51 +00:00
Ryan Boren bb43e36418 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11971 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-24 17:19:13 +00:00
Peter Westwood 64adda80db Updated phpdoc for the theme preview code.
git-svn-id: https://develop.svn.wordpress.org/trunk@11959 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-22 07:16:19 +00:00
Peter Westwood 2838a1c85d Move theme preview away from using create_function and to predefined functions. See #10729.
git-svn-id: https://develop.svn.wordpress.org/trunk@11957 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-21 21:43:41 +00:00
Ryan Boren 43c201d458 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@11930 602fd350-edb4-49c9-b593-d223f7449a82
2009-09-14 14:03:32 +00:00