Commit graph

339 commits

Author SHA1 Message Date
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
obenland
c7f2b7a1ee _s: Enable live preview for Header Text Color in Customizer. Change also
removes an !important declaration in Custom Header CSS rules.
2013-03-04 16:13:56 -08:00
obenland
9fe1b0d8a8 _s: Aggregate translation strings and make comment edit links easier to
style.
2013-03-04 15:18:11 -08:00
obenland
914c6c21de _s: Simpler selector for lists within lists. 2013-03-04 15:14:51 -08:00
Philip Arthur Moore
3f85aae174 Fix spacing and tabbing problems in page.php introduced in 4134038278 and 054aa194a7 2013-02-28 11:33:36 -06:00
sixhours
054aa194a7 Fix indentation on comments block 2013-02-28 11:47:17 -05:00
sixhours
4134038278 Merge pull request #132 from davidensinger/master
Load comments template only when comments are open or there's at least one comment in image.php and page.php
2013-02-28 08:45:06 -08:00
michiecat
afd1db501e Update style.css 2013-02-27 23:34:26 -08:00
michiecat
35c3162e4f Update style.css 2013-02-27 23:33:51 -08:00
Philip Arthur Moore
dcd62e323c Manually revert all changes made after debefa8b98 so that the code proposed in #131 gets a proper review. 2013-02-28 01:12:59 -06:00
Philip Arthur Moore
c8c60b3904 Let us try this one more time. Revert all changes made to _s up until commit debefa merge until #131 has had a proper code review. 2013-02-28 01:04:34 -06: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
Michael Fields
e04732c5a3 Remove _s_content_nav( 'nav-above' ); from the top of all templates. Fixes #148 2013-02-27 15:08:26 -08:00
obenland
ad57a4af29 _s: Move role declaration to the end of the element for consistency. 2013-02-27 14:51:13 -08:00
obenland
fa3d86936a _s: Simplify and unify navigation classes throughout Underscores.
For more information about the philosophy behind the new approach,
see http://24ways.org/2012/a-harder-working-class/
2013-02-27 14:47:03 -08:00
obenland
469e1f97c4 Merge branch 'master' of https://github.com/Automattic/_s.git 2013-02-27 14:05:14 -08:00
obenland
d99f4c8115 _s: Adhere to WordPress CSS class naming conventions. See
http://make.wordpress.org/core/handbook/coding-standards/css/#selectors
for details.
2013-02-27 14:03:03 -08:00
Lance Willett
7ed3c58e23 Search form improvements:
- Add "searchform" class to form element, easier styling
- Better gettext for label, placeholder, and submit text, easier for translators
- Remove "name" attribute from submit button, not needed and it adds cruft to URL

See also http://core.trac.wordpress.org/ticket/15081
2013-02-27 14:49:26 -07:00
obenland
a1b163e8ea Merge branch 'master' of https://github.com/Automattic/_s.git 2013-02-27 13:36:08 -08:00
obenland
ebe5c56c42 _s: Update layouts to use classes when appropriate. Fixes #55. 2013-02-27 13:35:28 -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
6917268595 Merge pull request #166 from iamtakashi/input-type-search
Change the search form text input to search type along with basic styling for search type inputs.
2013-02-27 12:51:51 -08:00
Takashi Irie
ed6a89fa20 Change the search form text input to search type and add the basic style for it 2013-02-27 20:26:16 +00:00
Philip Arthur Moore
dc730a3bc5 Reduce default padding on buttons and reset/submit inputs. Fixes #161. 2013-02-27 11:32:42 -06:00
Philip Arthur Moore
50cee30497 Remove colon from @package DocBlock 2013-02-25 01:15:14 -06:00
Philip Arthur Moore
fbb50c4e90 Fix incorrect rem value. See #160. Props @dollseb. 2013-02-22 18:04:12 -06:00
Konstantin Obenland
d7fd5eac21 Merge pull request #145 from sriniguna/patch-1
Move 'Edit' link in entry footer to be consistent with content.php and content-single.php
2013-02-20 12:03:49 -08:00
Philip Arthur Moore
e652d9f130 Change apos back to the correct rsquo. See #84. 2013-02-12 16:48:51 -06:00
Konstantin Obenland
3236571996 Merge pull request #156 from inspectorfegter/patch-1
Updated 'comments callback' location comment
2013-02-12 08:44:00 -08:00
Brian Fegter
ec4c855158 Updated 'comments callback' location comment
The function has been moved outside of 'functions.php' and into 'inc/template-tags.php'. This directs developers to the proper location for the callback.
2013-02-12 10:40:31 -06:00
Michael Fields
79a6a23da2 Use .text() instead of .html() for site title and tagline when modified via the customizer. Neither setting supports html. 2013-02-07 10:50:34 -08:00
Michael Fields
9f58e3f6e2 Escape the return value of get_author_posts_url() with esc_url(). 2013-02-06 20:48:04 -08:00