/** * WPForms Custom Real-time Keyword Blocklist * * @link https://wpforms.com/developers/add-a-real-time-keyword-blocklist-to-a-single-line-text-field/ */ function wpf_dev_realtime_keyword_blocker() { ?>Continue reading
//* Filtramos el asunto del email para que llegue sin caracteres raros add_filter(‘wp_mail’, function ($atts) { $atts[‘subject’] = html_entity_decode($atts[‘subject’]); return $atts; });Continue reading
/** * Allow only specific days of each month in all WPForms date pickers. * * @link https://wpforms.com/developers/customize-the-date-time-field-date-options/ */ function wpf_dev_only_selected_days() { ?>Continue reading
/* Plugin Name: WC Vídeo na Capa do Produto (Flatsome Ready) Description: Substitui a imagem principal do produto por um vídeo local (MP4/WebM/GIF) no WooCommerce, compatível com Flatsome. Mostra também no catálogo/listagem com autoplay por visibilidade (60%). Version: 1.2.1 Author:…Continue reading
/* Zaa summary */ .product-footer .zaa-stl-wrapper .zaa-summary{ padding-left:0px !important; border-left-style:none !important; transform:translatex(0px) translatey(0px); } /* Zaa buy */ .zaa-stl-wrapper .zaa-summary .zaa-buy-btn{ min-width:10px !important; } /* Zaa buy */ #wrapper #main .shop-container .product .product-container .product-footer .container .zaa-stl-wrapper .zaa-summary .zaa-buy-btn{ width:100% !important;…Continue reading
if ( ! function_exists( ‘rd_currency_switcher_shortcode’ ) ) { function rd_currency_switcher_shortcode( $atts ) { if ( ! function_exists( ‘wc_get_currency_switcher_markup’ ) ) { return ”; } // Attributes (defaults) $atts = shortcode_atts( array( ‘flag’ => ‘true’, ‘symbol’ => ‘true’, ‘select_border’ => ‘true’,…Continue reading
/** * FIX: Oversized Admin Bar Sync Icons * Version: 1.1 (Safe for all WordPress sites) * * For WPCode: * – Code Type: PHP Snippet * – Location: Admin Only (or Run Everywhere) * – Auto Insert: Yes */…Continue reading
/** * OFS Internal Categories Protection * * Any product in a category whose slug starts with “internal-” * will be: * – Not purchasable * – Have no price shown * – Have no Add to Cart button/text on…Continue reading
if ( class_exists( ‘WooCommerce’ ) ) { add_filter( ‘gettext’, ‘rd_wc_generic_coupon_replacement’, 20, 3 ); add_filter( ‘ngettext’, ‘rd_wc_generic_coupon_replacement_plural’, 20, 5 ); /** * Singular + general replacements */ function rd_wc_generic_coupon_replacement( $translated, $original, $domain ) { // Only change front-end + Woo emails…Continue reading