Current Path : /storage/v11800/affypharma/public_html/wp-content/plugins/auxin-elements/admin/includes/metaboxes/ |
Linux v11800 5.3.0-1023-aws #25~18.04.1-Ubuntu SMP Fri Jun 5 15:19:18 UTC 2020 aarch64
|
Current File : /storage/v11800/affypharma/public_html/wp-content/plugins/auxin-elements/admin/includes/metaboxes/metabox-fields-page-template.php |
<?php
/**
* Add page template setting meta box Model
*
*
* @package Auxin
* @license LICENSE.txt
* @author averta
* @link http://phlox.pro/
* @copyright (c) 2010-2024 averta
*/
function auxin_metabox_fields_page_template(){
$model = new Auxin_Metabox_Model();
$model->id = 'page-template';
$model->title = __('Page Template Setting', 'auxin-elements');
$model->fields = array(
array(
'title' => __('Page content location', 'auxin-elements'),
'description' => __('Specifies where the dynamic page content (page entry) should appear in comparison with the template content. Note: A page template from "Page Attributes > Template" should be selected for this page in order to use this option.', 'auxin-elements'),
'id' => 'aux_page_template_content_location',
'type' => 'select',
'default' => 'above-in-frame',
'choices' => array(
'above-in-frame' => __( 'Before Content', 'auxin-elements' ), // Page builder content right before template content
'above-full' => __( 'Above Content, FullWidth Layout', 'auxin-elements' ), // Page builder content on above of template with full width
'above-boxed' => __( 'Above Content, Boxed Layout', 'auxin-elements' ), // Page builder content on above of template with boxed width
'below-in-frame' => __( 'After Content', 'auxin-elements' ), // Page builder content right after template content
'below-boxed' => __( 'Below Content, Boxed Layout', 'auxin-elements' ), // Page builder content below template content with boxed width
'below-full' => __( 'Below Content, FullWidth Layout', 'auxin-elements' ), // Page builder content below template content with full width
'none' => __( 'Hide it' ) // Skip Page builder content
)
)
);
return $model;
}