get_var("SELECT COUNT(*) FROM {$wpdb->postmeta} WHERE meta_key = '_igny8_content_id'"); $igny8_content_count = $igny8_content_count ?: 0; // Get IGNY8 taxonomy term counts $clusters_count = 0; $sectors_count = 0; if (taxonomy_exists('igny8_clusters')) { $clusters_count = wp_count_terms(array('taxonomy' => 'igny8_clusters', 'hide_empty' => false)); if (is_wp_error($clusters_count)) $clusters_count = 0; } if (taxonomy_exists('igny8_sectors')) { $sectors_count = wp_count_terms(array('taxonomy' => 'igny8_sectors', 'hide_empty' => false)); if (is_wp_error($sectors_count)) $sectors_count = 0; } // Check for one-time success notification $show_success = isset($_GET['connected']) && $_GET['connected'] === '1'; ?>