Display Vendor Policies on the Vendor Shop Page
By default, we only show the Vendor Policies on the Single Product Page. Please use the…
Full
import { useState } from 'react' import { Heart, Users, Play, Home, Search, User, Bell, ArrowRight,…
om.Iframes.init
document.addEventListener('om.Iframes.init', function(event) { console.log(event.detail.Iframes); console.log(event.detail.Campaign); } );
om.Html.append.after example use case
document.addEventListener('om.Html.append.after', function(event) { console.log('The ' + event.detail.Campaign.id + '-' + event.detail.Campaign.type + ' main container is…
om.Optin.error
document.addEventListener('om.Optin.error', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…
kindle
blog
Slide Reposition Right Center v2
html div#om-{{id}} { margin-right: -20px !important; height: 540px !important; top: calc(540px / 2) !important; bottom: calc(540px…
Add Custom Attributes and Group Them
// Step 1: Add your custom attribute(s) to a named group function add_custom_grouped_attributes( $attributes ) {…
Admin Functions for posts.
Make it easier to edit posts when viewing archives or single pages. Add page slug to…
om-translate-copied.js
document.addEventListener('om.Main.init', function (evt) { var Strings = evt.detail._utils.strings; // Replace ¡Copiada! below with the text you…
Remove Specific Campaign Based on the Referral URL-v1
document.addEventListener('om.Campaign.startShow', function(event) { if(document.referrer.search.indexOf('google.com') > 0) { // replace with the specific referral domain var optinCampaign…
Change "Bank Routing Number" fields to "Sort Code"
Use this code snippet to reformat the form to British banking details. Output: https://snipboard.io/mKSn9g.jpg Alternatively, you…
Link Featured Image to Post
Snippet for automatically link image to post
Disabling the Admin Bar for Non-Admin Users
add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }
Untitled Snippet
popup