select( 'width', __('Width (Content Columns for Featured Image)', 'Avada'), array('full' => __('Full Width', 'Avada'), 'half' => __('Half Width', 'Avada')), __('Choose if the featured image is full or half width.', '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') ); ?> select( 'project_desc_title', __('Show Project Description Title', 'Avada'), array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')), __('Choose to show or hide the project description title.', 'Avada') ); ?> select( 'project_details', __('Show Project Details', 'Avada'), array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')), __('Choose to show or hide the project details text.', 'Avada') ); ?> 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') ); ?> textarea('video', __('Video Embed Code', 'Avada'), __('Insert Youtube or Vimeo embed code.', 'Avada') ); ?> text( 'video_url', __('Youtube/Vimeo Video URL for Lightbox', 'Avada'), __('Insert the video URL that will show in the lightbox.', 'Avada') ); ?> text( 'project_url', __('Project URL', 'Avada'), __('The URL the project text links to.', 'Avada') ); ?> text( 'project_url_text', __('Project URL Text', 'Avada'), __('The custom project text that will link.', 'Avada') ); ?> text( 'copy_url', __('Copyright URL', 'Avada'), __('The URL the copyrighjt text links to.', 'Avada') ); ?> text( 'copy_url_text', __('Copyright URL Text', 'Avada'), __('The custom copyright text that will link.', '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( 'link_icon_target', __('Open Link Icon URL In New Window', 'Avada'), array('no' => __('No', 'Avada'),'yes' => __('Yes', 'Avada')), __('Choose to open the link in new window.', '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') ); ?>
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( 'display_header', __('Display Header', 'Avada'), array('yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')), __('Choose to show or hide the header.', 'Avada') ); ?> select( 'header_100_width', __('100% Header Width', 'Avada'), array('default' => __('Default', 'Avada'), 'yes' => __('Yes', 'Avada'), 'no' => __('No', 'Avada')), __('Choose to set header width to 100% of the browser width. Select "No" for site width.', 'Avada') ); ?> upload( 'header_bg', __('Background Image', 'Avada'), __('Select an image to use for the header background.', 'Avada') ); ?> text( 'header_bg_color', __('Background Color (Hex Code)', 'Avada'), __('Controls the background color of the header.', 'Avada') ); ?> text( 'header_bg_opacity', __('Background Opacity', 'Avada'), __('Controls the opacity of the header background when using the top position. Ranges between 0 (transparent) and 1 (opaque). ex: .4', 'Avada') ); ?> select( 'header_bg_full', __('100% Background Image', 'Avada'), array('no' => __('No', 'Avada'), 'yes' => __('Yes', 'Avada')), __('Choose to have the background image display at 100%.', 'Avada') ); ?> select( 'header_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') ); ?> false ) ); $menu_select['default'] = 'Default Menu'; foreach ( $menus as $menu ) { $menu_select[$menu->term_id] = $menu->name; } $this->select( 'displayed_menu', __('Main Navigation Menu', 'Avada'), $menu_select, __('Select which menu displays on this page.', 'Avada') ); ?>
select( 'sidebar_position', __('Sidebar 1 Position', 'Avada'), array('default' => __('Default', 'Avada'), 'right' => __('Right', 'Avada'), 'left' => __('Left', 'Avada')), __('Select the sidebar 1 position. If sidebar 2 is selected, it will display on the opposite side.', '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') ); ?>