Commit Graph

969 Commits

Author SHA1 Message Date
Konstantin Obenland 104b34821a Merge branch 'slobodan-updated-hAtom' 2014-07-30 14:49:19 -05:00
Konstantin Obenland 0d87d0bb70 _s: Continue using a default `time` tag.
We only need to change the default markup if published and updated
timestamps are different.
2014-07-30 14:47:16 -05:00
Konstantin Obenland 048057ad68 Merge branch 'updated-hAtom' of https://github.com/slobodan/_s into slobodan-updated-hAtom 2014-07-30 14:35:44 -05:00
Konstantin Obenland e4ad206745 Merge pull request #549 from WebDevStudios/empty_selectors
_s: Wrap after each selector and comma.
2014-07-30 14:29:35 -05:00
Greg Rickaby 99287281cf return all the things! Also, add display: block; to some empty selectors (to tie in with _sass) 2014-07-29 15:54:08 -05:00
Konstantin Obenland b0e25cfea5 Merge pull request #538 from lchski/lchski-readme-trailing-slash
Add trailing slash to `layouts` in readme.
2014-07-02 12:20:29 -07:00
Lucas Cherkewski 65b9ea8766 Add trailing slash to `layouts` in readme. 2014-06-30 19:42:03 -04:00
Thomas Guillot ba1258f365 _s: Simplify entry meta output
- Fix entry-footer inconsistency between content-*.php files
- Move in a function <code>_s_entry_meta()</code> to avoid duplication

---

At the moment there is an inconsistency between content.php and
content-single.php regarding the .entry-footer output.

In my opinion content.php output is would be better to use because it's
easier to translate and allow more customisation.

Finally by moving it into <code>inc/template-tags.php</code> we are
getting rid of some duplicated code.
2014-06-30 16:43:07 +01:00
Thomas Guillot a78658a393 Revert "_s: Simplify entry meta output"
This reverts commit 9e66401930.
2014-06-30 16:37:12 +01:00
Thomas Guillot 9e66401930 _s: Simplify entry meta output
- Fix entry-footer inconsistency between content-*.php files
- Move in a function <code>_s_entry_meta()</code> to avoid duplication

---

At the moment there is an inconsistency between content.php and
content-single.php regarding the .entry-footer output.

In my opinion content.php output is would be better to use because it's
easier to translate and allow more customisation.

Finally by moving it into <code>inc/template-tags.php</code> we are
getting rid of some duplicated code.
2014-06-30 16:36:36 +01:00
Philip Arthur Moore afd91c3ba8 Merge pull request #527 from kovshenin/master
Add a non-breaking space to _s_post_nav().
2014-06-30 22:33:05 +07:00
Philip Arthur Moore 894190e735 Merge pull request #536 from Automattic/revert-532-Entry-Meta-Consistency
Revert "_s: Simplify entry meta output"
2014-06-30 22:23:21 +07:00
Konstantin Obenland 1596a6a50b Revert "_s: Simplify entry meta output" 2014-06-30 08:17:33 -07:00
Philip Arthur Moore 170dd682cb Merge pull request #533 from lchski/lchski-readme-consistency-fixes
Update README for consistency.
2014-06-30 22:10:59 +07:00
Philip Arthur Moore 2271e29802 Merge pull request #532 from Automattic/Entry-Meta-Consistency
Make entry meta more consistent throughout _s and gut out code duplication.
2014-06-30 22:08:48 +07:00
Lucas Cherkewski 536359f88b Update README to be more consistent
Wrap all file paths in '`', capitalize properly, fix grammar.
2014-06-29 20:44:04 -04:00
Thomas Guillot f2881285b7 _s: Simplify entry meta output
- Add entry-footer consistency between content-*.php files
- Move in a function _s_entry_meta() to avoid duplicate
2014-06-27 12:57:31 +01:00
Konstantin Obenland 5106a9e3e4 _s: Use braces in all conditionals.
Formatting updates for file comment, conditional braces, and indentation.
2014-06-26 13:45:05 -07:00
Konstantin Obenland fc95a34dec Merge pull request #529 from Automattic/Remove-Default-Widgets
Remove default widgets from sidebar.

Closes #528.
2014-06-26 13:42:21 -07:00
sixhours d2beca6092 Remove unnecessary semicolon 2014-06-26 11:06:51 -04:00
sixhours d01a8d319b is_active_sidebar() check
Check to ensure sidebar is active before displaying #secondary
2014-06-26 11:06:33 -04:00
sixhours 409d15d1a2 Remove default widgets from sidebar 2014-06-26 10:55:04 -04:00
Konstantin Kovshenin 5fffb5e911 Add a non-breaking space to _s_post_nav().
Sometimes the title length of a previous or next post would cause
the arrow (larr/rarr) in the link to be wrapped to the next line.
Adding a non-breaking space between the title and the arrow will stick
it to the last word in the title.
2014-06-26 11:50:14 +04:00
Tammie Lister 4dad296c3a Merge pull request #524 from jacklenox/dev
Capitalisation and coding standards corrections - props @jacklenox
2014-06-25 11:47:40 +01:00
Jack Lenox 0b96c02e02 Undid my multiline function corrections 2014-06-25 10:31:51 +01:00
Jack Lenox 776eaf6e94 Correcting some irregular capitalisation and coding standards issues 2014-06-25 00:13:36 +01:00
Jack Lenox b6ad3b341a Changed lone uppercase H to lower 2014-06-25 00:04:59 +01:00
Tammie Lister eb58df8d30 Revert the change to spacing in #517
Adds back in space for now. Props @lancewillett
2014-06-21 00:39:40 +01:00
Tammie Lister 97e4dc5270 Merge pull request #517 from emiluzelac/patch-29
Minor spacing fix for main navigation props @emiluzelac
2014-06-20 12:01:17 +01:00
Emil Uzelac f74b591348 Minor spacing fix for main navigation
Just an itsy-bitsy space removal, no biggie, but needed :)
2014-06-19 23:49:33 -05:00
Konstantin Obenland 1c42386783 _s: Document background color fallback.
A default background color is needed for any time there is no custom background color.
This happens to use the browser's default `#fff`, and is meant more as a reminder for theme authors.

