om.Optin.init.submit example

document.addEventListener('om.Optin.init.submit', function(event) { // Grab the email address submitted by the user. const email = event.detail.Optin.data.fields.email;…

Slide Reposition Top Left v2

html div#om-{{id}} { top: 0px !important; bottom: unset !important; right: auto !important; margin-left: 20px !important; transition:…

Del 1

Intro + Bilkort + Søkefelt 

Ruben Frøland
<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-wp-plugin-load-in-head.php

// returning false will change the default location from footer to the head add_filter( 'optin_monster_api_loading_location', '__return_false'…

Convert headings to sentence case

If you like your headings in sentence case this works. No changes WP Database: if snippet…

Mapping WPForms Checkbox Values to ACF Checkbox Fields

This snippet uses the wpforms_post_submissions_process action hook to dynamically map WPForms checkbox submissions to ACF checkbox…

<10

Studex CM Main Menu

function homelink(){ $homelink = 'Home'; return $homelink;} function shoplink() { return 'Shop';} function discoverlink() { $discoverlink…

1 133 134 135 136 137 213