Commit Graph

320 Commits

Author SHA1 Message Date
Konstantin Kovshenin 5014af54a4 Remove trailing whitespace. 2013-05-17 09:34:30 +04:00
Philip Arthur Moore dbddb18ccf Merge pull request #207 from Automattic/post-thumbnails-off-by-default
Turn featured thumbnail support off by default.
2013-05-01 19:04:44 -07:00
Philip Arthur Moore 64f78bca0d DocBlock adjustments to post thumbnail support. See #207. 2013-05-02 11:02:38 +09:00
Philip Arthur Moore f9a3c2dc1d Merge pull request #209 from Automattic/remove-redundant-title-attributes
Remove `the_title_attribute` title attributes where it duplicates `the_title` in anchor text. See http://core.trac.wordpress.org/ticket/24203.
2013-05-01 18:56:03 -07:00
Philip Arthur Moore 9a633b9236 Remove title attributes where it duplicates in anchor text. See http://core.trac.wordpress.org/ticket/24203. 2013-04-30 20:21:29 +09:00
obenland 7ac501c70a Merge branch 'master' of https://github.com/Automattic/_s.git 2013-04-28 04:14:57 -07:00
obenland 456cd3dd01 _s: Removes unnecessary switch in and out of PHP. 2013-04-28 04:13:55 -07:00
Philip Arthur Moore c81a044a99 Merge pull request #206 from Automattic/rip-hgroup
Remove hgroup from theme. It's dead now.
2013-04-24 14:41:18 -07: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 07c44bbeef Restore site-header class to header element and give site-branding class to title and description wrapper div. See #206. 2013-04-24 15:08:06 +09:00
Konstantin Obenland bcff5534a5 Merge pull request #201 from iamtakashi/minor-clean-up
Minor code style clean-up.
2013-04-23 12:53:47 -07:00
Philip Arthur Moore 1ea2ccd909 Remove hgroup from theme. It's dead now: http://www.sitepoint.com/html5-hgroup-element-dropped/. In its place a div will be use that inherits the old class that was being applied to header. 2013-04-23 15:45:23 +09:00
Konstantin Obenland 1520999e66 Merge pull request #202 from gatespace/works
Add missing `nav-` prefix for 'previous/next' links in CSS.
2013-04-22 09:40:33 -07:00
gatespace 48702363eb `nav-` prefix for css class 'previous/next'.
Re-introduce nav- prefix for previous/next links (see 6056c1e).
nav- prefix for css class 'previous/next'.
2013-04-22 20:08:49 +09:00
Philip Arthur Moore 790b765ac2 Ditch license.txt from theme and change License URI to canonical source of information on version 2 of the GNU General Public License. Also adjust theme license DocBlock to explicitly state that _s is GPL v2 or later. 2013-04-22 08:58:10 +09:00
Takashi Irie c780bc0559 Add trailing commas to the last elements of arrays 2013-04-20 16:45:36 +01:00
Takashi Irie 7be757759c Minor code style clean-up 2013-04-20 01:26:43 +01:00
michiecat a47b1523dd Updates to the _s_admin_header_image() callback
Adding a ".displaying-header-text" class to the header h1 and to the site description div inside _s_admin_header_image(). This allows the "display text with your image" toggle button to work in the admin preview under Appearance > Header.
2013-04-17 16:46:57 -07:00
obenland 6056c1ed66 _s: Re-introduce `nav-` prefix for previous/next links.
This way we can select both links with `[class*="nav-"]`.
2013-04-05 09:34:08 -07:00
Philip Arthur Moore ee7323950a Update copyright/license notice. The capital S in _S felt really weird. Also, shorten copyright text and re-arrange link to Underscores.me. 2013-04-04 11:45:57 -07:00
Philip Arthur Moore 5c3689cd67 Update stylesheet to include proper copyright and license attribution in style.css. Fixes #10 and also reverts the changes that were made in 06463db11d, since we can now use this copyright notice to find out which themes are based on Underscores. 2013-04-04 11:01:38 -07:00
obenland f424711c65 _s: Simplify the way we do responsive images. Props @philiparthurmoore.
Fixes #120.
2013-03-27 11:37:20 -07:00
obenland a298e8c2bd _s: Revert partial heading change. 2013-03-26 15:56:47 -07:00
obenland 32d2432487 _s: Minor updates to categories widget. Closes #183. 2013-03-26 15:55:49 -07:00
Konstantin Obenland 603b57727f Merge pull request #189 from slobodan/issue-183
Skip printing categories widget in 404 template if there's only one category.
2013-03-26 15:44:21 -07:00
obenland 4c120839ec _s: Remove vendor prefixes on box-shadow and some legacy IE6/7
adjustments. Props @SeamlessThemes. Fixes #176.
2013-03-26 15:39:48 -07:00
Slobodan Manic dfbf5f5d2e Corrected if statement formatting 2013-03-26 21:03:29 +01:00
obenland bd20a6214a _s: /inc/etras.php is active by default. 2013-03-26 12:02:55 -07:00
Konstantin Obenland 3edc2ee616 Merge pull request #180 from pierrepavlov/patch-1
Update mention of tweaks.php in README.md
2013-03-26 12:01:24 -07:00
obenland 9af47bab03 _s: Use the_title_attrinute() when we don't need to specify a post.
See #188, closes #184.
2013-03-26 12:00:34 -07:00
Konstantin Obenland 6752ef06a5 Merge pull request #188 from slobodan/issue-184
Added strip_tags when get_the_title is used in title attribute in image.php. Fixes #188.
2013-03-26 11:58:35 -07:00
obenland e3b4907946 _s: Add a Post Format Archives heading to archive.php. Props @sixhours,
@philiparthurmoore. Fixes #95.
2013-03-26 11:41:51 -07:00
Philip Arthur Moore eb683c73a3 Revert part of previous commit so that search and replace step 3 is parsed properly. 2013-03-23 20:02:11 -05:00
Philip Arthur Moore ddec2916eb Update README.md with search and replace steps for handles. 2013-03-23 19:57:13 -05: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
Slobodan Manic 153c76c92b Skip printing categories widget in 404 template if there's only one category
Addresses issue 183 - https://github.com/Automattic/_s/issues/183
2013-03-21 06:42:55 +01:00
Slobodan Manic 410ca3b1df Added strip_tags when get_the_title is used for title attribute in image.php
Aaddresses _s issue 184 - https://github.com/Automattic/_s/issues/184
2013-03-21 06:35:08 +01:00
Philip Arthur Moore 84ed9c519d Merge pull request #182 from philiparthurmoore/ditch-since-docblocks
Ditch all @since DocBlocks from theme.
2013-03-18 13:04:59 -07:00
Philip Arthur Moore fe19f5433b Ditch all @since DocBlocks from theme. 2013-03-18 14:53:23 -05:00
Pierre Pavlov 273c97abd9 Updated with mention of extras.php instead 2013-03-18 17:38:43 +01:00
Pierre Pavlov 789f59cf51 Update mention of tweaks.php in README.md
I first thought my download was broken, but I believe this file is no longer in use.
2013-03-18 17:30:29 +01:00
Konstantin Obenland 182298629a Merge pull request #179 from eduardozulian/patch/image-navigation
Image navigation improvements
2013-03-16 16:28:53 -07:00
Eduardo Zulian 37253e11f4 Image navigation improvements
Add a navigation role, replace spans with divs and also add a
'.meta-nav' for both previous and next image links.
2013-03-16 14:50:02 -03:00
obenland 1ba2f62752 _s: Use .screen-reader-text rather than .assistive-text.
With 3.6 introducing many HTML5 improvements the need for custom
searchform and comment templates will vanish. To cope with core's
.screen-reader-text class, let's make the switch early.

Commit also adds core's focus styles for screen reader texts, so they
can actually be used.
2013-03-13 15:39:05 -07:00
Konstantin Obenland bdecbd3734 Merge pull request #175 from braden337/master
_s: site-navigation is an id not a class, silly!
2013-03-07 22:10:34 -08:00
Braden Jonsson e6f6225214 Changed nav closing tag comment to indicate CSS id 2013-03-07 23:57:36 -06:00
Philip Arthur Moore 06463db11d Add an identifier into style.css that will allow us — the WordPress.com Theme Team — to easily search for themes that have been built with _s. Now there will be no more scratching our heads whenever someone asks, "What have you built with _s?" :) 2013-03-07 18:30:21 -06:00
sixhours 9f3e2cdd80 Remove blank tabs/trailing whitespace 2013-03-07 09:10:13 -05:00
obenland b1d3b5369c _s: Introduce a default for clearing floats.
Selectors provide clearing out of the box for the site container,
header, footer, main container, content container, entry content, and
comment content.

Also, theme developers can optionally use .clear as a utility class. Or
delete it.

For more information about the philosophy behind the approach of
selecting class elements, see
http://24ways.org/2012/a-harder-working-class/

Fixes #88.
2013-03-04 17:16:44 -08: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