Get X – Force Hreflang en-CA

/** * 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

Get X – Clean RankMath Data Extractor

/** * 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

WPAllimport Status Translator

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

Plug-ins auto update instellingen activeren

/** * 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

/** * 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 + bellen

/** * 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

Security headers

// 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