_s: Provide a context for the comments title strings.
There are languages that have more than one plural form. Sometimes these
languages need to add the %1$s placeholder in the original singular
version to help differentiate between these plural forms.
In case the original singular version ('One thought on
“%2$s”' in this case) is used elsewhere, the translation
with the faulty %1$s will be used, possibly ending up with the
placeholder not being replaced.
The context will prevent that from happening by seperating the strings.
There are languages that have more than one plural form. Sometimes these
languages need to add the %1$s placeholder in the original singular
version to help differentiate between these plural forms.
In case the original singular version ('One thought on
“%2$s”' in this case) is used elsewhere, the translation
with the faulty %1$s will be used, possibly ending up with the
placeholder not being replaced.
The context will prevent that from happening by seperating the strings.
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.
Remove generic Theme Options page in favor of the Customizer.
Having a set of sample options encourages their use — we shouldn’t do this, it’s simple enough to code options up whenever we need them.
Customizer support is activated by default and comes with a working sample implementation. For more information about the Customizer and how to leverage it's API please see http://ottopress.com/tag/customizer/
* Removes sample theme options
* Adds Theme Customizer enhancement (actually working!)
Goal: Emphasize the use of the Customizer versus out of style Theme
Options.
* Introduces a filter for wp_title instead of hard-coding things in header.php
* Renames inc/tweaks.php to inc/extras.php
* Includes inc/extras.php by default in functions.php
See #12, #13, #33
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.