Location: site_wide_header
Adsense
Adsense
Adsense
Set a Custom Email Header (copy)
/* Set a Custom Email Header * * Original doc: https://wpmailsmtp.com/docs/setting-a-custom-email-header/ */ function wpmsmtp_custom_mail_header( $args ) { if ( ! is_array( $args[ ‘headers’ ] ) ) { $args[ ‘headers’ ] = explode( “n”, str_replace( “rn”, “n”, $args[ ‘headers’ ] )…Continue reading
Untitled Snippet
WooCommerce Checkout Styling
/* ========================================================= Pinlisting – Native WooCommerce Checkout Block Styling Applies only to /checkout/ ========================================================= */ /* ———- Hide product description and custom option dump in checkout summary ———- */ body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-metadata, body.woocommerce-checkout .wc-block-components-order-summary-item__description .wc-block-components-product-details, body.woocommerce-checkout .wc-block-components-product-metadata, body.woocommerce-checkout .wc-block-components-product-details, body.woocommerce-checkout…Continue reading
Untitled Snippet
scroll-header
document.addEventListener(‘DOMContentLoaded’, function () { const headerRest = document.querySelector(‘.scroll-header-rest’); const headerHome = document.querySelector(‘.scroll-header-home’); let lastScrollY = window.scrollY; let isHeaderHidden = false; window.addEventListener(‘scroll’, function () { const currentScrollY = window.scrollY; // Runterscrollen: Header 1 ausblenden if (currentScrollY > lastScrollY && currentScrollY >…Continue reading