_s: Add basic support for Content Options Post Details (#1131)

* _s: Add basic support for Content Options Post Details

This allows us to always display the category and author since it can
be hidden via Customizer -> Content Options

We don’t need to check for `is_multi_author` or `_s_categorized_blog()`
anymore.
This commit is contained in:
Thomas Guillot 2017-06-23 17:00:39 +01:00 committed by David A. Kennedy
parent 69e08e1e5b
commit d3ab4c0da4
5 changed files with 14 additions and 62 deletions

View file

@ -12,11 +12,6 @@
* @return array
*/
function _s_body_classes( $classes ) {
// Adds a class of group-blog to blogs with more than 1 published author.
if ( is_multi_author() ) {
$classes[] = 'group-blog';
}
// Adds a class of hfeed to non-singular pages.
if ( ! is_singular() ) {
$classes[] = 'hfeed';