function mapbox_lostness_shortcode() { ob_start(); ?> Click an item to filter the map: 0–99,999 100,000–999,999 1,000,000–9,999,999 10,000,000–99,999,999 100,000,000+ Show All Population (circle size) –Continue reading
function mapbox_frontier_shortcode() { ob_start(); ?> Click an item to filter the map: 0–99,999 100,000–999,999 1,000,000–9,999,999 10,000,000–99,999,999 100,000,000+ Show All Population (circle size) –Continue reading
function mapbox_pioneer_shortcode() { ob_start(); ?> Click an item to filter the map: 0–99,999 100,000–999,999 1,000,000–9,999,999 10,000,000–99,999,999 100,000,000+ Show All Population (circle size) –Continue reading
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
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
add_filter( ‘woocommerce_format_dimensions’, ‘rd_format_dimensions_with_labels’, 10, 2 ); function rd_format_dimensions_with_labels( $dimension_string, $dimensions ) { if ( empty( $dimensions ) || ! is_array( $dimensions ) ) { return $dimension_string; } $labels = [ ‘L’, ‘W’, ‘H’ ]; $values = array_values( $dimensions ); $unit…Continue reading
/* Plugin Name: Daily Cleanup with Report Description: Deletes all posts, categories, and tags daily and emails a summary. Version: 1.4 */ function delete_all_posts_categories_tags_with_report() { global $wpdb; // 🕒 Track last cleanup execution time update_option( ‘last_run_cleanup’, current_time( ‘mysql’ ) );…Continue reading