MemberPress: Classic Editor Fix for Courses

This code snippet will enable the default (Gutenberg) Block editor for MemberPress Courses in cases where…

MemberPress: Enable Phone Number Collection on Stripe Checkout

This code snippet enables the phone number field on the Stripe Checkout form, allowing Stripe to…

CSS for Header

This snippet adds Google Analytics tracking code to the header of the site

MemberPress: Exclude Protected Posts From the Main Query

This code snippet modifies the main WordPress query to exclude all posts related to the specified…

WordPress Trending Posts | Popular Posts Ticker Shortcode

Showcase your trending content with this scrolling WordPress ticker. Shortcode: [trending_postss count=5] Can change count as…

Force downloadable checkbox to be checked on the vendor product editor

/** * Force downloadable checkbox to be checked using MutationObserver */ function force_downloadable_checkbox_checked() { ?>

om.Html.append.after

document.addEventListener('om.Html.append.after', function(event) { // This event is passed the Campaign object console.log(event.detail.Campaign); // This event is…

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

1 83 84 85 86 87 213