Print Invoice – Fix Garbled Bold Japanese Text in PDFs

/** * Print Invoice & Delivery Notes: fix garbled bold Japanese text in PDFs * * WPCode: PHP Snippet, Insert Method “Auto Insert”, Location “Run Everywhere”. * * The plugin’s “Bold” font style setting emits CSS font-weight:600 * (includes/services/template/class-template-style.php:399), and…Continue reading

SupportCandy – WOO Order Field with Order Date and Total

/** * SupportCandy – WooCommerce: show order date and total in the “WOO Order” field (Refs #8048) * * WPCode: PHP Snippet, Insert Method “Auto Insert”, Location “Run Everywhere”. * * Replaces the source modification formerly made to * wpsc-woocommerce/includes/custom-field-types/class-wpsc-cf-woo-order.php…Continue reading

Untitled Snippet

Sabor Elegante | Recetas de Cocina Fáciles y Deliciosas 🍳 Sabor Elegante Inicio Recetas Nosotros Contacto Privacidad Cocina con Pasión Recetas fáciles, saludables y elegantes para todos los días Ver Recetas Espacio Publicitario 728×90 – Google AdSense Italiana Pasta Alfredo…Continue reading

Force Login to Delivery Site

/** * Require login for the front end, cache-safe. * Put in wp-content/mu-plugins/force-login.php */ add_action( ‘template_redirect’, function () { // Public exceptions. These go through normal caching. if ( is_page( array( ‘store-login’, ‘register’, ‘change-password’ ) ) ) { return; }…Continue reading

Código de widget de Klaviyo Reviews

function register_klaviyo_reviews_blocks() { // Register the blocks register_block_type( ‘klaviyo/product-reviews’, array( ‘editor_script’ => ‘klaviyo-block-editor-script’, ‘render_callback’ => ‘render_klaviyo_product_reviews’, )); register_block_type( ‘klaviyo/product-star-ratings’, array( ‘editor_script’ => ‘klaviyo-block-editor-script’, ‘render_callback’ => ‘render_klaviyo_star_ratings’, )); register_block_type( ‘klaviyo/featured-reviews’, array( ‘editor_script’ => ‘klaviyo-block-editor-script’, ‘render_callback’ => ‘render_klaviyo_featured_reviews’, )); register_block_type( ‘klaviyo/all-reviews’, array(…Continue reading