/** * Plugin Name: SEO Essentials (no ads, no bloat) * Description: Titels/meta/canonical/robots, OG/Twitter, JSON-LD (Organization/LocalBusiness, WebSite+SearchAction, WebPage/Article, Breadcrumbs, FAQ, HowTo), robots.txt, alt-fallback, noindex met sitemap-exclude. Inclusief instellingenpagina. * Version: 1.1.0 * Author: Jij */ if ( ! defined( ‘ABSPATH’…Continue reading
	 
	
	
		
	
	
		/** * Pixelsz Sitemap shortcode * Gebruik: [pixelsz-sitemap] * Opties (optioneel): * [pixelsz-sitemap types=”page,post” orderby=”title” order=”ASC” posts_per_page=”-1″ exclude_ids=”” exclude_cats=””] */ function px_simple_sitemap_shortcode($atts) { $atts = shortcode_atts(array( ‘types’ => ‘page,post’, // comma-gescheiden ‘orderby’ => ‘title’, // title | date | modified…Continue reading
	 
	
	
		
	
	
		add_filter( ‘pp_offcanvas_body_inner_wrap’, ‘__return_false’ );Continue reading
	 
	
	
		
	
	
		/** * Handle Meta (Facebook/Instagram Shops) checkout URLs * Format: /checkout?products=wc_post_id_123:2,wc_post_id_456:1&coupon=CODE */ add_action( ‘template_redirect’, function() { if ( isset( $_GET[‘products’] ) ) { // Ensure WooCommerce is loaded if ( ! function_exists( ‘WC’ ) || ! WC()->cart ) { return;…Continue reading
	 
	
	
		
	
	
		// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading
	 
	
	
		
	
	
		function aioseo_remove_trailing_slash_from_homepage( $entry, $post_id, $post_type, $entry_type ) { // Get the homepage ID $homepage_id = aioseo()->helpers->getHomePageId(); // Check if this is the homepage if ( $homepage_id && $post_id === $homepage_id ) { // Remove trailing slash from the URL if…Continue reading
	 
	
	
		
	
	
		add_filter( ‘aioseo_redirects_log_skip’, ‘redirects_log_skip’, 10, 2 ); function redirects_log_skip( $skip, $data ) { // Define a list of unwanted URLs $ignoreUrls = [ ‘/config.json’, ‘/home’, ‘/main’, ‘/server-status’, ‘/private’ ]; // Skip logging these URLs if they result in a 404 error…Continue reading
	 
	
	
		
	
	
		/** * PXLSZ – Toegankelijkheidsverbeteraar (A11y Booster) * Zet focus-UI, skiplinks, ARIA voor menu’s, toetsenbord-bediening, * reduced motion, link- en formulierverbeteringen, en utility-klassen. */ if (!defined(‘ABSPATH’)) exit; /* ========================================================= * 1) BASIS STYLES + UTILITY KLASSEN + REDUCED MOTION *…Continue reading