Commit Graph

24 Commits

Author SHA1 Message Date
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
Konstantin Obenland 1596a6a50b Revert "_s: Simplify entry meta output" 2014-06-30 08:17:33 -07: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
Slobodan Manic 6cb3c485ba Creates content-search.php and removes is_search() check from content.php 2014-06-15 13:05:23 +02:00
Sean Davis 8b30ee99f7 escape the permalink 2014-05-02 01:17:02 -05:00
Sean Davis c89d030c6b logical approach to function parameters for markup 2014-05-01 10:30:54 -05:00
Matthew Simo e32f0ded99 Remove the entry-meta class from footer element's in content templates. Keep entry-footer class for this purpose. 2014-03-03 17:38:27 -06:00
Matthew Simo 1a8d576e65 Add entry-footer class to footer elements in an entry. 2014-03-03 17:12:51 -06:00
obenland 514b2aa62d _s: Don't show separator between meta data. Fixes #72. 2013-06-27 07:03:43 -07:00
Konstantin Kovshenin 5014af54a4 Remove trailing whitespace. 2013-05-17 09:34:30 +04:00
Philip Arthur Moore 9a633b9236 Remove title attributes where it duplicates in anchor text. See http://core.trac.wordpress.org/ticket/24203. 2013-04-30 20:21:29 +09:00
Takashi Irie c780bc0559 Add trailing commas to the last elements of arrays 2013-04-20 16:45:36 +01:00
Takashi Irie 7be757759c Minor code style clean-up 2013-04-20 01:26:43 +01: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
sixhours c7f0e441b2 Change .tag-links to .tags-links
Using the class .tag-links may cause a rare formatting bug. To reproduce:

1. Publish a new post and tag it "links"
2. post_class() assigns the class .tag-links to the post
3. Any formatting applied to .tag-links in the theme's stylesheet will also apply to this post -- not good!

Changing the class name to something that won't conflict, like .tags-links, should solve this problem.
2012-10-24 11:06:42 -03:00
Lance Willett 30518b894f Fix typo in closing comment, s/#entry-meta/.entry-meta/
See also http://core.trac.wordpress.org/ticket/21418
2012-07-31 08:21:53 -07:00
Michelle Langston dd8ca3eec6 _s: Adjust escaping for the title attribute.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9865 d957f892-c61d-0410-b221-f235e6eecf30
2012-06-15 00:04:50 +00:00
Ian Stewart a5e58b8ac5 _s: Hiding a comments link while a post is password-protected cleans things up; Props michaelfields; Closes #1215
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9452 d957f892-c61d-0410-b221-f235e6eecf30
2012-04-19 19:26:13 +00:00
Michael Fields 34c55ff465 _s: Move post meta separators inside conditionals ensuring that separators will not be orphaned. Use consistent 'edit link' whitespace in image.php as well.
git-svn-id: https://wpcom-themes.svn.automattic.com/_s/@9087 d957f892-c61d-0410-b221-f235e6eecf30
2012-03-06 14:40:49 +00:00
Ian Stewart a81dc6a810 _s: Adding starter styles along with a few markup changes to accomodate them 2012-01-13 20:10:17 +00:00
Ian Stewart edfeccc255 _s: initial fork of Toolbox 2012-01-07 03:25:13 +00:00