select( 'show_first_featured_image',
__('Disable First Featured Image', 'Avada'),
array('no' => __('No', 'Avada'), 'yes' => __('Yes', 'Avada')),
__('Disable the 1st featured image on single post pages.', 'Avada')
);
?>
select( 'portfolio_width_100',
__('Use 100% Width Page', 'Avada'),
array('no' => __('No', 'Avada'),'yes' => __('Yes', 'Avada')),
__('Choose to set this post to 100% browser width.', 'Avada')
);
?>
textarea('video',
__('Video Embed Code', 'Avada'),
__('Insert Youtube or Vimeo embed code.', 'Avada')
);
?>
text( 'fimg_width',
__('Featured Image Width', 'Avada'),
__('In pixels or percentage, ex: 100% or 100px. Or Use "auto" for automatic resizing if you added either width or height.', 'Avada')
);
?>
text( 'fimg_height',
__('Featured Image Height', 'Avada'),
__('In pixels or percentage, ex: 100% or 100px. Or Use "auto" for automatic resizing if you added either width or height.', 'Avada')
);
?>
select( 'image_rollover_icons',
__('Image Rollover Icons', 'Avada'),
array('linkzoom' => __('Link + Zoom', 'Avada'), 'link' => __('Link', 'Avada'), 'zoom' => __('Zoom', 'Avada'), 'no' => __('No Icons', 'Avada')),
__('Choose which icons display on this post.', 'Avada')
);
?>
text( 'link_icon_url',
__('Link Icon URL', 'Avada'),
__('Leave blank for post URL.', 'Avada')
);
?>
select( 'related_posts',
__('Show Related Posts', 'Avada'),
array('default' => __('Default', 'Avada'), 'yes' => __('Show', 'Avada'), 'no' => __('Hide', 'Avada')),
__('Choose to show or hide related posts on this post.', 'Avada')
);
?>
select( 'share_box',
__('Show Social Share Box', 'Avada'),
array('default' => __('Default', 'Avada'), 'yes' => __('Show', 'Avada'), 'no' => __('Hide', 'Avada')),
__('Choose to show or hide the social share box', 'Avada')
);
?>
select( 'post_pagination',
__('Show Previous/Next Pagination', 'Avada'),
array('default' => __('Default', 'Avada'), 'yes' => __('Show', 'Avada'), 'no' => __('Hide', 'Avada')),
__('Choose to show or hide the post navigation', 'Avada')
);
?>
select( 'author_info',
__('Show Author Info Box', 'Avada'),
array('default' => __('Default', 'Avada'), 'yes' => __('Show', 'Avada'), 'no' => __('Hide', 'Avada')),
__('Choose to show or hide the author info box', 'Avada')
);
?>
select( 'post_meta',
__('Show Post Meta', 'Avada'),
array('default' => __('Default', 'Avada'), 'yes' => __('Show', 'Avada'), 'no' => __('Hide', 'Avada')),
__('Choose to show or hide the post meta', 'Avada')
);
?>
select( 'post_comments',
__('Show Comments', 'Avada'),
array('default' => __('Default', 'Avada'), 'yes' => __('Show', 'Avada'), 'no' => __('Hide', 'Avada')),
__('Choose to show or hide comments area', 'Avada')
);
?>
text( 'main_top_padding',
__('Page Content Top Padding', 'Avada'),
__('In pixels ex: 20px. Leave empty for default value.', 'Avada')
);
?>
text( 'main_bottom_padding',
__('Page Content Bottom Padding', 'Avada'),
__('In pixels ex: 20px. Leave empty for default value.', 'Avada')
);
?>
text( 'hundredp_padding',
__('100% Width Left/Right Padding', 'Avada'),
__('This option controls the left/right padding for page content when using 100% site width or 100% width page template. Enter value in px. ex: 20px.', 'Avada')
);
?>
select( 'slider_position',
__('Slider Position', 'Avada'),
array('default' => __('Default', 'Avada'), 'below' => __('Below', 'Avada'), 'above' => __('Above', 'Avada')),
__('Select if the slider shows below or above the header. Only works for top header position.', 'Avada')
);
?>
select( 'slider_type',
__('Slider Type', 'Avada'),
array('no' => __('No Slider', 'Avada'), 'layer' => 'LayerSlider', 'flex' => 'Fusion Slider', 'rev' => 'Revolution Slider', 'elastic' => 'Elastic Slider'),
__('Select the type of slider that displays.', 'Avada')
);
?>
prefix . "layerslider";
// Get sliders
$sliders = $wpdb->get_results( "SELECT * FROM $table_name
WHERE flag_hidden = '0' AND flag_deleted = '0'
ORDER BY date_c ASC" );
if(!empty($sliders)):
foreach($sliders as $key => $item):
$slides[$item->id] = '';
endforeach;
endif;
if(isset($slides) && $slides){
foreach($slides as $key => $val){
$slides_array[$key] = 'LayerSlider #'.($key);
}
}
}
$this->select( 'slider',
__('Select LayerSlider', 'Avada'),
$slides_array,
__('Select the unique name of the slider.', 'Avada')
);
?>
errors)){
$slides = is_array($slides) ? $slides : unserialize($slides);
foreach($slides as $key => $val){
$slides_array[$val->slug] = $val->name;
}
}
$this->select( 'wooslider',
__('Select Fusion Slider', 'Avada'),
$slides_array,
__('Select the unique name of the slider.', 'Avada')
);
?>
get_results('SELECT * FROM '.$wpdb->prefix.'revslider_sliders');
if($get_sliders) {
foreach($get_sliders as $slider) {
$revsliders[$slider->alias] = $slider->title;
}
}
}
$this->select( 'revslider',
__('Select Revolution Slider', 'Avada'),
$revsliders,
__('Select the unique name of the slider.', 'Avada')
);
?>
errors)){
$slides = is_array($slides) ? $slides : unserialize($slides);
foreach($slides as $key => $val){
$slides_array[$val->slug] = $val->name;
}
}
$this->select( 'elasticslider',
__('Select Elastic Slider', 'Avada'),
$slides_array,
__('Select the unique name of the slider.', 'Avada')
);
?>
upload( 'fallback',
__('Slider Fallback Image', 'Avada'),
__('This image will override the slider on mobile devices.', 'Avada')
);
?>
select( 'avada_rev_styles',
__('Disable Avada Styles For Revolution Slider', 'Avada'),
array('default' => __('Default', 'Avada'), 'yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')),
__('Choose to enable or disable disable Avada styles for Revolution Slider.', 'Avada')
);
?>
select( 'page_bg_layout',
__('Layout', 'Avada'),
array('default' => __('Default', 'Avada'), 'wide' => __('Wide', 'Avada'), 'boxed' => __('Boxed', 'Avada')),
__('Select boxed or wide layout.', 'Avada')
);
?>
upload( 'page_bg',
__('Background Image for Outer Area', 'Avada'),
__('Select an image to use for the outer background.', 'Avada')
);
?>
text( 'page_bg_color',
__('Background Color (Hex Code)', 'Avada'),
__('Controls the background color for the outer background.', 'Avada')
);
?>
select( 'page_bg_full',
__('100% Background Image', 'Avada'),
array('no' => __('No', 'Avada'), 'yes' => __('Yes', 'Avada')),
__('Choose to have the background image display at 100%.', 'Avada')
);
?>
select( 'page_bg_repeat',
__('Background Repeat', 'Avada'),
array('repeat' => __('Tile', 'Avada'), 'repeat-x' => __('Tile Horizontally', 'Avada'), 'repeat-y' => __('Tile Vertically', 'Avada'), 'no-repeat' => __('No Repeat', 'Avada')),
__('Select how the background image repeats.', 'Avada')
);
?>
upload( 'wide_page_bg',
__('Background Image for Main Content Area', 'Avada'),
__('Select an image to use for the main content area.', 'Avada')
);
?>
text( 'wide_page_bg_color',
__('Background Color (Hex Code)', 'Avada'),
__('Controls the background color for the main content area.', 'Avada')
);
?>
select( 'wide_page_bg_full',
__('100% Background Image', 'Avada'),
array('no' => __('No', 'Avada'), 'yes' => __('Yes', 'Avada')),
__('Choose to have the background image display at 100%.', 'Avada')
);
?>
select( 'wide_page_bg_repeat',
__('Background Repeat', 'Avada'),
array('repeat' => __('Tile', 'Avada'), 'repeat-x' => __('Tile Horizontally', 'Avada'), 'repeat-y' => __('Tile Vertically', 'Avada'), 'no-repeat' => __('No Repeat', 'Avada')),
__('Select how the background image repeats.', 'Avada')
);
?>
select( 'page_title',
__('Page Title Bar', 'Avada'),
array('default' => __('Default', 'Avada'), 'yes' => __('Show', 'Avada'), 'no' => __('Hide', 'Avada')),
__('Choose to show or hide the page title bar.', 'Avada')
);
?>
select( 'page_title_text',
__('Page Title Bar Text', 'Avada'),
array('yes' => __('Show', 'Avada'), 'no' => __('Hide', 'Avada')),
__('Choose to show or hide the page title bar text.', 'Avada')
);
?>
select( 'page_title_text_alignment',
__('Page Title Bar Text Alignment', 'Avada'),
array('default' => __('Default', 'Avada'), 'left' => __('Left', 'Avada'), 'center' => __('Center', 'Avada'), 'right' => __('Right', 'Avada')),
__('Choose the title and subhead text alignment', 'Avada')
);
?>
text( 'page_title_custom_text',
__('Page Title Bar Custom Text', 'Avada'),
__('Insert custom text for the page title bar.', 'Avada')
);
?>
select( 'page_title_100_width',
__('100% Page Title Width', 'Avada'),
array('default' => __('Default', 'Avada'), 'yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')),
__('Choose to set the page title content to 100% of the browser width. Select "No" for site width. Only works with wide layout mode.', 'Avada')
);
?>
text( 'page_title_text_size',
__('Page Title Bar Text Size', 'Avada'),
__('In pixels, default is 18px.', 'Avada')
);
?>
text( 'page_title_custom_subheader',
__('Page Title Bar Custom Subheader Text', 'Avada'),
__('Insert custom subhead text for the page title bar.', 'Avada')
);
?>
text( 'page_title_custom_subheader_text_size',
__('Page Title Bar Subhead Text Size', 'Avada'),
__('In pixels, default is 10px.', 'Avada')
);
?>
text( 'page_title_font_color',
__('Page Title Font Color', 'Avada'),
__('Controls the text color of the page title fonts.', 'Avada')
);
?>
text( 'page_title_height',
__('Page Title Bar Height', 'Avada'),
__('Set the height of the page title bar. In pixels ex: 100px.', 'Avada')
);
?>
upload( 'page_title_bar_bg',
__('Page Title Bar Background', 'Avada'),
__('Select an image to use for the page title bar background.', 'Avada')
);
?>
upload( 'page_title_bar_bg_retina',
__('Page Title Bar Background Retina', 'Avada'),
__('Select an image to use for retina devices.', 'Avada')
);
?>
text( 'page_title_bar_bg_color',
__('Page Title Bar Background Color (Hex Code)', 'Avada'),
__('Controls the background color of the page title bar.', 'Avada')
);
?>
select( 'page_title_bar_bg_full',
__('100% Background Image', 'Avada'),
array('default' => __('Default', 'Avada'), 'no' => __('No', 'Avada'), 'yes' => __('Yes', 'Avada')),
__('Choose to have the background image display at 100%.', 'Avada')
);
?>
select( 'page_title_bg_parallax',
__('Parallax Background Image', 'Avada'),
array('default' => __('Default', 'Avada'), 'no' => __('No', 'Avada'), 'yes' => __('Yes', 'Avada')),
__('Choose a parallax scrolling effect for the background image.', 'Avada')
);
?>
select( 'page_title_breadcrumbs_search_bar',
__('Breadcrumbs/Search Bar', 'Avada'),
array('default' => __('Default', 'Avada'), 'breadcrumbs' => __('Breadcrumbs', 'Avada'), 'searchbar' => __('Search Bar', 'Avada'), 'none' => __('None', 'Avada')),
__('Choose to display the breadcrumbs, search bar or none.', 'Avada')
);
?>