See #515.
2014-06-19 13:20:30 +02:00
Konstantin Obenland 4f9492a7b8 Merge pull request #512 from slobodan/content-search
First pass at creating a search-dedicated post template. Simplifies `content.php` and makes use of the template hierarchy.

Eventually we can think about removing more meta information, as appropriate.
2014-06-16 10:30:18 +02:00
Slobodan Manic 00570514d4 Adds .updated class to .entry-date when needed 2014-06-15 13:20:06 +02:00
Slobodan Manic 6cb3c485ba Creates content-search.php and removes is_search() check from content.php 2014-06-15 13:05:23 +02:00
Konstantin Obenland 31ac4d2b2d Merge pull request #507 from gatespace/update_pot
Update `_s.pot`.
2014-06-15 06:50:59 +02:00
Kazue Igarashi 9089d02304 Update _s.pot
Change "Posted on" string.
And add "by" string.
Related: #453, e24e53e
2014-06-03 23:15:07 +09:00
Konstantin Obenland e24e53e024 Merge pull request #453 from grappler/translation-strings
_s: Avoid html tags in "Posted on" string.
2014-06-02 08:28:46 -07:00
Konstantin Obenland 91d2514a62 _s: List post formats in their own line.
d8a88d2097 brought the HTML5 support declaration close to how Twenty Thirteen and Twenty Fourteen do it, leaving post formats doing their own thing.

Let's make displaying array values consistent with the latest default themes.
2014-05-29 14:14:25 -07:00
Philip Arthur Moore 25a6b98898 Merge pull request #502 from emiluzelac/patch-24
Minor coding standards adjustments for HTML5 markup support declaration. See https://github.com/Automattic/_s/pull/498#issuecomment-44492997.
2014-05-29 16:08:33 +07:00
Emil Uzelac d8a88d2097 Post Formats code re-formatting
See: https://github.com/Automattic/_s/pull/498#issuecomment-44492997
2014-05-29 01:54:04 -05:00
Tammie Lister cbe996bfb9 Merge pull request #501 from emiluzelac/patch-23
Increases text width to 100% which allows for box-sizing. I like this better and if someone wants to add a border or effect they can change the width.
2014-05-28 17:48:20 +01:00
Emil Uzelac 9f295c197d textarea width
We can safely increase the textarea width from 98% to 100%. 

```box-sizing``` handles the layout nicely and it won't allow the overflow. 

If more details is needed, please see: http://davidwalsh.name/textarea-width this is the best example I could find.
2014-05-28 00:05:18 -05:00
Konstantin Obenland 4359baa57f Merge pull request #500 from emiluzelac/patch-22
Simplifies `border-color` attributes.
2014-05-26 17:27:41 -07:00
Emil Uzelac 92128bbc7d Border Color
Minor CSS optimization for border and border color.

For the border itself, we don't need to include the color in ```border: {}```, color is already added in ```border-color: {}```. 

Since the Theme uses shorthands for padding/margins, why not do the same for the border colors as well.
2014-05-26 16:00:23 -05:00
Philip Arthur Moore cf64e34608 Merge pull request #499 from emiluzelac/patch-21
Change `widgettitle` to `widget-title` in 404 template for better consistency throughout all theme files. _s uses `widget-title` as its convention when declaring theme widgets, so we'll go with that.
2014-05-26 15:39:50 +07:00
Philip Arthur Moore 37af1521d8 Merge pull request #493 from davidakennedy/newmenu
Adjust dropdown menu styles so they work with screen readers
2014-05-26 15:29:29 +07:00
Emil Uzelac 6d0886c0d7 widgettitle value
```widgettitle``` doesn't really have any value here or in core. Proposing to change to ```widget-title``` instead and maybe add that into stylesheet too. 

The class is available only in /widgets.php and not present in any of the stylesheet's, at least I could not locate one. As in my previous proposal, this is for the consistency reasons only.
2014-05-24 16:20:23 -05:00
David A. Kennedy f8c52a8114 Change position for left to match WordPress CSS standards. 2014-05-24 13:30:50 -04:00
David A. Kennedy 1365515b74 Merge with upstream/master. 2014-05-20 15:56:31 -04:00
Konstantin Obenland f1dd4b2c2a _s: Revert f955fca630
The leading whitespace is needed to replace this `_s` instance with the theme name.
It's obviously a hack, since it also leaves the theme name with a leading white space, but short of adding a new replace logic for this specific line in `style.css`, it's the easiest way to achieve that.

See #304, where this was brought up before.
2014-05-20 10:53:10 -05:00