Add WPCode Permalink Smart Tag
Add a custom smart tag for WPCode to output the value of the current page permalink.
Custom Cart Expiration
Sets the cart expiration to a custom value with database sessions. https://easydigitaldownloads.com/docs/edd_use_php_sessions/
Download Details Featured Image
Add the featured image to output of Download Details widget
Login Form Styling
Custom styling for login forms
Untitled Snippet
@ini_set( 'upload_max_size' , '120M' ); @ini_set( 'post_max_size', '120M'); @ini_set( 'max_execution_time', '300' );
Adjust Currency Symbols | Display Eventbrite Events
The Display Eventbrite plugin has a table that converts currency code to symbols. Sometime a user…
WordPress Typography Enhancement: Preventing Widows in Conten
This code is a WordPress filter designed to prevent "widows" in typography within the content displayed…
create_folder_and_upload_file
Creating a folder directly inside the WordPress Media Library through code requires understanding that the WordPress…
Maintenance Mode
Display a simple maintenance mode message for non-admin users.
om-nextjs14.js
'use client'; import { usePathname } from 'next/navigation'; import { useEffect, useState } from 'react'; export…
om-change-view.js
// Show the Yes/No view om{{id}}.changeView('yesno'); // Show the Optin view om{{id}}.changeView('optin'); // Show the Success…
And the Javascript to turn your HTML link into a MonsterLink v2
jQuery(document).ready(function($) { $('a[class*="campaign"]').addClass("manual-optin-trigger"); $('a[class*="campaign"]').attr("data-optin-slug", "pm6fnflhiocj7cge"); });
om-available.js
document.addEventListener('om.Campaign.load', function(event) { console.log(event.detail); } );