Konstantin Obenland
91d2514a62
_s: List post formats in their own line.
...
d8a88d2097
brought the HTML5 support declaration close to how Twenty Thirteen and Twenty Fourteen do it, leaving post formats doing their own thing.
Let's make displaying array values consistent with the latest default themes.
2014-05-29 14:14:25 -07:00
Emil Uzelac
d8a88d2097
Post Formats code re-formatting
...
See: https://github.com/Automattic/_s/pull/498#issuecomment-44492997
2014-05-29 01:54:04 -05:00
Konstantin Obenland
16a0d47af6
Merge pull request #443 from joshmcrty/master
...
Add support for HTML5 captions.
2014-04-25 11:04:47 -05:00
Konstantin Obenland
32350a8103
_s: Encourage the use of sidebar descriptions.
...
Sidebar descriptions provide an opportunity to provide context about
where the sidebar is located or when it is loaded. We should encourage
theme developers to use them, similar to how we hint default images for
custom headers and backgrounds.
The callback’s outdated documentation describes the function in an
early state of Toolbox (introduced in r3678-wpcom-themes), the earliest
public record would be
https://themes.trac.wordpress.org/browser/toolbox/0.3/functions.php#L99
This is as good an opportunity to update it as any.
Props @emiluzelac for initial patch.
Fixes #433 .
2014-04-10 19:03:23 -07:00
Josh McCarty
d193c519b4
Add support for html5 caption
2014-03-23 21:46:35 -07:00
Konstantin Kovshenin
85bce0cc74
Add HTML5 support for WordPress galleries.
2014-02-27 13:27:00 -06:00
Ulrich Pogson
bcde97082b
Enable support for HTML5 markup.
2013-12-22 17:53:20 +01:00
Philip Arthur Moore
6264437ff9
Add braces around single-line conditionals. See http://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/ .
2013-11-14 19:49:50 +07:00
obenland
7c1067eee3
_s: Remove `image.php` and related code. Image attachments will be
...
displayed by `single.php`. See
http://codex.wordpress.org/Template_Hierarchy
2013-11-07 15:59:02 -04:00
obenland
6f63a0b39a
_s: Adhere to updated WordPress core code formatting.
...
* Update PHPDoc.
* Add periods to the end of comment sentences.
* Limit line length to 80 chars.
* Use C++-style PHP comments only for function and file documentation.
2013-11-07 15:41:41 -04:00
Philip Arthur Moore
db5cc6d3ce
Remove WordPress.com-specific functions and definitions require line from functions.php; wpcom.php is now automatically included via plugin on WordPress.com.
2013-07-24 16:04:56 -07:00
obenland
584ed2a6f2
_s: Remove back compat for custom header/background. Fixes #244 .
2013-06-27 07:14:12 -07:00
obenland
9afe82b900
_s: Require is a statement, not a function. Props @drrobotnik. Fixes
...
#213 .
2013-05-25 12:35:51 +02:00
obenland
7a570bef38
_s: Load all modules consistently at the bottom of the file.
2013-05-20 16:07:25 +02:00
Philip Arthur Moore
64f78bca0d
DocBlock adjustments to post thumbnail support. See #207 .
2013-05-02 11:02:38 +09:00
Philip Arthur Moore
e59b1cd448
Turn post thumbnail support off by default, as it's used nowhere in the theme by default. Also add a DocBlock into the theme which gives more information on post thumbnail support implementation.
2013-04-24 19:57:11 +09:00
Philip Arthur Moore
6885730506
Make sure that the theme's style enqueue handles are properly prefixed.
2013-03-23 17:03:12 -05:00
Philip Arthur Moore
fe19f5433b
Ditch all @since DocBlocks from theme.
2013-03-18 14:53:23 -05:00
obenland
c4f2aa32ce
_s: Formatting changes:
...
- Reduce element comments to either the element id or the first element
class.
- Tabs > Spaces.
- Improve adherence to formatting guidelines.
2013-03-04 16:41:38 -08:00
Michael Fields
debefa8b98
Merge pull request #139 from aaronjorbin/master
...
make "Skip to content" link work in browsers that are doing_it_wrong, but without jQuery. props @aaronjorbin
2013-02-27 15:15:49 -08:00
sixhours
620b8e5e53
Merge pull request #66 from kovshenin/patch-8
...
Replace small-menu.js with navigation.js inspired by Twenty Twelve.
2013-02-27 13:28:31 -08:00
Philip Arthur Moore
16906d44c5
_s: Add basic Infinite Scroll support. Fixes #107 . Fixes #105 . Props @ethitter.
2013-02-03 02:03:40 -05:00
Michael Fields
c2dca5db27
Add basic support for core custom background feature providing fallbacks for WordPress 3.3. Fixes #29
2013-02-02 20:11:57 -10:00
Aaron Jorbin
6ee6126089
On hashchange, make sure we set focus for elements that need it. Essentially the same as 136, but without jquery
2013-01-21 19:01:53 -05:00
Philip Arthur Moore
a99a494c39
_s: Correct DocBlock above theme support for Post Formats. See #126 .
2012-12-31 17:05:17 +07:00
Michael Fields
3427f7f574
Merge pull request #126 from philiparthurmoore/enhancements/add-insta-post-formats
...
_s: Add additional Post Formats into functions.php
2012-12-28 16:36:33 -08:00
Philip Arthur Moore
b6a72553aa
_s: Add additional Post Formats into functions.php, to be in line with WordPress.com's Instapost posting experience.
2012-12-25 22:27:36 +07:00
obenland
c7d3e37fc6
s/theme-customizer/customizer
2012-11-30 09:13:05 -08:00
obenland
181c363800
Theme Customizer > Theme Options
...
* Removes sample theme options
* Adds Theme Customizer enhancement (actually working!)
Goal: Emphasize the use of the Customizer versus out of style Theme
Options.
2012-11-28 14:51:38 -08:00
Konstantin Obenland
ba4af1262a
Merge pull request #79 from kovshenin/patch-11
...
* Introduces a filter for wp_title instead of hard-coding things in header.php
* Renames inc/tweaks.php to inc/extras.php
* Includes inc/extras.php by default in functions.php
See #12 , #13 , #33
2012-11-28 09:24:23 -08:00
Cor van Noorloos
064daacda6
Space before colon
...
Minor formatting
2012-11-03 23:02:36 +01:00
Konstantin Kovshenin
b01b14a467
Renaming inc/tweaks.php to inc/extras.php and including by default in functions.php
2012-09-14 20:43:20 +04:00
Konstantin Kovshenin
22e1613bde
Replace small-menu.js with navigation.js inspired by Twenty Twelve.
...
Doesn't use jQuery, slightly easier to understand, uses a media query for max-width, rather than JS events making it faster to respond.
2012-09-03 21:45:28 +04:00
kobenland
d53dd41f28
s/double/single quotes in register_sidebar args array.
...
This is probably left over from a time when there was a line break
following the HTML tag.
2012-08-27 20:20:02 +02:00
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