Commit Graph

72 Commits

Author SHA1 Message Date
Tammie Lister 6b00d94ea7 Merge pull request #809 from emiluzelac/patch-43
Header link update and capitalization
2015-09-16 20:43:58 +01:00
Dmitry Mayorov 9d6eade725 Added missing period in a load_theme_textdomain() comment. 2015-08-22 10:31:12 +03:00
Emil Uzelac 3bac555d40 Update functions.php 2015-08-21 22:31:14 -05:00
Emil Uzelac 4b519c124b Update functions.php 2015-08-21 22:24:25 -05:00
Emil Uzelac fd58ebd1cb Header link update and capitalization
Itty-bitty update for header comment block and new functions link.
2015-08-21 22:19:26 -05:00
Konstantin Obenland d02cc4fa70 Merge pull request #778 from emiluzelac/patch-41
Link to developer resources for further reading.
2015-08-04 11:19:20 -07:00
Konstantin Obenland 4b36cf3053 Merge pull request #781 from PJ-Finlay/add-documentation-in-comments
Updated file documentation.
2015-08-03 12:13:35 -07:00
PJ de9c9888b7 Updated documentation in comments at the top of files.
I tried to standardize and expand the documentation and links to
codex.wordpress.org in the comments at the top of most files.
2015-07-12 12:38:18 -04:00
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
Morten Rand-Hendriksen dc6d3fa08c New heading structure - redux of #651. Provides proper semantic structure for titles throughout theme:
In header.php: Site title set to H1 on front page, div on other pages
In functions.php: Widget title set to H2 for semantic hierarchy
In content-search.php and content.php: Heading set to H2 as page title is "Search" or "Archive title" etc.
2015-06-28 12:06:02 -07: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