button($option, $context, $opt_val, $meta);
break;
}
case 'color' : {
echo $wdwt_admin_elements->color($option, $context, $opt_val, $meta);
break;
}
case 'colors' : {
echo $wdwt_admin_elements->colors($option, $context, $opt_val, $meta);
break;
}
case 'checkbox' : {
echo $wdwt_admin_elements->checkbox($option, $context, $opt_val, $meta);
break;
}
case 'checkbox_open' : {
echo $wdwt_admin_elements->checkbox_open($option, $context, $opt_val, $meta);
break;
}
case 'diagram' : {
echo $wdwt_admin_elements->diagram($option, $context, $opt_val, $meta);
break;
}
case 'text' : {
echo $wdwt_admin_elements->input($option, $context, $opt_val, $meta);
break;
}
case 'layout' : {
echo $wdwt_admin_elements->radio_images($option, $context, $opt_val, $meta);
break;
}
case 'layout_open' : {
echo $wdwt_admin_elements->radio_images_open($option, $context, $opt_val, $meta);
break;
}
case 'number' : {
echo $wdwt_admin_elements->number($option, $context, $opt_val, $meta);
break;
}
case 'radio' : {
echo $wdwt_admin_elements->radio($option, $context, $opt_val, $meta);
break;
}
case 'radio_open' : {
echo $wdwt_admin_elements->radio_open($option, $context, $opt_val, $meta);
break;
}
case 'select' : {
echo $wdwt_admin_elements->select($option, $context, $opt_val, $meta);
break;
}
case 'select_open' : {
echo $wdwt_admin_elements->select_open($option, $context, $opt_val, $meta);
break;
}
case 'select_theme' : {
echo $wdwt_admin_elements->select_theme($option, $context, $opt_val, $meta);
break;
}
case 'select_style' : {
echo $wdwt_admin_elements->select_style($option, $context, $opt_val, $meta);
break;
}
case 'textarea' : {
echo $wdwt_admin_elements->textarea($option, $context, $opt_val, $meta);
break;
}
case 'text_preview' : {
echo $wdwt_admin_elements->text_preview($option, $context, $opt_val, $meta);
break;
}
case 'text_diagram' : {
/*this element is shown with slider*/
return false;
break;
}
case 'text_slider' : {
/*this element is shown with slider*/
return false;
break;
}
case 'textarea_slider' : {
/*this element is shown with slider*/
return false;
break;
}
case 'upload_single' : {
echo $wdwt_admin_elements->upload_single($option, $context, $opt_val, $meta);
break;
}
case 'upload_multiple' : {
echo $wdwt_admin_elements->upload_multiple($option, $context, $opt_val, $meta);
break;
}
default : {
echo __("Such element type does not exist!", "business-elite");
}
}
global $wp_customize;
if ( !isset( $wp_customize ) ) {
/* Output the setting description */
if(isset($option['description']) && $option['description'] != '' ){ ?>
$tab ) {
$tabsections = $tab['sections'];
foreach ( $tabsections as $sectionname => $section ) {
if ( 'wdwt_' . $sectionname . '_section' == $section_passed['id'] ) { ?>
".esc_html($tabtitle)."";
}
else {
$links[] = "".esc_html($tabtitle)."";
}
}
}
echo '
';
echo '';
foreach ( $links as $link )
echo $link;
echo '
';
echo $tabs[$current]['description'];
}
/*------------*//*------------*/
function wdwt_section_descr($wdwt_tab='general') {
switch($wdwt_tab){
case 'seo':{
$tab = '1';
$text = __('This section allows you to add meta keywords, metatags, titles. ', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/configuring-seo.html";
break;
}
case 'layout_editor':{
$tab = '2';
$text = __('This section allows you to make changes in default layout of the theme.', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/configuring-appearance/selecting-layout.html";
break;
}
case 'general':{
$tab = '3';
$text = __('This section allows you to make changes in your site and customize it in accordance to personal preferences.', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/configuring-appearance/configuring-general.html";
break;
}
case 'homepage':{
$tab = '4';
$text = __('This section allows you to make changes in post styles and customize your homepage appearance. ', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/configuring-appearance/appearance-homepage.html";
break;
}
case 'integration':{
$tab = '5';
$text = __('This section allows you to add integration codes in various areas of the site.', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/advanced-configuration/integration.html";
break;
}
case 'color_control':{
$tab = '6';
$text = __('This section allows you customizing certain color features in the theme. ', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/advanced-configuration/configuring-color-scheme.html";
break;
}
case 'typography':{
$tab = '7';
$text = __('This section allows you to change the font styles.', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/advanced-configuration/configuring-fonts.html";
break;
}
case 'slider':{
$tab = '8';
$text = __('This section allows you customize the slider. ', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/configuring-appearance/configuring-slider.html";
break;
}
case 'install_sample_data':{
$tab = '9';
$text = __('This section allows to add sample data.', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/installing-theme/demo-content.html";
break;
}
case 'featured_plugins':{
$tab = '10';
$text = __('This section displays plugins, which will help to increase the theme functionality', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/introduction.html";
break;
}
case 'lightbox':{
$tab = '11';
$text = __('This section allows you customize the lightbox. ', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/configuring-appearance.html";
break;
}
case 'themes_updates':{
$tab = '12';
$text = __('Available updates for the theme.', "business-elite");
$url = WDWT_HOMEPAGE . "/theme-guide/theme-maintenance/theme-updates.html";
break;
}
default :{
$tab = '';
$text = '';
$url = WDWT_HOMEPAGE . "/theme-guide/introduction.html";
}
}
$text =
'
'. __("User Manual.", "business-elite").'
'.esc_html($text) .'
' . __('More', "business-elite"). '...
'.wdwt_pro_banner().
'';
return $text;
}
/*------------*//*------------*/
function wdwt_pro_banner(){
$text =
'
';
return $text;
}
?>