Commit Graph

385 Commits

Author SHA1 Message Date
obenland 810e499b93 _s: Use `<main>` element for main content.
See: http://www.w3.org/TR/html51/grouping-content.html#the-main-element

Props @BFTrick for initial patch.
Fixes #222.
2013-07-30 12:12:45 -07:00
obenland 1f15c20995 _s: Make theme headers translatable. Props @grappler. Fixes #203. 2013-07-30 11:58:13 -07:00
obenland 4227e37e47 _s: Remove three column layouts.
We don't register a second sidebar and styles seem to be incomplete.
Let's revisit this once we have a more modular way of putting `_s`
together.

Closes #199.
2013-07-30 11:19:38 -07:00
obenland 1a12794a21 _s: Make file paths more consistent in readme file. Props @asdfgh746.
Fixes #269.
2013-07-30 11:07:13 -07:00
Konstantin Obenland 9fc508f362 Merge pull request #265 from sixhours/Author-Link
Remove author link from archive.php. Fixes #264.
2013-07-29 09:56:19 -07:00
sixhours 9f866cde82 Remove author link from archive.php 2013-07-26 11:59:25 -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
Konstantin Obenland fa2f9e3434 Merge pull request #262 from calvinwinter/master
_s: Update `.toggled` class to reflect revised `navigation.js` syntax. Fixes #261.
2013-07-18 08:38:46 -07:00
Calvin Winter 7276a13a4b Fixed bug where menu does not toggle on click
fixes the error described here: https://github.com/Automattic/_s/issues/261
2013-07-17 23:28:49 -04:00
Konstantin Obenland 2c23f460ab Merge pull request #260 from bungeshea/fix-js-errors
_s: Fix JSHint errors.
2013-07-15 18:09:12 -07:00
Shea Bunge e5a8931afc Add missing semicolon 2013-07-14 16:39:03 +10:00
Shea Bunge 4c99b2aba8 Use === and !== instead of == and != 2013-07-14 16:38:08 +10:00
Konstantin Obenland 79d69e7593 Merge pull request #256 from michaeldcain/master
_s: Switch "navigation-" classes back to "-navigation".
2013-07-11 14:22:20 -07:00
michaeldcain 31331b4b64 Switch "navigation-" back to "-navigation"
Original edit not needed for `[class*="navigation"]` selector. Matches
other class/id navigation naming conventions.
2013-07-11 16:42:45 -04:00
michaeldcain d480e820c3 Switch ".navigation-main" back to ".main-navigation"
Original edit not needed for `[class*="navigation"]` selector. Matches
other class/id navigation naming conventions.
2013-07-11 16:17:12 -04:00
obenland d406dc8f8c _s: Add `.page-content` class to `style.css` to encourage styling. Also
removes some redundant comments.
2013-07-11 12:18:47 -07:00
obenland cb2d9d1e9e Merge branch 'obenland-page' 2013-07-11 12:13:47 -07:00
obenland 98c1c82c62 _s: Move away from using `<article>` for content that is not a post,
page, or attachment.
2013-07-11 12:12:59 -07:00
Konstantin Obenland 418d31dea4 Merge pull request #255 from kwighta8c/escaping
_s: Escape URLs in image.php.
2013-07-11 11:53:28 -07:00
obenland 261acc6099 Merge branch 'open-empty-tags' of https://github.com/bungeshea/_s into
bungeshea-open-empty-tags

Conflicts:
	searchform.php
2013-07-11 11:45:38 -07:00
obenland 43b77adcab _s: Update screenshot to a retina size of 600x450px. Fixes #249. 2013-07-11 11:37:47 -07:00
Kirk Wight 2930ba91be _s: Escape URLs in image.php 2013-07-11 12:04:40 -04:00
obenland d279972455 _s: Simplify 'Posted on' string for easier translation and add a HTML
wrapper for easier CSS manipulation. Props @grappler. Fixes #253.
2013-07-11 08:42:01 -07:00
Ulrich Pogson 36ad7cb751 Improve "Posted on" translation string 2013-07-10 22:23:46 +02:00
obenland 77b0fa51ae _s: Simplifies the attached image template tag by only querying for ids. 2013-07-02 17:41:51 -04:00
Konstantin Obenland d722bf10ef Merge pull request #248 from soulseekah/master
_s: Remove trailing single-quote in search button.
2013-07-01 06:57:40 -07:00
Gennady Kovshenin ddebe0f15f Extra single-quote in "Search"
A trailing singe-quote has found its way into the search button value,
resulting in the button displaying "Search'" instead of "Search".
2013-07-01 17:38:44 +06:00
Konstantin Obenland e620d8dd09 Merge pull request #245 from asdfgh746/patch-1
Update README.md to make it look like the concrete example.
2013-06-30 07:17:42 -07:00
obenland 6e22132768 _s: Update search form markup to make it forward compatible with HTML5
search form in 3.6. As a result, `searchfornm.php` can be safely
removed in the future. Also fixes #240.
2013-06-29 16:19:10 -04:00
Ian Stewart a514017986 Merge pull request #246 from ianstewart/cleaner-archives
Simplified archive titles: The current archive titles are verbose and fusty. This commit simplifies them to the bare minimum needed (and wanted by users) for description, orientation, and navigation.
2013-06-28 07:13:45 -07:00
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
Lucas Cherkewski e9880dbd44 Update README.md
Change the reference to DocBlock search to actually display a space (to make it more consistent with the second appearance, after the OR).
2013-06-26 19:44:45 -04: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
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