Commit Graph

845 Commits

Author SHA1 Message Date
Shea Bunge a4168fdb74 Leave empty tags open in accordance with the HTML5 spec. Resolves #234 2013-06-05 21:08:55 +10:00
obenland 6c83cfb5cc _s: Simplify image.php:
* Extracts logic in a custom template tag.
* Reduces switching in and out of php in `.entry-meta`.
* Minor code styling changes.

Fixes #233.
2013-06-04 13:13:15 -07:00
obenland 0e44f8479b _s: Add .pot file for easier translation. Fixes #230. 2013-05-28 17:13:45 -07:00
obenland 99f6d17f9c _s: Revert reset changes. They were accidentally committed after
resolving merge conflicts.
2013-05-28 09:39:02 -07:00
obenland f0ed253d5b Merge branch 'custom_header_fix' of https://github.com/iamtakashi/_s
into iamtakashi-custom_header_fix

Conflicts:
	inc/custom-header.php
2013-05-28 09:31:59 -07:00
jeremyfelt dbe5359307 Remove executable permissions on content-single.php
By default content-single.php was executable by all users, which doesn't seem intended.
2013-05-25 10:49:47 -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 95c3bd62cf _s: Update comment markup to make it forward compatible with html5
comments in 3.6. As a result the custom callback can be safely removed
in the future. Also closes #220.
2013-05-25 12:33:20 +02:00
Konstantin Obenland 9bc326be66 Merge pull request #224 from JasonHoffmann/master
_s: Align element comment with its corresponding id.
2013-05-25 03:05:55 -07:00
obenland a4ecb648ae Merge branch 'master' of https://github.com/Automattic/_s.git 2013-05-25 12:02:43 +02:00
obenland 49bc3a577a _s: Remove .error404 class, it is used by core in `body_class()`. Props
@mfields. Fixes #195.
2013-05-25 11:59:09 +02:00
Konstantin Obenland 64e712270e Merge pull request #216 from Automattic/ditch-html5shiv
_s: Remove HTML5Shiv.
2013-05-25 02:52:38 -07:00
Jason Hoffmann b790c82151 Comments.php Spelling Issue 2013-05-20 14:12:09 -04:00
obenland 7a570bef38 _s: Load all modules consistently at the bottom of the file. 2013-05-20 16:07:25 +02:00
obenland c7bf07061d _s: Let's not limit the setup function to IS. 2013-05-20 13:02:30 +02:00
obenland c1960ec122 _s: Cache header text color value; 2013-05-20 13:01:22 +02:00
obenland 655ee71d60 _s: Better use of template tags in the image template. 2013-05-20 12:59:09 +02:00
Philip Arthur Moore ce1bb74ddb Merge pull request #221 from kovshenin/patch-14
Pinking shears; remove trailing whitespace.
2013-05-16 22:44:32 -07:00
Konstantin Kovshenin 5014af54a4 Remove trailing whitespace. 2013-05-17 09:34:30 +04:00
Philip Arthur Moore c186c5ee0b Remove HTML5Shiv from _s. See #215. 2013-05-11 10:00:08 +09:00
Takashi Irie f367fefd72 Fix unlinked site title in the Customizer 2013-05-08 12:27:48 +01: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
Takashi Irie 8ceefdcdeb Fixes the broken display header text option in the Customizer. 2013-04-22 16:47:14 +01: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