Commit Graph

349 Commits

Author SHA1 Message Date
Ian Stewart c09c02081a Simplified archive titles
The current archive titles are verbose and fusty. This commit
simplifies them to the bare minimum needed (and wanted by actual users)
for description, orientation, and navigation.
2013-06-27 15:15:58 -05:00
obenland 584ed2a6f2 _s: Remove back compat for custom header/background. Fixes #244. 2013-06-27 07:14:12 -07:00
obenland 514b2aa62d _s: Don't show separator between meta data. Fixes #72. 2013-06-27 07:03:43 -07:00
obenland 39d8f7ad61 _s: Include "entry updated" as part of the hAtom. Props @michiecat. See
#131, fixes #170.
2013-06-27 06:54:02 -07:00
obenland 3a5afef198 _s: Add custom taxonomy support for term descriptions in taxonomy
archives.

We don't even have to check for a context before printing the
description, `term_description()` does all the heavy lifting for us.

Props @jasondpx. Fixes #128.
2013-06-27 06:24:26 -07:00
Konstantin Obenland 55596d6c67 Merge pull request #242 from mfields/navigation-menu
Rework Navigation Menu. Closes #200, #205, #237, #243.
2013-06-26 09:44:59 -07:00
Michael Fields ac3cda4543 Rework Navigation Menu Part 2
* Separate scoping and assignment so that a decision does not need to be made as to whether we should intermix spaces and tabs on the left
 * Restore the previously removed nav-menu class addition to the first unordered list in `#site-navigation`.
 * Restore the `.navigation-main.toggled-on .nav-menu` selector.
 * Remove rules for the `.main-small-navigation ul` selector.
2013-06-25 01:45:52 -07:00
Michael Fields 4c396f6f9b Rework menu navigation: these changes build off pull request #239 for issue #200
* Only set button and menu if container is not null.
 * Break up the "return early" conditional into multiple parts.
 * Shorten the name of the toggled class from `toggled-on` to `toggled`.
 * Restore the "Hide menu toggle button if menu is empty." documentation.
 * Remove the `nav-menu` class. The previous code would replace any custom custom classes applied via `wp_nav_menu()` or template file.
 * Replace the `nav-menu` selector is style.css with selectors that will target both a custom nav menu and a page menu. These changes could use critical feedback. Do you know of an edge case where they might not work as expected?
2013-06-16 20:29:17 -07:00
Konstantin Obenland 75f612d365 Merge pull request #226 from jeremyfelt/master
Remove executable flag from content-single.php
2013-06-14 19:43:11 -07: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