mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Remove backstretch references
Since the scriptless behavior can take on the backstretch script behavior, no longer a need to separate the two.
This commit is contained in:
@@ -7,17 +7,17 @@ return array(
|
||||
'callback' => 'do_checkbox',
|
||||
'type' => 'checkbox',
|
||||
'section' => 'style',
|
||||
'label' => __( 'Instead of using the Backstretch featured image, use a banner image which relies only on CSS.', 'display-featured-image-genesis' ),
|
||||
'label' => __( 'Use a banner image which relies only on CSS.', 'display-featured-image-genesis' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'less_header',
|
||||
'title' => __( 'Height', 'display-featured-image-genesis' ),
|
||||
'callback' => 'do_number',
|
||||
'section' => 'backstretch',
|
||||
'section' => 'style',
|
||||
'label' => __( 'pixels to remove', 'display-featured-image-genesis' ),
|
||||
'min' => 0,
|
||||
'max' => 400,
|
||||
'description' => __( 'Changing this number will reduce the backstretch banner image height by this number of pixels. Default is zero.', 'display-featured-image-genesis' ),
|
||||
'description' => __( 'Changing this number will reduce the banner image height by this number of pixels. Default is zero.', 'display-featured-image-genesis' ),
|
||||
'type' => 'number',
|
||||
),
|
||||
array(
|
||||
@@ -28,32 +28,32 @@ return array(
|
||||
'label' => __( 'pixels', 'display-featured-image-genesis' ),
|
||||
'min' => 100,
|
||||
'max' => 1000,
|
||||
'description' => __( 'Optionally, set a max-height value for the header image; it will be added to your CSS.', 'display-featured-image-genesis' ),
|
||||
'description' => __( 'Optionally, set a max-height value for the banner image; it will be added to your CSS.', 'display-featured-image-genesis' ),
|
||||
'type' => 'number',
|
||||
),
|
||||
array(
|
||||
'id' => 'centeredX',
|
||||
'title' => __( 'Center Horizontally', 'display-featured-image-genesis' ),
|
||||
'callback' => 'do_radio_buttons',
|
||||
'section' => 'backstretch',
|
||||
'section' => 'style',
|
||||
'choices' => $this->pick_center(),
|
||||
'legend' => __( 'Center the backstretch image on the horizontal axis?', 'display-featured-image-genesis' ),
|
||||
'legend' => __( 'Center the banner image on the horizontal axis?', 'display-featured-image-genesis' ),
|
||||
'type' => 'radio',
|
||||
),
|
||||
array(
|
||||
'id' => 'centeredY',
|
||||
'title' => __( 'Center Vertically', 'display-featured-image-genesis' ),
|
||||
'callback' => 'do_radio_buttons',
|
||||
'section' => 'backstretch',
|
||||
'section' => 'style',
|
||||
'choices' => $this->pick_center(),
|
||||
'legend' => __( 'Center the backstretch image on the vertical axis?', 'display-featured-image-genesis' ),
|
||||
'legend' => __( 'Center the banner image on the vertical axis?', 'display-featured-image-genesis' ),
|
||||
'type' => 'radio',
|
||||
),
|
||||
array(
|
||||
'id' => 'fade',
|
||||
'title' => __( 'Fade', 'display-featured-image-genesis' ),
|
||||
'callback' => 'do_number',
|
||||
'section' => 'backstretch',
|
||||
'section' => 'style',
|
||||
'label' => __( 'milliseconds', 'display-featured-image-genesis' ),
|
||||
'min' => 0,
|
||||
'max' => 20000,
|
||||
|
||||
Reference in New Issue
Block a user