_s: Add featured images to Post and Pages with the ability to hide them via Content Options.
_s: Fix Travis CI error _s: Add missing coma in array
This commit is contained in:
parent
f9d4a471e5
commit
387df73308
5 changed files with 45 additions and 1 deletions
|
@ -27,7 +27,7 @@ function _s_jetpack_setup() {
|
|||
|
||||
// Add theme support for Content Options.
|
||||
add_theme_support( 'jetpack-content-options', array(
|
||||
'post-details' => array(
|
||||
'post-details' => array(
|
||||
'stylesheet' => '_s-style',
|
||||
'date' => '.posted-on',
|
||||
'categories' => '.cat-links',
|
||||
|
@ -35,6 +35,11 @@ function _s_jetpack_setup() {
|
|||
'author' => '.byline',
|
||||
'comment' => '.comments-link',
|
||||
),
|
||||
'featured-images' => array(
|
||||
'archive' => true,
|
||||
'post' => true,
|
||||
'page' => true,
|
||||
),
|
||||
) );
|
||||
}
|
||||
add_action( 'after_setup_theme', '_s_jetpack_setup' );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue