function mapbox_pg_gsec_shortcode() { ob_start(); ?> Selected peoples: — Selected population: — Click an item to filter the map: 0 – No Evangelicals, Churches or Resources 1 – Less than 2% Evangelical, No Active Church Planting Activity 2 – Less than…Continue reading
function mapbox_arcgis_shortcode() { ob_start(); ?> Selected peoples: — Selected population: — Click an item to filter the map: Unengaged and Unreached (UUPG) Engaged yet Unreached (UPG) No Longer Unreached Show All People Groups Strategic Progress Index (SPI) –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
// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading
/** * WLM712: Safe ACF Options getter with prefix/suffix (+ shortcode). * Shortcode: [wlm712_acfopt field=”…” prefix=”…” suffix=”…” esc=”html|attr|url|none”] * Example: [wlm712_acfopt field=”contact_phone_number” prefix=’‘ suffix=’‘] */ if (!defined(‘WLM712_ACFOPT_VER’)) { define(‘WLM712_ACFOPT_VER’, ‘1.0.0’); add_action(‘init’, function () { // Only run if ACF is…Continue reading
function get_total_religion_rows() { global $wpdb; $table_name = “people_groups”; $param = get_field(‘ror’); // Gets the ACF field ‘ror’ from the current post if (!$param) { return ‘No ROR value found.’; } return number_format($wpdb->get_var($wpdb->prepare(“SELECT COUNT(*) FROM $table_name WHERE ROR = %s”, $param)));…Continue reading
google-site-verification=-jISe-Oe0cpvoUkE-I-AlGEIAzjdaSC50PUnVdPH7BYContinue reading