prefix."category_ids";
$structure = "CREATE TABLE $table (
`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY ,
`cat_id` INT NOT NULL
) ENGINE = MYISAM ;";
$wpdb->query($structure);
}
add_action('activate_a-to-z-category-listing/atozlist.php', 'atoz_list');
?>
location.replace('".$main_url."/wp-admin/tools.php?page=a-to-z');
";
}
?>
prefix."category_ids";
$res_del = $wpdb->query($wpdb->prepare("TRUNCATE table ".$wpdb->prefix."category_ids"));
if(count($ids) > 0){
foreach($ids as $c_id)
{
//$qry = "INSERT into ".$wpdb->prefix."category_ids (cat_id) values($c_id);";
$rec = $wpdb->query($wpdb->prepare("INSERT into ".$wpdb->prefix."category_ids (cat_id) values($c_id)"));
}
}
}
?>
Exclude category
Select categories from the list which you do not want to view in the category listing.
=$limit) {
array_pop($excerpt);
$excerpt = implode(" ",$excerpt).'...';
} else {
$excerpt = implode(" ",$excerpt);
}
$readmore = ''.$readmore.'
';
return $excerpt.$readmore;
}
function atozlisting()
{
global $wpdb;
$url = get_bloginfo("url");
$nonce = wp_create_nonce('a-to-z-category-listing-ajax');
?>