|
'button'
],
__('Select image', 'age-gate'),
[
'data-option' => 'logo',
'class' => 'button upload_image_button'
]
); ?>
'button'
],
__('Remove image', 'age-gate'),
[
'data-option' => 'logo',
'class' => 'button remove-image'
]
);
}
?>
'ag_settings[logo]',
'type' => 'hidden'
],
$values['logo'],
[
'class' => 'image_attachment_id',
'data-option' => 'logo'
]
);
?>
|
|
'ag_settings[background_colour]',
'id' => 'wp_age_gate_background_colour'
],
$values['background_colour'],
[
'class' => 'colour-picker'
]
); ?>
|
|
|
0%
'range',
'name' => 'ag_settings[background_opacity]',
'id' => 'wp_age_gate_background_opacity'
],
$values['background_opacity'],
[
'class' => 'slider age-gate-range-slider',
'min' => 0,
'max' => 1,
'step' => "0.1"
]
); ?>
100%
|
|
|
'ag_settings[blur_amount]',
'type' => 'number',
'id' => 'wp_age_gate_blur_amount'
),
$values['blur_amount'],
array('class' => 'small-text ltr')
);
?>px
JavaScript mode only
|
|
'button'
],
__('Select image', 'age-gate'),
[
'data-option' => 'background_image',
'class' => 'button upload_image_button'
]
); ?>
'button'
],
__('Remove image', 'age-gate'),
[
'data-option' => 'background_image',
'class' => 'button remove-image'
]
);
}
?>
'ag_settings[background_image]',
'type' => 'hidden'
],
$values['background_image'],
[
'class' => 'image_attachment_id',
'data-option' => 'background_image'
]
);
?>
|
|
|
'ag_settings[background_pos_y]',
'id' => 'wp_age_gate_background_pos_y'
],
[
'center' => __("Centre", 'age-gate'),
'top' => __("Top", 'age-gate'),
'bottom' => __("Bottom", 'age-gate'),
],
$values['background_pos_y']
); ?>
'ag_settings[background_pos_x]',
'id' => 'wp_age_gate_background_pos_x'
],
[
'center' => __("Centre", 'age-gate'),
'left' => __("Left", 'age-gate'),
'right' => __("Right", 'age-gate'),
],
$values['background_pos_x']
); ?>
|
|
|
0%
'range',
'name' => 'ag_settings[background_image_opacity]',
'id' => 'wp_age_gate_background_image_opacity'
],
$values['background_image_opacity'],
[
'class' => 'slider age-gate-range-slider',
'min' => 0,
'max' => 1,
'step' => "0.1"
]
); ?>
100%
|
|
'ag_settings[foreground_colour]',
'id' => 'wp_age_gate_foreground_colour'
],
$values['foreground_colour'],
[
'class' => 'colour-picker'
]
); ?>
|
|
|
0%
'range',
'name' => 'ag_settings[foreground_opacity]',
'id' => 'wp_age_gate_foreground_opacity'
],
$values['foreground_opacity'],
[
'class' => 'slider age-gate-range-slider',
'min' => 0,
'max' => 1,
'step' => "0.1"
]
); ?>
100%
|
|
'ag_settings[text_colour]',
'id' => 'wp_age_gate_text_colour'
],
$values['text_colour'],
[
'class' => 'colour-picker'
]
); ?>
|
|
|
|
settings['advanced']['use_js']) : ?>
|
|
|
(width=device-width, minimum-scale=1, maximum-scale=1)
|
|
|
|
|
|
|
|
|
render_language_input('custom_title', $values); ?>
|