Gestionnaire de fichiers - Editer - /home/wwgoat/public_html/blog/wp-content/themes/foxiz/backend/panels/newsletter.php
Arrière
<?php /** Don't load directly */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'foxiz_register_options_newsletter' ) ) { /** * @return array */ function foxiz_register_options_newsletter() { return array( 'id' => 'foxiz_theme_ops_section_subscribe', 'title' => esc_html__( 'Popup Newsletter', 'foxiz' ), 'desc' => esc_html__( 'Select settings for the popup newsletter.', 'foxiz' ), 'icon' => 'el el-envelope', 'fields' => array( array( 'id' => 'newsletter_cover_info', 'type' => 'info', 'title' => esc_html__( 'Please update cover images to your own images after importing the theme demo.', 'foxiz' ), 'style' => 'warning' ), array( 'id' => 'newsletter_popup', 'type' => 'switch', 'title' => esc_html__( 'Popup Newsletter', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the popup newsletter form.', 'foxiz' ), 'default' => '0' ), array( 'id' => 'newsletter_title', 'type' => 'textarea', 'title' => esc_html__( 'Title', 'foxiz' ), 'subtitle' => esc_html__( 'Input title for the popup newsletter form', 'foxiz' ), 'default' => esc_html__( 'Join Us!', 'foxiz' ), ), array( 'id' => 'newsletter_description', 'type' => 'textarea', 'title' => esc_html__( 'Description', 'foxiz' ), 'subtitle' => esc_html__( 'Input description for the popup newsletter form', 'foxiz' ), 'default' => esc_html__( 'Subscribe to our newsletter and never miss our latest news, podcasts etc.', 'foxiz' ), ), array( 'id' => 'newsletter_shortcode', 'type' => 'text', 'title' => esc_html__( 'Newsletter Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a newsletter shortcode.', 'foxiz' ), 'default' => esc_html__( '[mc4wp_form]', 'foxiz' ), ), array( 'id' => 'newsletter_footer', 'type' => 'text', 'title' => esc_html__( 'Footer Text', 'foxiz' ), 'subtitle' => esc_html__( 'Input a footer text for the box.', 'foxiz' ), 'default' => esc_html__( 'Zero spam, Unsubscribe at any time.', 'foxiz' ), ), array( 'id' => 'newsletter_footer_url', 'type' => 'text', 'title' => esc_html__( 'Footer URL', 'foxiz' ), 'subtitle' => esc_html__( 'Add a link for the footer text (optional).', 'foxiz' ), 'default' => '', ), array( 'id' => 'newsletter_cover', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Cover Image', 'foxiz' ), 'subtitle' => esc_html__( 'Select a cover image for the box.', 'foxiz' ), ), array( 'id' => 'newsletter_popup_expired', 'type' => 'select', 'title' => esc_html__( 'Popup Expired', 'foxiz' ), 'subtitle' => esc_html__( 'The period to redisplay the popup when visitors closed it.', 'foxiz' ), 'options' => array( '1' => esc_html__( '1 Day', 'foxiz' ), '2' => esc_html__( '2 Days', 'foxiz' ), '3' => esc_html__( '3 Days', 'foxiz' ), '7' => esc_html__( '1 Week', 'foxiz' ), '14' => esc_html__( '2 Weeks', 'foxiz' ), '21' => esc_html__( '3 Weeks', 'foxiz' ), '30' => esc_html__( '1 Month', 'foxiz' ) ), 'default' => 1 ), array( 'id' => 'newsletter_popup_display', 'type' => 'select', 'title' => esc_html__( 'Display Mode', 'foxiz' ), 'subtitle' => esc_html__( 'Select a mode to display the newsletter popup.', 'foxiz' ), 'options' => array( 'scroll' => esc_html__( 'Scroll Distance', 'foxiz' ), 'time' => esc_html__( 'Time Delay', 'foxiz' ) ), 'default' => 'scroll' ), array( 'id' => 'newsletter_popup_offset', 'type' => 'text', 'title' => esc_html__( 'Distance of Scroll', 'foxiz' ), 'subtitle' => esc_html__( 'This option use for "Scroll Distance" mode. Input a distance value (px) when visitor scrolling down to show the popup.', 'foxiz' ), 'default' => '2000' ), array( 'id' => 'newsletter_popup_delay', 'type' => 'text', 'title' => esc_html__( 'Delay Time', 'foxiz' ), 'subtitle' => esc_html__( 'This option use for "Time Delay" mode. Input a delay time (ms) value to show the popup after the site loaded.', 'foxiz' ), 'default' => '' ), ) ); } }
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0.02 |
proxy
|
phpinfo
|
Réglages