2019-05-12 17:40:05 -04:00
< ? php
return array (
array (
'id' => 'scriptless' ,
'title' => __ ( 'Disable JavaScript' , 'display-featured-image-genesis' ),
'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' ),
),
array (
'id' => 'less_header' ,
'title' => __ ( 'Height' , 'display-featured-image-genesis' ),
'callback' => 'do_number' ,
2019-05-13 09:27:02 -04:00
'section' => 'backstretch' ,
2019-05-12 17:40:05 -04:00
'label' => __ ( 'pixels to remove' , 'display-featured-image-genesis' ),
'min' => 0 ,
'max' => 400 ,
2019-05-13 09:27:02 -04:00
'description' => __ ( 'Changing this number will reduce the backstretch banner image height by this number of pixels. Default is zero.' , 'display-featured-image-genesis' ),
2019-05-12 17:40:05 -04:00
'type' => 'number' ,
),
array (
'id' => 'max_height' ,
'title' => __ ( 'Maximum Height' , 'display-featured-image-genesis' ),
'callback' => 'do_number' ,
'section' => 'style' ,
'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' ),
'type' => 'number' ,
),
array (
'id' => 'centeredX' ,
'title' => __ ( 'Center Horizontally' , 'display-featured-image-genesis' ),
'callback' => 'do_radio_buttons' ,
2019-05-13 09:27:02 -04:00
'section' => 'backstretch' ,
2019-05-12 17:40:05 -04:00
'choices' => $this -> pick_center (),
'legend' => __ ( 'Center the backstretch 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' ,
2019-05-13 09:27:02 -04:00
'section' => 'backstretch' ,
2019-05-12 17:40:05 -04:00
'choices' => $this -> pick_center (),
'legend' => __ ( 'Center the backstretch image on the vertical axis?' , 'display-featured-image-genesis' ),
'type' => 'radio' ,
),
array (
'id' => 'fade' ,
'title' => __ ( 'Fade' , 'display-featured-image-genesis' ),
'callback' => 'do_number' ,
2019-05-13 09:27:02 -04:00
'section' => 'backstretch' ,
2019-05-12 17:40:05 -04:00
'label' => __ ( 'milliseconds' , 'display-featured-image-genesis' ),
'min' => 0 ,
'max' => 20000 ,
'type' => 'number' ,
),
);