Commit Graph

16 Commits

Author SHA1 Message Date
jrfnl 8470f55f92 Avoid going in and out of PHP unnecessarily.
Closes #854

Includes minor alignment changes for easier readability/detection of start/end of conditions.
2015-11-11 22:59:40 +01: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
Fränk Klein 175524922c Fix Codesniffer errors. 2015-05-27 22:19:14 +02:00
Philip Arthur Moore 71d4231cbe Move template parts into their own dedicated folder and update Infinite Scroll to reflect this change. See #642. Props @leopuleo. 2015-04-29 08:42:12 +07:00
Sean Davis b9ebebb28b remove unnecessary comparison 2014-10-14 19:57:29 -05:00
obenland d9ece3b804 _s: Use verbose syntax for conditionals in templates. 2013-11-24 16:21:43 +00:00
Philip Arthur Moore 6264437ff9 Add braces around single-line conditionals. See http://make.wordpress.org/core/2013/11/13/proposed-coding-standards-change-always-require-braces/. 2013-11-14 19:49:50 +07:00
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
Philip Arthur Moore fe19f5433b Ditch all @since DocBlocks from theme. 2013-03-18 14:53:23 -05: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
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
David Ensinger cfb7f7fcdf Load comments template only when comments are open or there's at least one comment
To be consistent with single.php and to ensure that an empty div (<div
id="comments" class="comments-area">) isn't outputted when both
comments are closed and there aren't any comments.
2013-01-04 16:09:37 -05:00
Matias 752d08afd7 Update the HTML "class" system
Improving on the naming convention of our classes with consistency
adjustments. Also creates a better hierarchy (matched pairs) for them.
2012-08-25 14:06:33 -03:00
Ian Stewart afe244fe68 _s: More consistency with class names in the structural markup 2012-02-01 16:55:36 +00:00
Ian Stewart edfeccc255 _s: initial fork of Toolbox 2012-01-07 03:25:13 +00:00