/* * Snippet #84 (ID 36531): People Groups of the World Mapbox code (ArcGIS API) Frontier (LPI0) * Type: php * Status: publish * Location: 1 * Modified: 2025-09-17 03:11:08 * * FIX 2026-08-09: queryBase pointed at a dead ArcGIS…Continue reading
/* * Snippet #85 (ID 36532): People Groups of the World Mapbox code (ArcGIS API) Pioneer (LPI1) * Type: php * Status: publish * Location: 1 * Modified: 2025-09-17 03:12:04 * * FIX 2026-08-09: queryBase pointed at a dead ArcGIS…Continue reading
/* * Snippet #86 (ID 36568): Countries of the World Mapbox map (shortcode) – Dying Daily – Percentages * Type: php * Status: publish * Location: 1 * Modified: 2025-09-17 03:14:15 * * FIX 2026-08-09: hardcoded Mapbox access token replaced…Continue reading
/* * Snippet #87 (ID 36598): People Groups of the World Mapbox code (ArcGIS API) GSEC * Type: php * Status: publish * Location: 1 * Modified: 2025-09-17 02:59:39 * * FIX 2026-08-09: queryBase pointed at a dead ArcGIS service…Continue reading
function fcbh_display_language_link() { global $wpdb; // Get the ACF field ‘rol’ from current post $post_id = get_the_ID(); $rol = get_field(‘rol’, $post_id); $language = get_field(‘lang’, $post_id); if (empty($rol)) { return ‘ No language code (ROL) found for this post. ‘; }…Continue reading
/* * Snippet #77 (ID 36410): Countries of the World Mapbox map (shortcode) – Dying Daily * Type: php * Status: publish * Location: 1 * Modified: 2025-09-17 03:10:13 * * FIX 2026-08-09: hardcoded Mapbox access token replaced with get_option(…Continue reading
function fcbh_display_language_link() { // Get the ACF field ‘rol’ from current post $post_id = get_the_ID(); $rol = get_field(‘ROL’, $post_id); //$language = get_field(‘lang’, $post_id); if ($rol) { $rol_value = esc_attr($rol); // Construct the Ninja Tables shortcode $ninja_shortcode = ‘[ninja_tables id=”36443″ filter=”‘…Continue reading
// Pull one random row from each framework category (L, G, C, M) function get_random_prayer_rows() { static $rows = null; if ($rows === null) { global $wpdb; $table = ‘prayer_requests’; // no prefix $frameworks = [‘L’, ‘G’, ‘C’, ‘M’]; $rows…Continue reading
function arcgis_field_shortcode($atts) { $atts = shortcode_atts(array( ‘field’ => ”, ), $atts, ‘arcgis_field’); if (empty($atts[‘field’])) { return ‘No field specified’; } // Get ISOa3 from current post $iso = get_field(‘ISOa3’); if (empty($iso)) { return ‘ISOa3 not set’; } // Build query…Continue reading
function get_filtered_ninja_table_shortcode() { if (isset($_GET[‘filter’])) { // Decode and trim the input $raw_input = urldecode(trim($_GET[‘filter’])); // Check for specific values before sanitizing if ($raw_input === ‘UPG’) { $search_term = ‘Engaged yet Unreached’; } elseif ($raw_input === ‘UUPG’) { $search_term =…Continue reading