Commit Graph

68 Commits

Author SHA1 Message Date
Konstantin Kovshenin c5b01c3bac No need for the $post global in _s_scripts()
The wp_attachment_is_image() function will figure out the $post global internally, does not require one to be passed. Makes _s_scripts look cleaner.
2012-08-14 10:08:10 +04:00
Michael Fields 30e64f4cbc _s: Do not load $locale.php fixes #1213
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9482 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-23 21:17:48 +00:00
Takashi Irie 614dca2933 _s: Fixed a typo
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9347 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-30 10:47:41 +00:00
Philip Arthur Moore f104cec482 _s: Enable support for Post Thumbnails
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9276 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-20 11:39:41 +00:00
Michael Fields 10314c8cb4 _s: Script dependancies need to be given as an array. Remove unneeded jQuery enqueue.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9086 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-06 14:03:39 +00:00
Ian Stewart 3bc1fe9192 _s: we need to use the stylesheet_uri here or the default child theme stylesheet overriding doesn't work.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8956 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-16 20:59:28 +00:00
Ian Stewart 8de2e81018 _s: enqueue style.css for consistency and for more customization through child themes of themes built on _s
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8938 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 16:55:40 +00:00
Ian Stewart 7aa2224a74 _s: we shouldn't need to check if this is the admin here if we know that is_singular is true
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8937 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 16:14:46 +00:00
Ian Stewart f3dc4c227d _s: move scripts into one function added to wp_enqueue_scripts
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8936 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-14 16:10:45 +00:00
Ian Stewart 0d87fcd173 _s: attaching sidebar registration to the correct hook
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8928 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-13 16:03:39 +00:00
Ian Stewart e932aaadc4 _s: provide a more helpful message to users with no posts on the home page or none at all; See #1112
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8917 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-10 20:36:53 +00:00
Ian Stewart 4f3d984c7c _s: Simple script for changing the classes of the main menu based on browser width let's you easily restyle a menu for small screens without changing the markup
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@8868 d957f892-c61d-0410-b221-f235e6eecf30
2012-02-06 16:40:54 +00:00
Ian Stewart 761e93ad32 _s: adding a sample custom header, commented out 2012-01-31 20:18:40 +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 553c12f513 _s: If there's only one sidebar we can call it a sidebar 2012-01-11 04:21:12 +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
Ian Stewart db89577313 _s
* Post format support for asides only, supported by CSS and not a template, is a good workable minimum for a theme so the post format templates are gone
* With good support for essential CSS in IE8+ it's not neccesary to have a ID on the HTML element for the version of IE
* Branding and site-generator are ugly id names
* The title and description are selectable by class for consistency and portability
2012-01-10 20:43:34 +00:00
Ian Stewart edfeccc255 _s: initial fork of Toolbox 2012-01-07 03:25:13 +00:00