add_filter( ‘charitable_default_donation_fields’, function( $fields ) { if ( isset( $fields[‘title’] ) ) { // Remove from the donation form entirely $fields[‘title’][‘donation_form’] = false; } return $fields; }, 20 );Continue reading
function impBrandsArchive( $query ) { $query->set( ‘post_type’, [ ‘hot-tubs’, ‘swim-spas’, ‘saunas’ ] ); } add_action( ‘elementor/query/brands_archive’, ‘impBrandsArchive’ ); /** * Action: ‘rank_math/vars/register_extra_replacements’ – Allows adding extra variables. */ add_action( ‘rank_math/vars/register_extra_replacements’, function(){ rank_math_register_var_replacement( ‘dealer_currency’, [ ‘name’ => esc_html__( ‘Dealer Currency’, ‘rank-math’…Continue reading
function impDisplayARWrapperIframe() { $post_id = get_the_ID(); $product_ar = get_post_meta($post_id, ‘product_ar_iframe’, true); if(!empty($product_ar)) { $html_code = ‘‘; } else { $product_ar = get_post_meta($post_id, ‘ar_code’, true); $html_code = ‘‘; } return $html_code; } add_shortcode(‘display-ar-wrapper-iframe’, ‘impDisplayARWrapperIframe’); function impDisplayARWrapperIframeMassagechairs() { $post_id = get_the_ID(); $product_ar…Continue reading
/* * MS GROUP WEBSITE — VERSION B * JavaScript — Scroll Reveal Animations * ============================================================ * Uses IntersectionObserver to fade elements up on scroll. * In WordPress, this can be replaced with: * – Elementor entrance animations (built-in) *…Continue reading