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(…
Typography Enqueue
function typography_enqueue_styles() { // Enqueue Typeboost.css from Cloudflare CDN wp_enqueue_style('typeboost-css', 'https://cdnjs.cloudflare.com/ajax/libs/typeboost/1.0.0/typeboost.css', array(), '1.0.0'); // Enqueue webfontloader.js…
PRINT WP POST
Add this to print WP posts. It's very basic but it works beautifully.
Untitled Snippet
https://www.profitableratecpm.com/q3ciimr5?key=e42c7e9e69252ed7f29c91bb2799a491
Dynamic logo sizing
Fix the issue where changing the logo size in the block editor breaks it. Dynamically adjust…
Show the products column on the WooCommerce orders list
https://snipboard.io/IF1SpU.jpg
Yeah 👍 The Google Tag
Its awesome
LifterLMS_DIR_AC_SYNC - LifterLMS Content Sync Engine - Comprehensive Data Version
* LifterLMS Content Sync Engine - Comprehensive Data Version * Syncs courses ONLY with ALL related…