Browse Source

Varia: remove author bio and code tidying.

Allan Cole 5 years ago
parent
commit
66f2a2bea1
1 changed files with 3 additions and 5 deletions
  1. 3 5
      varia/inc/jetpack.php

+ 3 - 5
varia/inc/jetpack.php

@@ -15,10 +15,8 @@ function varia_jetpack_setup() {
 
 
 	add_theme_support( 'jetpack-content-options',
 	add_theme_support( 'jetpack-content-options',
 		array(
 		array(
-				'blog-display'       => 'content', // the default setting of the theme: 'content', 'excerpt' or array( 'content', 'excerpt' ) for themes mixing both display.
-				'author-bio'         => false, // display or not the author bio: true or false.
-				'author-bio-default' => false, // the default setting of the author bio, if it's being displayed or not: true or false (only required if false).
-				'post-details'       => array(
+			'blog-display'        => 'content', // the default setting of the theme: 'content', 'excerpt' or array( 'content', 'excerpt' ) for themes mixing both display.
+			'post-details'        => array(
 				'stylesheet'      => 'varia-style', // name of the theme's stylesheet.
 				'stylesheet'      => 'varia-style', // name of the theme's stylesheet.
 				'date'            => '.posted-on', // a CSS selector matching the elements that display the post date.
 				'date'            => '.posted-on', // a CSS selector matching the elements that display the post date.
 				'categories'      => '.cat-links', // a CSS selector matching the elements that display the post categories.
 				'categories'      => '.cat-links', // a CSS selector matching the elements that display the post categories.
@@ -26,7 +24,7 @@ function varia_jetpack_setup() {
 				'author'          => '.byline', // a CSS selector matching the elements that display the post author.
 				'author'          => '.byline', // a CSS selector matching the elements that display the post author.
 				'comment'         => '.comments-link', // a CSS selector matching the elements that display the comment link.
 				'comment'         => '.comments-link', // a CSS selector matching the elements that display the comment link.
 			),
 			),
-				'featured-images'    => array(
+			'featured-images'     => array(
 				'archive'         => true, // enable or not the featured image check for archive pages: true or false.
 				'archive'         => true, // enable or not the featured image check for archive pages: true or false.
 				'archive-default' => true, // the default setting of the featured image on archive pages, if it's being displayed or not: true or false (only required if false).
 				'archive-default' => true, // the default setting of the featured image on archive pages, if it's being displayed or not: true or false (only required if false).
 				'post'            => true, // enable or not the featured image check for single posts: true or false.
 				'post'            => true, // enable or not the featured image check for single posts: true or false.