MemberPress: Enabling Payment Receipt Email for Free Non-recurring Subscriptions
By default, MemberPress doesn’t send the payment receipt email for free non-recurring membership registrations. This code…
MemberPress: Generate Invoice Numbers for Zero Amount Transactions
This code snippet ensures invoice numbers are generated for transactions with zero amounts in MemberPress. By…
Divi Transparent menu above FullScreen Video
To make the top menu transparent and overlay the full-screen video background on your site, follow…
PRO DRIVERS PERSONAL EXERCISE HUB APP
THE SNIPPET IS CODING FOR AN APP ENTITLED PRO DRIVERS PERSONAL EXERCISE HUB. CREATED TO PROVIDE…
Categorias pai a negrito e lembrete para nao esquecer de prencher certos campos ao adicionar um produto
/** * Validação completa para produtos WooCommerce * Verifica preço, categoria, referência (SKU) e peso */…
MemberPress: Change Username Field’s Placeholder and/or Label of the Field on Login Page
document.addEventListener('DOMContentLoaded', function() { // Select the input element by its id var usernameInput = document.getElementById('user_login'); //…
om.Html.scripts
document.addEventListener('om.Html.scripts', function(event) { console.log(event.detail.Html); console.log(event.detail.Campaign); } );
om.Form.validate
document.addEventListener('om.Form.validate', function(event) { // ...custom validation code here if (validateError) { event.detail.Form.errors.validate.push('This is the error message')…
Ngăn WP cắt ảnh
add_filter('intermediate_image_sizes_advanced', function ($sizes) { $sizes = array( 'thumbnail' => $sizes['thumbnail'], // Giữ lại thumbnail 'medium' =>…
Slide Reposition Top Right v2
html div#om-{{id}} { top: 0px !important; bottom: unset !important; transition: top 0.3s ease 0s !important; }
Unified Product ID for Facebook Feed || WPML || PFE
function adt_wpml_unified_product_id( $product_data, $feed, $product ) { // Only run for Facebook dynamic remarketing feed if(…
Custom Tax Display Settings for Regular Prices by Specific Wholesale Roles
This code snippet will be applied to simple products on the single product page only