git-svn-id: https://192.168.0.254/svn/Proyectos.EstudioJuridicoAlmagro_Web/trunk@3 c22fe52d-42d7-ba4f-95f7-33effcf65713
313 lines
8.2 KiB
PHP
313 lines
8.2 KiB
PHP
<?php
|
|
|
|
global $wpv_hsidebars_widths;
|
|
|
|
return array(
|
|
array(
|
|
'name' => __('Layout', 'wpv'),
|
|
'type' => 'start',
|
|
),
|
|
|
|
|
|
array(
|
|
'name' => __('Sidebar layout for new pages', 'wpv'),
|
|
'id' => 'default-body-layout',
|
|
'type' => 'body-layout',
|
|
),
|
|
|
|
array(
|
|
'name' => __('Enable header slider', 'wpv'),
|
|
'id' => 'has-header-slider',
|
|
'type' => 'toggle',
|
|
),
|
|
|
|
array(
|
|
'name' => __('Enable header widget areas', 'wpv'),
|
|
'id' => 'has-header-sidebars',
|
|
'type' => 'toggle',
|
|
),
|
|
|
|
array(
|
|
'name' => __('Enable footer widget areas', 'wpv'),
|
|
'id' => 'has-footer-sidebars',
|
|
'type' => 'toggle',
|
|
),
|
|
|
|
array(
|
|
'name' => __('Enable boxed layout', 'wpv'),
|
|
'desc' => __('You can style the box under the section "boxed layout" in "Styles" section.', 'wpv'),
|
|
'id' => 'enable_box_layout',
|
|
'type' => 'toggle',
|
|
),
|
|
|
|
array(
|
|
'name' => __('Enable fixed header', 'wpv'),
|
|
'id' => 'fixed-header',
|
|
'type' => 'toggle',
|
|
),
|
|
|
|
array(
|
|
'name' => __('Header height', 'wpv'),
|
|
'id' => 'header-height',
|
|
'desc' => __('This is the area above the slider', 'wpv'),
|
|
'type' => 'range',
|
|
'min' => 50,
|
|
'max' => 300,
|
|
),
|
|
|
|
array(
|
|
'name' => __('Header slider height', 'wpv'),
|
|
'desc' => __('In pixels'),
|
|
'id' => 'header-slider-height',
|
|
'type' => 'range',
|
|
'min' => 100,
|
|
'max' => 800,
|
|
),
|
|
|
|
array(
|
|
'name' => __('Site width', 'wpv'),
|
|
'class' => 'hidden',
|
|
'id' => 'content-width',
|
|
'type' => 'range',
|
|
'min' => 940,
|
|
'max' => 940,
|
|
),
|
|
|
|
array(
|
|
'name' => __('Left sidebar width', 'wpv'),
|
|
'id' => 'left_sidebar_width',
|
|
'type' => 'range',
|
|
'min' => 150,
|
|
'max' => 400,
|
|
),
|
|
array(
|
|
'name' => __('Right sidebar width', 'wpv'),
|
|
'id' => 'right_sidebar_width',
|
|
'type' => 'range',
|
|
'min' => 150,
|
|
'max' => 400,
|
|
),
|
|
|
|
array(
|
|
'type' => 'end'
|
|
),
|
|
|
|
//----
|
|
array(
|
|
'name' => __('Header Layout', 'wpv'),
|
|
'type' => 'start',
|
|
'sub' => 'Layout',
|
|
),
|
|
|
|
array(
|
|
'name' => __('Show page title', 'wpv'),
|
|
'id' => 'has-page-header',
|
|
'type' => 'toggle',
|
|
),
|
|
|
|
array(
|
|
'name' => __('Basic sidebars', 'wpv'),
|
|
'desc' => __('The widget areas bellow are placed between the slider and the body of the site. By default these areas are disabled. They can be enabled on every single page or post
|
|
You can either choose one of the predefined layouts or configure your own in the "Advanced" section', 'wpv'),
|
|
'type' => 'separator',
|
|
),
|
|
|
|
array(
|
|
'text' => __('The widget areas bellow are placed between the slider and the body of the site. By default these areas are disabled. They can be enabled on every single page or post. You can either choose one of the predefined layouts or configure your own in the "Advanced" section', 'wpv'),
|
|
'class' => 'sticked',
|
|
'type' => 'info',
|
|
),
|
|
|
|
array(
|
|
'type' => 'autofill',
|
|
'option_sets' => array(
|
|
array(
|
|
'name' => __('1/3 | 1/3 | 1/3', 'wpv'),
|
|
'image' => WPV_ADMIN_ASSETS_URI . 'images/header-sidebars-3.png',
|
|
'values' => array(
|
|
'header-sidebars' => 3,
|
|
'header-sidebars-1-width' => 'one_third',
|
|
'header-sidebars-1-last' => 0,
|
|
'header-sidebars-2-width' => 'one_third',
|
|
'header-sidebars-2-last' => 0,
|
|
'header-sidebars-3-width' => 'one_third',
|
|
'header-sidebars-3-last' => 1,
|
|
'header-sidebars-4-width' => 'full',
|
|
'header-sidebars-4-last' => 0,
|
|
'header-sidebars-5-width' => 'full',
|
|
'header-sidebars-5-last' => 0,
|
|
'header-sidebars-6-width' => 'full',
|
|
'header-sidebars-6-last' => 0,
|
|
),
|
|
),
|
|
array(
|
|
'name' => __('1/4 | 1/4 | 1/4 | 1/4', 'wpv'),
|
|
'image' => WPV_ADMIN_ASSETS_URI . 'images/header-sidebars-4.png',
|
|
'values' => array(
|
|
'header-sidebars' => 4,
|
|
'header-sidebars-1-width' => 'one_fourth',
|
|
'header-sidebars-1-last' => 0,
|
|
'header-sidebars-2-width' => 'one_fourth',
|
|
'header-sidebars-2-last' => 0,
|
|
'header-sidebars-3-width' => 'one_fourth',
|
|
'header-sidebars-3-last' => 0,
|
|
'header-sidebars-4-width' => 'one_fourth',
|
|
'header-sidebars-4-last' => 1,
|
|
'header-sidebars-5-width' => 'full',
|
|
'header-sidebars-5-last' => 0,
|
|
'header-sidebars-6-width' => 'full',
|
|
'header-sidebars-6-last' => 0,
|
|
),
|
|
),
|
|
|
|
array(
|
|
'name' => __('1/5 | 1/5 | 1/5 | 1/5 | 1/5', 'wpv'),
|
|
'image' => WPV_ADMIN_ASSETS_URI . 'images/header-sidebars-5.png',
|
|
'values' => array(
|
|
'header-sidebars' => 5,
|
|
'header-sidebars-1-width' => 'one_fifth',
|
|
'header-sidebars-1-last' => 0,
|
|
'header-sidebars-2-width' => 'one_fifth',
|
|
'header-sidebars-2-last' => 0,
|
|
'header-sidebars-3-width' => 'one_fifth',
|
|
'header-sidebars-3-last' => 0,
|
|
'header-sidebars-4-width' => 'one_fifth',
|
|
'header-sidebars-4-last' => 0,
|
|
'header-sidebars-5-width' => 'one_fifth',
|
|
'header-sidebars-5-last' => 1,
|
|
'header-sidebars-6-width' => 'full',
|
|
'header-sidebars-6-last' => 0,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
|
|
array(
|
|
'name' => __('Advanced sidebars', 'wpv'),
|
|
'type' => 'separator',
|
|
),
|
|
|
|
array(
|
|
'text' => __('Please choose the number of widget areas and adjust each widget area\'s settings. You can adjust the width of the widget area from the sixth predefined and place them in one to six rows.', 'wpv'),
|
|
'class' => 'sticked',
|
|
'type' => 'info',
|
|
),
|
|
|
|
array(
|
|
'id_prefix' => 'header-sidebars',
|
|
'type' => 'horizontal_blocks',
|
|
'min' => 0,
|
|
'max' => 6,
|
|
),
|
|
|
|
array(
|
|
'type' => 'end'
|
|
),
|
|
|
|
//----
|
|
|
|
|
|
array(
|
|
'name' => __('Footer Layout', 'wpv'),
|
|
'type' => 'start',
|
|
'sub' => 'Layout',
|
|
),
|
|
|
|
array(
|
|
'name' => __('Basic sidebars', 'wpv'),
|
|
'type' => 'separator',
|
|
),
|
|
|
|
array(
|
|
'text' => __('The footer widget areas are placed after the body of the site. You can either choose one of the predefined layouts or configure your own in the "Advanced" section', 'wpv'),
|
|
'class' => 'sticked',
|
|
'type' => 'info',
|
|
),
|
|
|
|
array(
|
|
'type' => 'autofill',
|
|
'option_sets' => array(
|
|
array(
|
|
'name' => __('1/3 | 1/3 | 1/3', 'wpv'),
|
|
'image' => WPV_ADMIN_ASSETS_URI . 'images/footer-sidebars-3.png',
|
|
'values' => array(
|
|
'footer-sidebars' => 3,
|
|
'footer-sidebars-1-width' => 'one_third',
|
|
'footer-sidebars-1-last' => 0,
|
|
'footer-sidebars-2-width' => 'one_third',
|
|
'footer-sidebars-2-last' => 0,
|
|
'footer-sidebars-3-width' => 'one_third',
|
|
'footer-sidebars-3-last' => 1,
|
|
'footer-sidebars-4-width' => 'full',
|
|
'footer-sidebars-4-last' => 0,
|
|
'footer-sidebars-5-width' => 'full',
|
|
'footer-sidebars-5-last' => 0,
|
|
'footer-sidebars-6-width' => 'full',
|
|
'footer-sidebars-6-last' => 0,
|
|
),
|
|
),
|
|
array(
|
|
'name' => __('1/4 | 1/4 | 1/4 | 1/4', 'wpv'),
|
|
'image' => WPV_ADMIN_ASSETS_URI . 'images/footer-sidebars-4.png',
|
|
'values' => array(
|
|
'footer-sidebars' => 4,
|
|
'footer-sidebars-1-width' => 'one_fourth',
|
|
'footer-sidebars-1-last' => 0,
|
|
'footer-sidebars-2-width' => 'one_fourth',
|
|
'footer-sidebars-2-last' => 0,
|
|
'footer-sidebars-3-width' => 'one_fourth',
|
|
'footer-sidebars-3-last' => 0,
|
|
'footer-sidebars-4-width' => 'one_fourth',
|
|
'footer-sidebars-4-last' => 1,
|
|
'footer-sidebars-5-width' => 'full',
|
|
'footer-sidebars-5-last' => 0,
|
|
'footer-sidebars-6-width' => 'full',
|
|
'footer-sidebars-6-last' => 0,
|
|
),
|
|
),
|
|
|
|
array(
|
|
'name' => __('1/5 | 1/5 | 1/5 | 1/5 | 1/5', 'wpv'),
|
|
'image' => WPV_ADMIN_ASSETS_URI . 'images/footer-sidebars-5.png',
|
|
'values' => array(
|
|
'footer-sidebars' => 5,
|
|
'footer-sidebars-1-width' => 'one_fifth',
|
|
'footer-sidebars-1-last' => 0,
|
|
'footer-sidebars-2-width' => 'one_fifth',
|
|
'footer-sidebars-2-last' => 0,
|
|
'footer-sidebars-3-width' => 'one_fifth',
|
|
'footer-sidebars-3-last' => 0,
|
|
'footer-sidebars-4-width' => 'one_fifth',
|
|
'footer-sidebars-4-last' => 0,
|
|
'footer-sidebars-5-width' => 'one_fifth',
|
|
'footer-sidebars-5-last' => 1,
|
|
'footer-sidebars-6-width' => 'full',
|
|
'footer-sidebars-6-last' => 0,
|
|
),
|
|
),
|
|
),
|
|
),
|
|
|
|
array(
|
|
'name' => __('Advanced sidebars', 'wpv'),
|
|
'type' => 'separator',
|
|
),
|
|
|
|
array(
|
|
'text' => __('Please choose the number of widget areas and adjust each widget area\'s settings. You can adjust the width of the widget area from the sixth predefined and place them in one to six rows.', 'wpv'),
|
|
'class' => 'sticked',
|
|
'type' => 'info',
|
|
),
|
|
|
|
array(
|
|
'id_prefix' => 'footer-sidebars',
|
|
'type' => 'horizontal_blocks',
|
|
'min' => 0,
|
|
'max' => 6,
|
|
),
|
|
|
|
array(
|
|
'type' => 'end'
|
|
),
|
|
|
|
); |