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(…

<10

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

om-disable-preload.js

document.addEventListener('om.Campaign.init.preload', function(event) { event.detail.Campaign.settings.preload = false; });

Lazy Load

add_action('wp_head', 'custom_lazyload_script'); function custom_lazyload_script(){ ?>

GravityView_DIR_AA_CPT - GravityView Views CPT Registration

* Description: Registers custom post type for GravityView with full REST API support * Location: Run…

ismail daugherty PRO
<10

WPCODE_DIR_AB_ACF - Fields for WPCode Snippets Sync

/** * WPCode Snippet: ACF Fields for WPCode Snippets Sync * Description: Registers ACF fields to…

ismail daugherty PRO
<10
1 99 100 101 102 103 224