| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- <?php
- /**
- * Vamtam Post Options
- *
- * @package vamtam/consulting
- */
- return array(
- array(
- 'name' => esc_html__( 'Layout and Styles', 'vamtam-consulting' ),
- 'type' => 'separator',
- ),
- array(
- 'name' => esc_html__( 'Page Slider', 'vamtam-consulting' ),
- 'desc' => esc_html__( 'In the drop down you will see the sliders that you have created. Please note that the theme uses Revolution Slider and its option panel is found in the WordPress navigation menu on the left.', 'vamtam-consulting' ),
- 'id' => 'slider-category',
- 'type' => 'select',
- 'default' => '',
- 'prompt' => esc_html__( 'Disabled', 'vamtam-consulting' ),
- 'options' => VamtamTemplates::get_all_sliders(),
- ),
- array(
- 'name' => esc_html__( 'Show Splash Screen', 'vamtam-consulting' ),
- 'desc' => esc_html__( 'This option is useful if you have video backgrounds, featured slider, galleries or other elements that may load slowly.', 'vamtam-consulting' ),
- 'id' => 'show-splash-screen-local',
- 'type' => 'toggle',
- 'default' => 'default',
- 'has_default' => true,
- ),
- array(
- 'name' => esc_html__( 'Header Featured Area', 'vamtam-consulting' ),
- 'desc' => esc_html__( 'The contents of this option are placed below the header slider, even if the slider is disabled. You can place plain text or HTML into it.', 'vamtam-consulting' ),
- 'id' => 'page-middle-header-type',
- 'type' => 'select',
- 'options' => vamtam_get_beaver_layouts( array(
- 'text' => esc_html__( 'Text', 'vamtam-consulting' ),
- '' => esc_html__( '-- Select Layout--', 'vamtam-consulting' ),
- ) ),
- 'default' => 'text',
- 'field_filter' => 'headerfeaturedarea',
- ),
- array(
- 'name' => esc_html__( 'Header Featured Area (Text Contents)', 'vamtam-consulting' ),
- 'id' => 'page-middle-header-content',
- 'type' => 'textarea',
- 'default' => '',
- 'class' => 'headerfeaturedarea headerfeaturedarea-text',
- ),
- array(
- 'name' => esc_html__( 'Full Width Header Featured Area', 'vamtam-consulting' ),
- 'desc' => esc_html__( 'Extend the featured area to the end of the screen. This is basicly a full screen mode.', 'vamtam-consulting' ),
- 'id' => 'page-middle-header-content-fullwidth',
- 'type' => 'toggle',
- 'default' => 'false',
- ),
- array(
- 'name' => esc_html__( 'Header Featured Area Minimum Height', 'vamtam-consulting' ),
- 'desc' => esc_html__( 'Please note that this option does not affect the slider height. The slider height is controled from the LayerSlider option panel.', 'vamtam-consulting' ),
- 'id' => 'page-middle-header-min-height',
- 'type' => 'range',
- 'default' => 0,
- 'min' => 0,
- 'max' => 1000,
- 'unit' => 'px',
- ),
- array(
- 'name' => esc_html__( 'Featured Area / Slider Background', 'vamtam-consulting' ),
- 'desc' => esc_html__( 'This option is used for the featured area and header slider.<br>If you want to use an image as a background, enabling the cover button will resize and crop the image so that it will always fit the browser window on any resolution.', 'vamtam-consulting' ),
- 'id' => 'local-title-background',
- 'type' => 'background',
- 'show' => 'color,image,repeat,size',
- ),
- array(
- 'name' => esc_html__( 'Header Behaviour', 'vamtam-consulting' ),
- 'id' => 'sticky-header-type',
- 'type' => 'select',
- 'default' => 'normal',
- 'desc' => esc_html__( 'Please make sure you have the sticky header enabled in theme options - layout - header.', 'vamtam-consulting' ),
- 'options' => array(
- 'normal' => esc_html__( 'Normal', 'vamtam-consulting' ),
- 'over' => esc_html__( 'Over the page content', 'vamtam-consulting' ),
- 'below' => esc_html__( 'Below the slider', 'vamtam-consulting' ),
- ),
- ),
- array(
- 'name' => esc_html__( 'Show Page Title Area', 'vamtam-consulting' ),
- 'desc' => esc_html__( 'Enables the area used by the page title.', 'vamtam-consulting' ),
- 'id' => 'show-page-header',
- 'type' => 'toggle',
- 'default' => true,
- ),
- array(
- 'name' => esc_html__( 'Page Title Layout', 'vamtam-consulting' ),
- 'id' => 'local-page-title-layout',
- 'type' => 'select',
- 'desc' => esc_html__( 'The first row is the Title, the second row is the Description. The description can be added in the local option panel just below the editor.', 'vamtam-consulting' ),
- 'default' => '',
- 'prompt' => esc_html__( 'Default', 'vamtam-consulting' ),
- 'options' => array(
- 'centered' => esc_html__( 'Two rows, centered', 'vamtam-consulting' ),
- 'one-row-left' => esc_html__( 'One row, title on the left', 'vamtam-consulting' ),
- 'one-row-right' => esc_html__( 'One row, title on the right', 'vamtam-consulting' ),
- 'left-align' => esc_html__( 'Two rows, left-aligned', 'vamtam-consulting' ),
- 'right-align' => esc_html__( 'Two rows, right-aligned', 'vamtam-consulting' ),
- ),
- ),
- array(
- 'name' => esc_html__( 'Page Title Background', 'vamtam-consulting' ),
- 'id' => 'local-page-title-background',
- 'type' => 'background',
- 'show' => 'color,image,repeat,size,attachment',
- ),
- array(
- 'name' => esc_html__( 'Page Title Shadow', 'vamtam-consulting' ),
- 'id' => 'has-page-title-shadow',
- 'type' => 'toggle',
- 'default' => false,
- ),
- array(
- 'name' => esc_html__( 'Page Title Color Override', 'vamtam-consulting' ),
- 'id' => 'local-page-title-color',
- 'type' => 'color',
- ),
- array(
- 'name' => esc_html__( 'Description', 'vamtam-consulting' ),
- 'desc' => esc_html__( 'The text will appear next or bellow the title of the page, only if the option above is enabled.', 'vamtam-consulting' ),
- 'id' => 'description',
- 'type' => 'textarea',
- 'default' => '',
- ),
- array(
- 'name' => esc_html__( 'Page Background', 'vamtam-consulting' ),
- 'desc' => wp_kses_post( __('Please note that this option is used only in boxed layout mode.<br>
- In full width layout mode the page background is covered by the header, slider, body and footer backgrounds respectively.<br>
- If you want to use an image as a background, enabling the cover button will resize and crop the image so that it will always fit the browser window on any resolution.<br>
- You can override this option on a page by page basis.', 'vamtam-consulting') ),
- 'id' => 'background',
- 'type' => 'background',
- 'show' => 'color,image,repeat,size,attachment',
- ),
- array(
- 'name' => esc_html__( 'Body Background', 'vamtam-consulting' ),
- 'desc' => esc_html__( 'If you want to use an image as a background, enabling the cover button will resize and crop the image so that it will always fit the browser window on any resolution.', 'vamtam-consulting' ),
- 'id' => 'local-main-background',
- 'type' => 'background',
- 'show' => 'color,image,repeat,size,attachment',
- ),
- );
|