add_filter( ‘get_the_excerpt’, function( $excerpt ) { remove_filter( ‘the_content’, array( SiteOrigin_Panels::single(), ‘generate_post_content’ ) ); return $excerpt; } ); add_filter( ‘the_content’, function( $content ) { add_filter( ‘the_content’, array( SiteOrigin_Panels::single(), ‘generate_post_content’ ) ); return $content; }, 11 );Continue reading
/* * Snippet #36 (ID 35273): People Group Profile – CSS Class for matching religion to a color * Type: php * Status: publish * Location: 1 * Modified: 2025-07-28 17:52:37 */ function custom_rlgn_font_color_style() { if (is_singular()) { $rlgn =…Continue reading
/** * Snippet Title: PG Profile — Dig Deeper slider outside label fix * Description: Fixes unreadable percentage labels in the UAGB Counter Bars blocks * in the Religion and Language Dig Deeper sections on PG profile pages. * *…Continue reading
/** * Send Google Drive URLs to Google Sheets. * * Setup requirements: * – Entry storage ON (Disable storing entry information in WordPress = OFF) * – Purge Entries Automatically = ON, set to 1 day * – Google…Continue reading
/** * Plugin Name: MA Admin Quick Nav * Description: Admin Bar Quick Navigation for Post Types * Version: 2.0.2 * Author: Matthias Altmann * Author URI: https://www.altmann.de/ * Copyright: © 2024-2026, Matthias Altmann * Requires at least: 5.8 *…Continue reading
add_action(‘template_redirect’, function () { if (! is_front_page()) { return; } echoContinue reading
// Stap 1: Verwijder de standaard related products remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20 ); // Stap 2: Toon cross-sells aangevuld met related products tot totaal van 4 add_action( ‘woocommerce_after_single_product_summary’, function() { global $product; if ( ! $product || ! is_a( $product,…Continue reading