_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:
parent
69e08e1e5b
commit
d3ab4c0da4
5 changed files with 14 additions and 62 deletions
|
@ -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';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue