/** * Get X Media – Canada Hreflang (Output Buffering Method) * * @package GetXMedia_Hreflang * @author Get X Media * @version 3.0.1 */ if ( ! defined( ‘ABSPATH’ ) ) { exit; } /** * Inject hreflang tag into…Continue reading
/** * Clean RankMath Data Extractor – No Styling * Universal solution for extracting RankMath Local Business data * Works across any WordPress site with RankMath * Add to WP Code Snippets – PHP Snippet – Run Everywhere * *…Continue reading
//la form contatti non va altrimenti add_filter(‘wpcf7_recaptcha_threshold’, function() { return 0.25; });Continue reading
function normalize_status($status, $publish_date = ”) { // Normalize feed status $status_lower = strtolower(trim($status)); // Prefer WP’s notion of “now” and timezone $now_ts = current_time(‘timestamp’); // WP local time $pub_ts = $publish_date ? strtotime($publish_date) : false; // If we have a…Continue reading
/** * Activeer alle automatische updates (globaal), * maar laat zichtbare acties alleen draaien voor Pixelsz beheerders. */ if ( ! defined( ‘ABSPATH’ ) ) exit; /** * Hulpfunctie: check of huidige gebruiker een Pixelsz beheerder is */ function pixelsz_is_beheerder()…Continue reading
/** * WhatsApp Chatbox – auto open na 10s, mobiel compact venster + grotere tekst */ add_action( ‘wp_footer’, function() { ?> Chat met ons WhatsApp Chat × Hallo 👋Waarmee kunnen wij je helpen? VerzendContinue reading
/** * WhatsApp Chatbox – auto open na 10s, mobiel compact venster + grotere tekst */ add_action( ‘wp_footer’, function() { ?> Chat met ons Bel met ons WhatsApp Chat × Hallo 👋Waarmee kunnen wij je helpen? VerzendContinue reading
// Functie om beveiligingsheaders toe te voegen aan de WordPress-site function add_security_headers() { // X-Frame-Options: Voorkomt clickjacking door te voorkomen dat de site in een iframe wordt geladen header(‘X-Frame-Options: DENY’); // X-Content-Type-Options: Voorkomt MIME-type sniffing header(‘X-Content-Type-Options: nosniff’); // Referrer-Policy: Beperkt…Continue reading