mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-17 05:23:22 +09:00
PHPCS
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
|
||||
return array(
|
||||
array(
|
||||
'id' => 'scriptless',
|
||||
'title' => __( 'Disable JavaScript', 'display-featured-image-genesis' ),
|
||||
'type' => 'checkbox',
|
||||
'section' => 'style',
|
||||
'label' => __( 'Use a banner image which relies only on CSS.', 'display-featured-image-genesis' ),
|
||||
'id' => 'scriptless',
|
||||
'title' => __( 'Disable JavaScript', 'display-featured-image-genesis' ),
|
||||
'type' => 'checkbox',
|
||||
'section' => 'style',
|
||||
'label' => __( 'Use a banner image which relies only on CSS.', 'display-featured-image-genesis' ),
|
||||
),
|
||||
array(
|
||||
'id' => 'less_header',
|
||||
@@ -29,28 +29,28 @@ return array(
|
||||
'type' => 'number',
|
||||
),
|
||||
array(
|
||||
'id' => 'centeredX',
|
||||
'title' => __( 'Center Horizontally', 'display-featured-image-genesis' ),
|
||||
'section' => 'style',
|
||||
'choices' => $this->pick_center(),
|
||||
'legend' => __( 'Center the banner image on the horizontal axis?', 'display-featured-image-genesis' ),
|
||||
'type' => 'radio',
|
||||
'id' => 'centeredX',
|
||||
'title' => __( 'Center Horizontally', 'display-featured-image-genesis' ),
|
||||
'section' => 'style',
|
||||
'choices' => $this->pick_center(),
|
||||
'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' ),
|
||||
'section' => 'style',
|
||||
'choices' => $this->pick_center(),
|
||||
'legend' => __( 'Center the banner image on the vertical axis?', 'display-featured-image-genesis' ),
|
||||
'type' => 'radio',
|
||||
'id' => 'centeredY',
|
||||
'title' => __( 'Center Vertically', 'display-featured-image-genesis' ),
|
||||
'section' => 'style',
|
||||
'choices' => $this->pick_center(),
|
||||
'legend' => __( 'Center the banner image on the vertical axis?', 'display-featured-image-genesis' ),
|
||||
'type' => 'radio',
|
||||
),
|
||||
array(
|
||||
'id' => 'fade',
|
||||
'title' => __( 'Fade', 'display-featured-image-genesis' ),
|
||||
'section' => 'style',
|
||||
'label' => __( 'milliseconds', 'display-featured-image-genesis' ),
|
||||
'min' => 0,
|
||||
'max' => 20000,
|
||||
'type' => 'number',
|
||||
'id' => 'fade',
|
||||
'title' => __( 'Fade', 'display-featured-image-genesis' ),
|
||||
'section' => 'style',
|
||||
'label' => __( 'milliseconds', 'display-featured-image-genesis' ),
|
||||
'min' => 0,
|
||||
'max' => 20000,
|
||||
'type' => 'number',
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user