Emil Uzelac
b685b89b3f
Inline link update
...
I believe that we can update inline links to https://developer.wordpress.org . Please confirm.
2015-06-29 14:18:47 -05:00
Fränk Klein
175524922c
Fix Codesniffer errors.
2015-05-27 22:19:14 +02:00
Fränk Klein
ce796e39a5
Merge pull request #460 from grappler/content_width
...
Move $content_width within setup function
2015-05-11 10:05:26 +02:00
Fränk Klein
2d86340f43
Escape translations in functions.php
...
See #737 .
2015-05-05 12:38:55 +02:00
Ulrich Pogson
8e1ec40b79
Move $content_width within a function
2015-04-25 08:47:20 +02:00
Philip Arthur Moore
108799d104
Revert #638 for a bit.
2014-12-03 18:46:33 +07:00
Philip Arthur Moore
c000d6489a
Merge branch 'child-theme-support' of github.com:grappler/_s into grappler-child-theme-support
2014-12-03 17:00:09 +07:00
Philip Arthur Moore
83792b8566
First pass at better title handling for WordPress 4.1+ with proper back compatibility baked in.
2014-11-11 21:41:10 +07:00
Ulrich Pogson
58111f9cde
Load parent styles when child theme is activated
2014-11-02 22:14:05 +01:00
Kirk Wight
348886e168
Comment correction: "setup" is a noun, "set up" is the action.
2014-10-07 18:58:25 -07:00
Philip Arthur Moore
895b7a93ab
Prepare Underscores for Coding Standards. See https://github.com/Automattic/_s/issues/553 .
2014-08-17 23:40:13 +07:00
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