Categories subpage','ace'); $ace_help['ec3']=__('If you select this, Event Calendars deafult category will be displayed at ACE Dashboard -> Categories subpage','ace'); $ace_help['exclude_method']=__('Please choose an exclusion method for the widgets.','ace'); $ace_help['xsg_category']=__('If you choose one of these sections, the categories selected for exclusion in that section, will be exported into XML Sitemap Generator settings. So those settings will directly affect your sitemap generating. This is handy for SEO.','ace'); if (!empty($_POST['settings'])) { foreach ($ace_settings as $k=>$v) { if (!empty($_POST[$k])) { switch ($k) { case "xsg_category": $xsg_category = get_option("ace_settings_xsg_category"); $newvalue = mysql_real_escape_string($_POST[$k]); update_option("ace_settings_".$k,$newvalue); /** * If the section changed */ if ($xsg_category != $newvalue) { ace_xsg_update("",$newvalue); } break; case "exclude_method": $newvalue = mysql_real_escape_string($_POST[$k]); update_option("ace_settings_".$k,$newvalue); break; default: update_option("ace_settings_".$k,1); break; } } else { update_option("ace_settings_".$k,''); } } } if (!empty($_POST['cleanup'])) { $delete_query = "DELETE FROM ".$wpdb->options." WHERE option_name LIKE 'ace_%'"; $wpdb->query($delete_query); } foreach ($ace_settings as $k=>$v) { $$k = get_option("ace_settings_".$k); } reset($ace_settings); if (get_option("ace_settings_ec3") != "1" && get_option("ec3_event_category") != "") { $ec3Category = get_option("ec3_event_category"); } ?>

 - 

    $val): if (($key == 'ec3' && get_option("ec3_event_category") == "") || $key == 'xsg_category' || $key == 'exclude_method' ) continue; /* if the user has no event calendar than we hide that option */ ?>






  • $val): ?>






If you think, your ACE settings has been messed up. Click here, to everything, and start from scratch.