Файловый менеджер - Редактировать - /home2/cocinasdalloway/public_html/tienda/wp-content/themes/negan/framework/configs/options/page_title_bar.php
Назад
<?php // Do not allow directly accessing this file. if ( ! defined( 'ABSPATH' ) ) { exit( 'Direct script access denied.' ); } /** * Page title bar settings * * @param array $sections An array of our sections. * @return array */ function negan_options_section_page_title_bar( $sections ) { $page_title_layout = array( 'hide' => esc_html__("Don't show", 'negan') ); $page_title_layout = $page_title_layout + Negan_Options::get_config_page_title_bar_opts(false); $desc1 = esc_html__('For page title bar', 'negan'); $desc2 = esc_html__('For page title bar of WooCommerce', 'negan'); $sections['page_title_bar'] = array( 'name' => 'page_title_bar_panel', 'title' => esc_html__('Page Title Bar', 'negan'), 'icon' => 'fa fa-sliders', 'sections' => array( array( 'name' => 'page_title_bar_sections', 'title' => esc_html__('Global Page Title', 'negan'), 'icon' => 'fa fa-plus', 'fields' => array( array( 'id' => 'page_title_bar_layout', 'type' => 'select', 'class' => 'chosen', 'title' => esc_html__('Select Layout', 'negan'), 'desc' => $desc1, 'options' => $page_title_layout ), array( 'id' => 'page_title_bar_background', 'type' => 'background', 'title' => esc_html__('Background', 'negan'), 'desc' => $desc1 ), array( 'id' => 'page_title_bar_heading_color', 'type' => 'color_picker', 'default' => Negan_Options::get_color_default('heading_color'), 'title' => esc_html__('Heading Color', 'negan'), 'desc' => $desc1 ), array( 'id' => 'page_title_bar_text_color', 'type' => 'color_picker', 'default' => Negan_Options::get_color_default('body_color'), 'title' => esc_html__('Text Color', 'negan'), 'desc' => $desc1 ), array( 'id' => 'page_title_bar_link_color', 'type' => 'color_picker', 'default' => Negan_Options::get_color_default('body_color'), 'title' => esc_html__('Link Color', 'negan'), 'desc' => $desc1 ), array( 'id' => 'page_title_bar_link_hover_color', 'type' => 'color_picker', 'default' => Negan_Options::get_color_default('primary_color'), 'title' => esc_html__('Link Hover Color', 'negan'), 'desc' => $desc1 ), array( 'id' => 'page_title_bar_spacing', 'type' => 'spacing', 'title' => esc_html__('Spacing', 'negan'), 'desc' => $desc1, 'unit' => 'px', 'default' => array( 'top' => 40, 'bottom' => 40 ) ), array( 'id' => 'page_title_bar_spacing_tablet', 'type' => 'spacing', 'title' => esc_html__('Spacing', 'negan'), 'desc' => esc_html__('For page title bar on Tablet', 'negan'), 'unit' => 'px', 'default' => array( 'top' => 25, 'bottom' => 25 ) ), array( 'id' => 'page_title_bar_spacing_mobile', 'type' => 'spacing', 'title' => esc_html__('Spacing', 'negan'), 'desc' => esc_html__('For page title bar on Mobile', 'negan'), 'unit' => 'px', 'default' => array( 'top' => 25, 'bottom' => 25 ) ) ) ), array( 'name' => 'page_title_bar_woo_sections', 'title' => esc_html__('WooCommerce Page Title Bar', 'negan'), 'fields' => array( array( 'id' => 'woo_override_page_title_bar', 'type' => 'radio', 'class' => 'la-radio-style', 'default' => 'off', 'title' => esc_html__('Enable Override', 'negan'), 'desc' => esc_html__('Turn on to override all setting page title bar of WooCommerce Settings ( Shop page/Product details/Product Category/ Product tags and search page )', 'negan'), 'info' => esc_html__('This option will not work with these pages were overwritten', 'negan'), 'options' => Negan_Options::get_config_radio_onoff(false) ), array( 'id' => 'woo_page_title_bar_layout', 'type' => 'select', 'class' => 'chosen', 'title' => esc_html__('WooCommerce Page Title Bar Layout', 'negan'), 'options' => $page_title_layout, 'dependency' => array('woo_override_page_title_bar_on', '==', 'true') ), array( 'id' => 'woo_page_title_bar_background', 'type' => 'background', 'title' => esc_html__('Background', 'negan'), 'dependency'=> array('woo_override_page_title_bar_on|woo_page_title_bar_layout', '==|!=', 'true|hide'), 'desc' => $desc2 ), array( 'id' => 'woo_page_title_bar_heading_color', 'type' => 'color_picker', 'default' => Negan_Options::get_color_default('header_color'), 'title' => esc_html__('Heading Color', 'negan'), 'dependency'=> array('woo_override_page_title_bar_on|woo_page_title_bar_layout', '==|!=', 'true|hide'), 'desc' => $desc2 ), array( 'id' => 'woo_page_title_bar_text_color', 'type' => 'color_picker', 'default' => Negan_Options::get_color_default('body_color'), 'title' => esc_html__('Text Color', 'negan'), 'dependency'=> array('woo_override_page_title_bar_on|woo_page_title_bar_layout', '==|!=', 'true|hide'), 'desc' => $desc2 ), array( 'id' => 'woo_page_title_bar_link_color', 'type' => 'color_picker', 'default' => Negan_Options::get_color_default('body_color'), 'title' => esc_html__('Link Color', 'negan'), 'dependency'=> array('woo_override_page_title_bar_on|woo_page_title_bar_layout', '==|!=', 'true|hide'), 'desc' => $desc2 ), array( 'id' => 'woo_page_title_bar_link_hover_color', 'type' => 'color_picker', 'default' => Negan_Options::get_color_default('primary_color'), 'title' => esc_html__('Link Hover Color', 'negan'), 'dependency'=> array('woo_override_page_title_bar_on|woo_page_title_bar_layout', '==|!=', 'true|hide'), 'desc' => $desc2 ), array( 'id' => 'woo_page_title_bar_spacing', 'type' => 'spacing', 'title' => esc_html__('Spacing', 'negan'), 'dependency'=> array('woo_override_page_title_bar_on|woo_page_title_bar_layout', '==|!=', 'true|hide'), 'desc' => $desc2, 'unit' => 'px', 'default' => array( 'top' => 40, 'bottom' => 40 ) ), array( 'id' => 'woo_page_title_bar_spacing_tablet', 'type' => 'spacing', 'title' => esc_html__('Spacing', 'negan'), 'dependency'=> array('woo_override_page_title_bar_on|woo_page_title_bar_layout', '==|!=', 'true|hide'), 'desc' => esc_html__('For page title bar of WooCommerce on Tablet', 'negan'), 'unit' => 'px', 'default' => array( 'top' => 25, 'bottom' => 25 ) ), array( 'id' => 'woo_page_title_bar_spacing_mobile', 'type' => 'spacing', 'title' => esc_html__('Spacing', 'negan'), 'dependency'=> array('woo_override_page_title_bar_on|woo_page_title_bar_layout', '==|!=', 'true|hide'), 'desc' => esc_html__('For page title bar of WooCommerce on Mobile', 'negan'), 'unit' => 'px', 'default' => array( 'top' => 25, 'bottom' => 25 ) ) ) ) ) ); return $sections; }
| ver. 1.4 |
Github
|
.
| PHP 8.2.22 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка