Commit Graph

974 Commits

Author SHA1 Message Date
Dmitry Mayorov 72a9a3b7e6 Removing the_posts_navigation(), the_post_navigation(), the_archive_title(), the_archive_description() since 4.3 is out. 2015-08-19 17:40:51 +03:00
Emil Uzelac 6f621af060 Remove _s_render_title()
Removing `_s_render_title()`, no longer needed as of 4.3.
2015-08-18 21:55:47 -05:00
Grant Palin af0a4749be Update comparisons to resolve the strict comparison warnings. See https://github.com/Automattic/_s/issues/784 2015-08-07 09:59:26 -07:00
Cor van Noorloos 32879cb13b Remove sass :hover and :active states on screen-reader-text
see 67b2428bbe
2015-08-05 21:31:58 +02:00
Cor van Noorloos af2d101164 Remove remaining caption margin-top and margin-bottom
see 3d6bd4df39
2015-08-05 21:30:03 +02:00
Cor van Noorloos 4d58874616 Add sass missing center alignment clearing 2015-08-05 21:02:59 +02:00
Cor van Noorloos 2b648088f4 Add style.css missing main font family 2015-08-05 20:23:28 +02:00
Konstantin Obenland d02cc4fa70 Merge pull request #778 from emiluzelac/patch-41
Link to developer resources for further reading.
2015-08-04 11:19:20 -07:00
Konstantin Obenland e3516b0ad3 Fix typo. 2015-08-03 12:14:14 -07:00
Konstantin Obenland 4b36cf3053 Merge pull request #781 from PJ-Finlay/add-documentation-in-comments
Updated file documentation.
2015-08-03 12:13:35 -07:00
David A. Kennedy 45f1ea884c Merge pull request #776 from mor10/new_heading_structure_redux
Change headings structure for better accessibility for assistive technology users.
2015-07-24 12:58:46 -04:00
PJ de9c9888b7 Updated documentation in comments at the top of files.
I tried to standardize and expand the documentation and links to
codex.wordpress.org in the comments at the top of most files.
2015-07-12 12:38:18 -04:00
Konstantin Obenland 294f5689ce Merge pull request #783 from pixolin/patch-5
Change Credit Link to https://
2015-07-10 08:43:06 -07:00
Bego Mario Garde c3f4f3945c Change Credit Link to https://
As WordPress encourages to call their webpages with https-protocol, the credits link in the theme footer should use https, too.
2015-07-10 16:43:17 +02:00
Morten Rand-Hendriksen 069d708834 Amended patch to display site-title as paragraph on single posts and pages as per discussion in PR. 2015-07-03 14:04:38 -07:00
David A. Kennedy 78147d4055 Merge branch 'master' of https://github.com/Automattic/_s into editlinkposttitle 2015-07-02 17:44:10 -04:00
David A. Kennedy 0a0e5c631f Add post title to `edit_post_link`
* Use `__()` instead of `_x()`
* Add translator comment, remove context modifier.
* Remove escaping on `the_title()`; it's trusted data.

Resolves: #774
2015-07-02 17:37:30 -04:00
Konstantin Obenland b5777c0d7e Move translator comment closer to string.
Translator comments should be placed directly in the line above the string to be translated, in order for parser to pick it up.
2015-07-02 14:21:17 -07:00
Morten Rand-Hendriksen 955cd140f8 Added condition to include a hidden H1 on index when a page is set to front and the posts page is also set to a page as per suggestion by @davidakennedy 2015-07-02 13:51:04 -07:00
Emil Uzelac b685b89b3f Inline link update
I believe that we can update inline links to https://developer.wordpress.org. Please confirm.
2015-06-29 14:18:47 -05:00
Morten Rand-Hendriksen dc6d3fa08c New heading structure - redux of #651. Provides proper semantic structure for titles throughout theme:
In header.php: Site title set to H1 on front page, div on other pages
In functions.php: Widget title set to H2 for semantic hierarchy
In content-search.php and content.php: Heading set to H2 as page title is "Search" or "Archive title" etc.
2015-06-28 12:06:02 -07:00
David A. Kennedy c60811bf94 Add post title to `edit_post_link`
This improves the accessibility of these links, and gives more context for screen reader users. Now, they know exactly where the link goes.

Escaped output with `esc_html_x` and `wp_kses`.

