Файловый менеджер - Редактировать - /home/admin/domains/octawebtools.com/public_html/wp-content/themes/foxiz/backend/panels/page.php
�азад
<?php /** Don't load directly */ defined( 'ABSPATH' ) || exit; if ( ! function_exists( 'foxiz_register_options_page' ) ) { function foxiz_register_options_page() { $prefix = 'page_'; return [ 'id' => 'foxiz_config_section_page', 'title' => esc_html__( 'Single Page', 'foxiz' ), 'icon' => 'el el-list-alt', 'desc' => esc_html__( 'Customize the layout and style of the single page.', 'foxiz' ), 'fields' => [ [ 'id' => 'section_start_page_header', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'General', 'foxiz' ), 'indent' => true, ], [ 'id' => $prefix . 'page_header_style', 'type' => 'select', 'title' => esc_html__( 'Page Header Layout', 'foxiz' ), 'subtitle' => esc_html__( 'Select a header layout for the single page.', 'foxiz' ), 'options' => foxiz_config_page_header_dropdown( false ), 'default' => '1', ], [ 'id' => $prefix . 'breadcrumb_pos', 'type' => 'select', 'title' => esc_html__( 'Breadcrumb Position', 'foxiz' ), 'subtitle' => esc_html__( 'Choose the position for all page breadcrumb if enabled.', 'foxiz' ), 'description' => esc_html__( 'This setting applies globally and will be used for page headers with the title aligned to the left.', 'foxiz' ), 'options' => [ '0' => esc_html__( 'Left', 'foxiz' ), 'right' => esc_html__( 'Right', 'foxiz' ), ], 'default' => '0', ], [ 'id' => $prefix . 'header_width', 'type' => 'select', 'title' => esc_html__( 'Limit Page Header Width', 'foxiz' ), 'subtitle' => esc_html__( 'Limit the max-width for the page header content, which includes the page title and featured image.', 'foxiz' ), 'options' => [ 'small' => esc_html__( 'Optimize Line Length', 'foxiz' ), '0' => esc_html__( 'Full Width', 'foxiz' ), ], 'default' => '0', ], [ 'id' => $prefix . 'width_wo_sb', 'type' => 'select', 'title' => esc_html__( 'Limit Page Content Width', 'foxiz' ), 'subtitle' => esc_html__( 'Enhance readability by optimizing the line length through the limitation of the content width in the page.', 'foxiz' ), 'description' => esc_html__( 'This setting will only apply to pages without a sidebar.', 'foxiz' ), 'options' => [ 'small' => esc_html__( 'Optimize Line Length', 'foxiz' ), '0' => esc_html__( 'Full Width', 'foxiz' ), ], 'default' => 'small', ], [ 'id' => 'page_content_width', 'title' => esc_html__( 'Default Max Width', 'foxiz' ), 'subtitle' => esc_html__( 'Enter the maximum width (in px) for the single page.', 'foxiz' ), 'description' => esc_html__( 'This setting will apply if you choose "Optimize Line Length". Leave blank to use the default (840).', 'foxiz' ), 'placeholder' => '840', 'type' => 'text', 'class' => 'small-text', 'default' => '', ], [ 'id' => 'section_end_page_header', 'type' => 'section', 'class' => 'ruby-section-end', 'indent' => false, ], [ 'id' => 'section_start_page_sidebar', 'type' => 'section', 'class' => 'ruby-section-start', 'title' => esc_html__( 'Sidebar Area', 'foxiz' ), 'indent' => true, ], [ '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', ], [ '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', ], [ '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' => [ '0' => esc_html__( '- Default -', 'foxiz' ), '1' => esc_html__( 'Sticky Sidebar', 'foxiz' ), '2' => esc_html__( 'Sticky Last Widget', 'foxiz' ), '-1' => esc_html__( 'Disable', 'foxiz' ), ], 'default' => '0', ], [ 'id' => 'section_end_page_sidebar', 'type' => 'section', 'class' => 'ruby-section-end no-border', 'indent' => false, ], ], ]; } }
| ver. 1.4 |
Github
|
.
| PHP 8.1.32 | Генераци� �траницы: 0 |
proxy
|
phpinfo
|
�а�тройка