ESSBOptionsStructureHelper::field_switch_panel('display', 'positions-15', 'postbar_deactivate_progress', __('Deactivate read progress bar', ESSB3_TEXT_DOMAIN), __('Activate this option if you wish to deactivate display of read progress', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_switch_panel('display', 'positions-15', 'postbar_deactivate_title', __('Deactivate post title', ESSB3_TEXT_DOMAIN), __('Activate this option if you wish to deactivate display of post title', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_section_end_panels('display', 'positions-15');
ESSBOptionsStructureHelper::field_section_start_panels('display', 'positions-15', __('Activate additional components', ESSB3_TEXT_DOMAIN), __('Activate additional display elements', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_switch_panel('display', 'positions-15', 'postbar_activate_category', __('Activate display of category', ESSB3_TEXT_DOMAIN), __('Activate this option if you wish to activate display of category', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_switch_panel('display', 'positions-15', 'postbar_activate_author', __('Activate display of post author', ESSB3_TEXT_DOMAIN), __('Activate this option if you wish to activate display of post author', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_switch_panel('display', 'positions-15', 'postbar_activate_total', __('Activate display of total shares counter', ESSB3_TEXT_DOMAIN), __('Activate this option if you wish to activate display of total shares counter', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_switch_panel('display', 'positions-15', 'postbar_activate_comments', __('Activate display of comments counter', ESSB3_TEXT_DOMAIN), __('Activate this option if you wish to activate display of comments counter', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_switch_panel('display', 'positions-15', 'postbar_activate_time', __('Activate display of time to read', ESSB3_TEXT_DOMAIN), __('Activate this option if you wish to activate display of time to read', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_textbox_panel('display', 'positions-15', 'postbar_activate_time_words', __('Words per minuted for time to read', ESSB3_TEXT_DOMAIN), __('Customize the words per minute for time to read display', ESSB3_TEXT_DOMAIN), '', 'input60', 'fa-clock-o', 'right');
ESSBOptionsStructureHelper::field_section_end_panels('display', 'positions-15');
ESSBOptionsStructureHelper::field_section_start_panels('display', 'positions-15', __('Customize colors', ESSB3_TEXT_DOMAIN), __('Customize default colors of core components', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_color_panel('display', 'positions-15', 'postbar_bgcolor', __('Change default background color', ESSB3_TEXT_DOMAIN), __('Customize the default post bar background color (#FFFFFF)', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_color_panel('display', 'positions-15', 'postbar_color', __('Change default text color', ESSB3_TEXT_DOMAIN), __('Customize the default post bar text color (#111111)', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_color_panel('display', 'positions-15', 'postbar_accentcolor', __('Change default accent color', ESSB3_TEXT_DOMAIN), __('Customize the default post bar accent color (#3D8EB9)', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_color_panel('display', 'positions-15', 'postbar_altcolor', __('Change default alt text color', ESSB3_TEXT_DOMAIN), __('Customize the default post bar alt text color (#FFFFFF) which is applied to elements with accent background color', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_section_end_panels('display', 'positions-15');
ESSBOptionsStructureHelper::field_section_start('display', 'positions-15', __('Customize button style', ESSB3_TEXT_DOMAIN), __('', ESSB3_TEXT_DOMAIN));
$tab_id = 'display';
$menu_id = 'positions-15';
$location = 'postbar';
ESSBOptionsStructureHelper::field_select($tab_id, $menu_id, $location . '_button_style', __('Buttons Style', ESSB3_TEXT_DOMAIN), __('Select your button display style.', ESSB3_TEXT_DOMAIN), essb_avaiable_button_style_with_recommend());
ESSBOptionsStructureHelper::field_select($tab_id, $menu_id, $location . '_template', __('Template', ESSB3_TEXT_DOMAIN), __('Select your template for that display location.', ESSB3_TEXT_DOMAIN), essb_available_tempaltes());
ESSBOptionsStructureHelper::field_switch($tab_id, $menu_id, $location . '_nospace', __('Remove spacing between buttons', ESSB3_TEXT_DOMAIN), __('Activate this option to remove default space between share buttons.', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_switch($tab_id, $menu_id, $location . '_show_counter', __('Display counter of sharing', ESSB3_TEXT_DOMAIN), __('Activate display of share counters.', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_select($tab_id, $menu_id, $location . '_counter_pos', __('Position of counters', ESSB3_TEXT_DOMAIN), __('Choose your default button counter position', ESSB3_TEXT_DOMAIN), essb_avaliable_counter_positions());
ESSBOptionsStructureHelper::field_section_end('display', 'positions-15');
essb_prepare_location_advanced_customization('display', 'positions-15', 'postbar');
$mobile_cache_plugin_detected = "";
if (ESSBCacheDetector::is_cache_plugin_detected()) {
    $mobile_cache_plugin_detected = __(' Cache plugin detected: ', ESSB3_TEXT_DOMAIN) . '<b>' . ESSBCacheDetector::cache_plugin_name() . '</b>';
ESSBOptionsStructureHelper::field_switch_panel('social', 'settings-9', 'topbar_contentarea', __('Activate custom content area', ESSB3_TEXT_DOMAIN), __('Activate that option to add an extra field with content.', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
$listOfOptions = array("left" => "Left", "right" => "Right");
ESSBOptionsStructureHelper::field_textbox_panel('social', 'settings-9', 'topbar_contentarea_width', __('Custom content area % width', ESSB3_TEXT_DOMAIN), __('Provide custom width of content area (default value if nothing is filled is 30 which means 30%). Fill number value without % mark - example 40.', ESSB3_TEXT_DOMAIN), '', 'input60', 'fa-arrows-h', 'right');
ESSBOptionsStructureHelper::field_select_panel('social', 'settings-9', 'topbar_contentarea_pos', __('Custom content area position', ESSB3_TEXT_DOMAIN), __('Choose your content area alignment', ESSB3_TEXT_DOMAIN), $listOfOptions);
ESSBOptionsStructureHelper::field_section_end_full_panels('social', 'positions-8');
ESSBOptionsStructureHelper::field_wpeditor('social', 'settings-9', 'topbar_usercontent', __('Custom content', ESSB3_TEXT_DOMAIN), '', 'htmlmixed');
//ESSBOptionsStructureHelper::field_section_end('display', 'positions-8');
essb_prepare_location_advanced_customization('social', 'settings-9', 'topbar');
// bottom bar
ESSBOptionsStructureHelper::field_heading('social', 'settings-10', 'heading1', __('Display Position Settings: Bottom bar', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_section_start_panels('social', 'settings-10', __('Bottom bar appearance', ESSB3_TEXT_DOMAIN), __('Use to fit the buttons to the style of your footer area.', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_textbox_panel('social', 'settings-10', 'bottombar_top_onscroll', __('Appear after percent of content is viewed', ESSB3_TEXT_DOMAIN), __('If you wish bottom bar to appear when user starts scrolling fill here percent of conent after is viewed it will be visible.', ESSB3_TEXT_DOMAIN), '', 'input60', 'fa-arrows-v', 'right');
ESSBOptionsStructureHelper::field_textbox_panel('social', 'settings-10', 'bottombar_hide', __('Hide buttons after percent of content is viewed', ESSB3_TEXT_DOMAIN), __('Provide value in percent if you wish to hide float bar - for example 80 will make bar to disappear when 80% of page content is viewed from user.', ESSB3_TEXT_DOMAIN), '', 'input60', 'fa-sort-numeric-asc', 'right');
ESSBOptionsStructureHelper::field_section_end_panels('social', 'settings-10');
ESSBOptionsStructureHelper::field_section_start_panels('social', 'settings-10', __('Background color', ESSB3_TEXT_DOMAIN), __('Change default background color of bottom bar (default is white #FFFFFF).', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_color_panel('social', 'settings-10', 'bottombar_bg', __('Choose background color', ESSB3_TEXT_DOMAIN), __('', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_textbox_panel('social', 'settings-10', 'bottombar_bg_opacity', __('Change opacity of background color', ESSB3_TEXT_DOMAIN), __('Change default opacity of background color if you wish to have a semi-transparent effect (default is 1 full color). You can enter value between 0 and 1 (example: 0.7)', ESSB3_TEXT_DOMAIN), '', 'input60');
ESSBOptionsStructureHelper::field_section_end_panels('social', 'settings-10');
ESSBOptionsStructureHelper::field_section_start_panels('social', 'settings-10', __('Bottom bar width, height & placement', ESSB3_TEXT_DOMAIN), __('', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_textbox_panel('social', 'settings-10', 'bottombar_height', __('Height of top bar content area', ESSB3_TEXT_DOMAIN), __('Provide custom height of content area. Provide number value in pixels without the px (example 40). Leave blank for default value.', ESSB3_TEXT_DOMAIN), '', 'input60', 'fa-arrows-v', 'right');
ESSBOptionsStructureHelper::field_textbox_panel('social', 'settings-10', 'bottombar_maxwidth', __('Max width of content area', ESSB3_TEXT_DOMAIN), __('Provide custom max width of content area. Provide number value in pixels without the px (example 960). Leave blank for full width.', ESSB3_TEXT_DOMAIN), '', 'input60', 'fa-arrows-h', 'right');
$listOfOptions = array("left" => "Left", "center" => "Center", "right" => "Right");
ESSBOptionsStructureHelper::field_select_panel('social', 'settings-10', 'bottombar_buttons_align', __('Align buttons', ESSB3_TEXT_DOMAIN), __('Choose your content area alignment', ESSB3_TEXT_DOMAIN), $listOfOptions);
ESSBOptionsStructureHelper::field_section_end_panels('social', 'settings-10');
ESSBOptionsStructureHelper::field_heading('social', 'settings-10', 'heading4', __('Bottom bar custom content settings', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_section_start_full_panels('social', 'settings-10', __('Bottom bar content settings', ESSB3_TEXT_DOMAIN), __('', ESSB3_TEXT_DOMAIN));
ESSBOptionsStructureHelper::field_switch_panel('social', 'settings-10', 'bottombar_contentarea', __('Activate custom content area', ESSB3_TEXT_DOMAIN), __('Activate that option to add a close sidebar button.', ESSB3_TEXT_DOMAIN), '', __('Yes', ESSB3_TEXT_DOMAIN), __('No', ESSB3_TEXT_DOMAIN));
$listOfOptions = array("left" => "Left", "right" => "Right");
ESSBOptionsStructureHelper::field_textbox_panel('social', 'settings-10', 'bottombar_contentarea_width', __('Custom content area % width', ESSB3_TEXT_DOMAIN), __('Provide custom width of content area (default value if nothing is filled is 30 which means 30%). Fill number value without % mark - example 40.', ESSB3_TEXT_DOMAIN), '', 'input60', 'fa-arrows-h', 'right');
ESSBOptionsStructureHelper::field_select_panel('social', 'settings-10', 'bottombar_contentarea_pos', __('Custom content area position', ESSB3_TEXT_DOMAIN), __('Choose your button alignment', ESSB3_TEXT_DOMAIN), $listOfOptions);
ESSBOptionsStructureHelper::field_section_end_full_panels('social', 'settings-10');