Resolves: #774
2015-06-26 14:22:38 -04:00
Konstantin Obenland 5bb0534358 Merge pull request #770 from circlecube/patch-1
Update theme comment section so it will remain when compiled & compressed.
2015-06-19 10:28:34 +02:00
Evan Mullins e9c7d73be8 update theme comment section so it will remain when compiled & compressed 2015-06-18 15:26:01 -04:00
Fränk Klein 4e84c580a0 Merge pull request #763 from sagarjadhav/master
Updated Tagline markup as per W3C guidelines.
2015-06-18 12:53:55 +02:00
Fränk Klein 1001364d64 Merge pull request #767 from emiluzelac/patch-40
_s.pot update
2015-06-17 19:38:50 +02:00
Emil Uzelac 872952a8f6 _s.pot update
To reflect most recent changes such as `template-parts`.
2015-06-12 17:00:10 -05:00
Konstantin Obenland de11167fce Merge pull request #765 from emiluzelac/patch-39
Minor link update for languages.
2015-06-08 10:56:40 +02:00
Emil Uzelac ecdd9d0d45 Minor link update for languages
- http://codex.wordpress.org/WordPress_in_Your_Language now redirects to https://make.wordpress.org/polyglots/teams/
- http://codex.wordpress.org/Function_Reference/load_theme_textdomain has new (nicer) home https://developer.wordpress.org/reference/functions/load_theme_textdomain/
2015-06-07 17:46:19 -05:00
Sagar Jadhav 8d7f3b9c11 Updated Tagline markup as per WC3 guidelines. 2015-05-29 19:55:58 +05:30
Philip Arthur Moore 00e6610198 Merge pull request #762 from fklein-lu/fix/coding-standards-issues
Update theme against WordPress Coding Standards.
2015-05-28 20:28:19 +07:00
Fränk Klein 175524922c Fix Codesniffer errors. 2015-05-27 22:19:14 +02:00
Philip Arthur Moore b215eebe1e Merge pull request #750 from emiluzelac/patch-37
Update README.
2015-05-17 07:26:49 +07:00
Emil Uzelac 813f59c1b9 Minor GPL wording update
Minor GPL wording update to reflect `GPLv2 or later` what readme already does at the beginning :)
2015-05-16 19:24:32 -05:00
Tammie Lister 70bec13164 Merge pull request #744 from jamigibbs/master
Add a readme.txt file props @jamigibbs - thanks for your work on this.
2015-05-13 21:58:20 +01:00
Caroline Moore a8df8def5c Merge pull request #747 from Automattic/screen-reader-text-hover/active
Remove :hover and :active states on .screen-reader-text. Props @lancewillett
2015-05-13 16:35:40 -04:00
Caroline Moore 67b2428bbe Remove :hover and :active states on screen-reader-text
We should consider removing all CSS rules that provide `:hover` and `:active` pseudo element behavior for `screen-reader-text` elements.

In IE 10/11, the `screen-reader-text` element, normally hidden, pops up when you hover your mouse over it, obscuring content — the Archives Widget drop-down menu is a good example.

According to the latest from the core a11y team: ​https://make.wordpress.org/accessibility/2015/02/09/hiding-text-for-screen-readers-with-wordpress-core/ -- we only need the `:focus` pseudo element class.

Props to @lancewillett for figuring this out.
2015-05-13 15:30:37 -04:00
Jami Gibbs 4c4ff614e7 Adding Installation and refining sections
Updates based on the example by the “resonar” theme.
2015-05-12 19:57:18 -05:00
Fränk Klein ce796e39a5 Merge pull request #460 from grappler/content_width
Move $content_width within setup function
2015-05-11 10:05:26 +02:00
Philip Arthur Moore e771182347 Merge pull request #745 from fklein-lu/fix/travis-build-fails
Fix remaining coding standards errors.
2015-05-11 14:58:12 +07:00
Fränk Klein 2aef92e5a3 Fix remaining PHPCS errors:
* Add ignoring in template-tags.php and comments.php.
* Escape header text color in custom-header.php.
2015-05-11 09:18:36 +02:00
Jami Gibbs 0429313b64 Adding a readme.txt file 2015-05-10 15:19:16 -05:00
Jami Gibbs efcac9bbb7 Add a readme.txt file
This is based on the recommendation of the theme review team.

https://make.wordpress.org/themes/2015/04/29/a-revised-readme/

The goal is for a uniformly structured read file adopted by all theme
authors. Having the template ready in _s would speed up the adoption.
2015-05-10 14:14:33 -05:00
Konstantin Obenland 89602b2c3a Merge pull request #729 from grappler/license
Declare Underscores license.
2015-05-09 10:08:22 -07:00
Fränk Klein 347692110c Merge pull request #742 from andyjsaint/wp_kses
In the arguments passed to `the_content()`, whitelist the class attribute of the Read More link so that it passes through `wp_kses()`.
2015-05-08 11:56:21 +02:00
Andrew Saint 6094916a24 Allow the class attribute to pass through kses 2015-05-08 10:46:27 +01:00
Fränk Klein 86b81fe391 Escape translations in search.php
See #737.
2015-05-05 12:39:26 +02:00
Fränk Klein 2d86340f43 Escape translations in functions.php
See #737.
2015-05-05 12:38:55 +02:00
Fränk Klein 229d5e93da Escape translations in footer.php
See #737.
2015-05-05 12:38:12 +02:00
Fränk Klein 062105ac9d Escape translations on comments.php.
See #737.
2015-05-05 12:37:07 +02:00