Add backstretch variables to settings page

Image centering/fade values for javascript. Includes radio buttons and
making a new style tab.
This commit is contained in:
Robin Cornett
2016-07-06 09:42:48 -04:00
parent 3a5cb57720
commit 822174817d
4 changed files with 138 additions and 35 deletions
@@ -14,19 +14,22 @@ class DisplayFeaturedImageGenesisGetSetting {
*/
public function defaults() {
return apply_filters( 'displayfeaturedimagegenesis_defaults', array(
'less_header' => 0,
'default' => '',
'exclude_front' => 0,
'keep_titles' => 0,
'move_excerpts' => 0,
'is_paged' => 0,
'feed_image' => 0,
'thumbnails' => 0,
'post_types' => array(),
'skip' => array(),
'fallback' => array(),
'max_height' => '',
'less_header' => 0,
'default' => '',
'exclude_front' => 0,
'keep_titles' => 0,
'move_excerpts' => 0,
'is_paged' => 0,
'feed_image' => 0,
'thumbnails' => 0,
'post_types' => array(),
'skip' => array(),
'fallback' => array(),
'max_height' => '',
'always_default' => 0,
'centeredX' => 1,
'centeredY' => 1,
'fade' => 750,
) );
}