Michael Fields
c4a02323c6
_s: Remove notice in Theme Options screen in WordPress 3.4. props @corvannoorloos
...
* Replace deprecated get_current_theme() with wp_get_theme()
* Providing back-compat with prior versions of WordPress.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9647 d957f892-c61d-0410-b221-f235e6eecf30
2012-05-26 23:39:53 +00:00
Michael Fields
f705f1c5f9
_s: Update Custom Header Code. fixes #1212
...
* Use WordPress 3.4's registration method providing backward compatibility for previous versions.
* Implement shiv for get_custom_header(). props @obenland
* Allow all custom header args to be filtered via child theme/plugin.
* Update example code in DocBlock to use get_custom_header().
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9484 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-23 22:52:48 +00:00
Michael Fields
c30057cd92
_s: Only set theme options if necessary. fixes #1151
...
* Remove call to add_option() during admin_init.
* Rework _s_get_theme_options() so that it merges default values into the stored settings.
* Rework _s_theme_options_validate() to only return recognized values if they are present in the $_POST request - only store what is absolutely necessary.
* Updated the docs in a few places.
* Note: _s now requires PHP5. see L161 array_intersect_key().
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9483 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-23 21:35:30 +00:00
Ian Stewart
fc97fbd34d
Merge branch 'master' of github.com:Automattic/_s
...
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9022 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-29 15:43:18 +00:00
Michael Fields
1d680edf9c
_s: needs to be declared globally.
...
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8964 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-17 22:34:53 +00:00
Ian Stewart
32cdefb9ac
_s: removing reference to a help doc that isn't there and an unneeded variable check
...
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8941 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 17:39:26 +00:00
Ian Stewart
e4a5c76fd6
_s: simpler way of handling hiding authors on single author blogs without adding another class
...
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8877 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 02:57:41 +00:00
Ian Stewart
545b3514b3
_s: If the tweaks file is in use hide the author of posts everywhere except singular -- where it's useful to see the author if that's your entry point to a single author blog -- unless it's a group blog in which case just show the author name everywhere. Doing this all with just CSS so it's easily reversible with child themes of themes built from _s
...
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8876 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-07 02:52:04 +00:00
Ian Stewart
0a42cc02cb
_s: Adding ARIA navigation roles to the all the nav elements
...
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8851 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-03 14:22:08 +00:00
Ian Stewart
761e93ad32
_s: adding a sample custom header, commented out
2012-01-31 20:18:40 +00:00
Ian Stewart
a81dc6a810
_s: Adding starter styles along with a few markup changes to accomodate them
2012-01-13 20:10:17 +00:00
Ian Stewart
803ddfe86c
_s: incorporating a revamped version of our sample theme options
2012-01-13 04:02:59 +00:00
Ian Stewart
9e817e0aa4
_s: There's little worry about setting the wrong themecolors if you're manually including this file so let's have every array item and leave them blank for now
2012-01-11 04:24:42 +00:00
Ian Stewart
ea9222cda2
_s: Simplifying the markup for template tags
2012-01-11 04:19:37 +00:00
Ian Stewart
01ce62d24f
_s: simplifying functions.php by making some of the stuff happening there modular with functions being called in templates showing up in template-tags.php, little extras that won't produce a visible error if they're missing in tweaks, and wpcom stuff in wpcom
2012-01-11 03:43:23 +00:00