Commit Graph

22 Commits

Author SHA1 Message Date
Ismail El Korchi 2d74ebd7c9 Split _s_posted_on into two functions 2017-10-29 15:31:22 +00:00
Naoko Takano (McCracken) ef2a0e7c00 Improve "Continue reading" word order for i18n
Resolves translation word order issue for some locales when the screen reader only text is invisible.
Fixes #1088
2017-06-12 16:08:10 +09:00
David A. Kennedy ef5351227e Merge pull request #1001 from Clorith/master
Make the `content.php` more flexible with post types by using `is_singular()`
2017-06-10 01:26:55 -04:00
David A. Kennedy 7320fe67a3 Merge pull request #1106 from vinoddalvi/master
Adding ID to comment labels for post articles
2017-06-10 00:29:24 -04:00
Vinod Dalvi d61599b1ef Adding ID to comment labels for post 2017-05-10 14:11:46 +05:30
jrfnl a65be48368 CS: Fix code layout of nested function calls with associative arrays. 2017-04-03 00:46:36 +02:00
Bappi a37026d696 Remove period from file header 2016-09-27 12:15:42 +06:00
Marius 46528fa9b2 Make the `content.php` more flexible
replace `is_single()` with `is_singular()` to make sure custom post types are accounted for by default
2016-08-07 21:22:32 +02:00
byjml 944803c5d4 Use consistent syntax for control structures
Changed the opening brace to ':' (or colon) and the closing brace to `endif;`
2015-12-06 15:24:01 +03:00
Ulrich Pogson 60f7311f19 Add support for post formats in single post 2015-12-04 15:51:58 +01:00
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
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
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 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 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
Fränk Klein 175524922c Fix Codesniffer errors. 2015-05-27 22:19:14 +02:00
Andrew Saint 6094916a24 Allow the class attribute to pass through kses 2015-05-08 10:46:27 +01:00
Fränk Klein 4be6dbec04 Secure translations in content.php.
See #737.
2015-05-05 12:26:56 +02:00
Fränk Klein d5db6f11b5 Secure translations in content.php.
See #737.
2015-05-05 12:26: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
Renamed from content.php (Browse further)