mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-18 22:13:20 +09:00
add blog page 2+ setting
originally the featured image doesn't show on subsequent pages, but some people might want it to. needs documentation.
This commit is contained in:
@@ -123,13 +123,20 @@ class Display_Featured_Image_Genesis {
|
||||
) );
|
||||
}
|
||||
|
||||
//* new setting for titles added in 2.0.0
|
||||
// new setting for titles added in 2.0.0
|
||||
if ( empty( $displaysetting['keep_titles'] ) ) {
|
||||
$this->update_settings( array(
|
||||
'keep_titles' => 0
|
||||
) );
|
||||
}
|
||||
|
||||
// new setting for subsequent pages added in 2.2.0
|
||||
if ( empty( $displaysetting['is_paged'] ) ) {
|
||||
$this->update_settings( array(
|
||||
'is_paged' => 0
|
||||
) );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user