Current path: home/webdevt/www/wdp/wp-content/themes/quadric/framework/admin/meta-boxes/content-bottom/
?? Go up: /home/webdevt/www/wdp/wp-content/themes/quadric/framework/admin/meta-boxes
<?php
$content_bottom_meta_box = edgtf_quadric_create_meta_box(
array(
'scope' => array('page', 'portfolio-item', 'post'),
'title' => esc_html__( 'Content Bottom', 'quadric' ),
'name' => 'content-bottom-meta'
)
);
edgtf_quadric_create_meta_box_field(
array(
'name' => 'edgtf_enable_content_bottom_area_meta',
'type' => 'selectblank',
'default_value' => '',
'label' => esc_html__( 'Enable Content Bottom Area', 'quadric' ),
'description' => esc_html__( 'This option will enable Content Bottom area on pages', 'quadric' ),
'parent' => $content_bottom_meta_box,
'options' => array(
'no' => esc_html__( 'No', 'quadric' ),
'yes' => esc_html__( 'Yes', 'quadric' )
),
'args' => array(
'dependence' => true,
'hide' => array(
'' => '#edgtf_edgtf_show_content_bottom_meta_container',
'no' => '#edgtf_edgtf_show_content_bottom_meta_container'
),
'show' => array(
'yes' => '#edgtf_edgtf_show_content_bottom_meta_container'
)
)
)
);
$show_content_bottom_meta_container = edgtf_quadric_add_admin_container(
array(
'parent' => $content_bottom_meta_box,
'name' => 'edgtf_show_content_bottom_meta_container',
'hidden_property' => 'edgtf_enable_content_bottom_area_meta',
'hidden_value' => '',
'hidden_values' => array('','no')
)
);
edgtf_quadric_create_meta_box_field(
array(
'name' => 'edgtf_content_bottom_sidebar_custom_display_meta',
'type' => 'selectblank',
'default_value' => '',
'label' => esc_html__( 'Widget Area to display', 'quadric' ),
'description' => esc_html__( 'Choose a Content Bottom sidebar to display', 'quadric' ),
'options' => edgtf_quadric_get_custom_sidebars(),
'parent' => $show_content_bottom_meta_container
)
);
edgtf_quadric_create_meta_box_field(
array(
'type' => 'selectblank',
'name' => 'edgtf_content_bottom_in_grid_meta',
'default_value' => '',
'label' => esc_html__( 'Display in Grid', 'quadric' ),
'description' => esc_html__( 'Enabling this option will place Content Bottom in grid', 'quadric' ),
'options' => array(
'no' => esc_html__( 'No', 'quadric' ),
'yes' => esc_html__( 'Yes', 'quadric' )
),
'parent' => $show_content_bottom_meta_container
)
);
edgtf_quadric_create_meta_box_field(
array(
'type' => 'color',
'name' => 'edgtf_content_bottom_background_color_meta',
'default_value' => '',
'label' => esc_html__( 'Background Color', 'quadric' ),
'description' => esc_html__( 'Choose a background color for Content Bottom area', 'quadric' ),
'parent' => $show_content_bottom_meta_container
)
);