Checkout – Spaarbedrag shortcode + afhaalpunt fix

// Toon totaal spaarbedrag op basis van winkelmand in (FunnelKit) checkout function shortcode_spaar_bedrag_checkout() { // Controleer of WooCommerce actief is if ( ! function_exists( ‘WC’ ) || ! WC()->cart ) { return ”; } // FunnelKit laadt niet altijd als…Continue reading

Single product – Wasvoorschrift

function custom_woocommerce_attribute( $html, $attribute, $values ) { // Controleer of $attribute een object of string is if ( is_object( $attribute ) && method_exists( $attribute, ‘get_name’ ) ) { $attribute_name = strtolower( $attribute->get_name() ); } else { $attribute_name = strtolower( (string)…Continue reading

People Group Profile page generate shortcodes for ACFs – PROD LIBRARY

function get_people_groups_field_values($atts) { // Extract attributes $atts = shortcode_atts(array( ‘field_name’ => ”, ‘slug_output’ => ‘false’, ), $atts, ‘people_groups_fields’); // Get the current post ID $post_id = get_the_ID(); $output = ”; if (get_post_type($post_id) === ‘people_groups’) { // Debugging: Check if the…Continue reading

Countries of the World Mapbox map (shortcode) GSEC

function mapbox_gsec_map_shortcode() { ob_start(); ?> 0 – No Evangelicals, Churches or Resources 1 – Less than 2% Evangelical, No Active Church Planting Activity 2 – Less than 2% Evangelical, Concentrated Church Planting Activity 3 – Less than 2% Evangelical, Dispersed…Continue reading