Add a video field to the sign-up form
// Add the video field to the signup form. add_action( 'wcv_form_input_after__wcv_store_name', 'wcv_video_uploader'); function wcv_video_uploader( ){ //…
Force product type for all products
// Disable the product type drop down. add_filter('wcv_disable_product_type', function() { return true; } ); /** *…
mobile sticky menu chatgpt css
/* Reset some default styles */ body, h1, ul { margin: 0; padding: 0; } /*…
Set the Payment fields in the Sign Up form as required
Set the Payment fields in the Sign Up form as required - you can remove any…
HTML inside PHP
How to output HTML inside PHP.
Filter to send admin confirms | Quick Event Manager
add_filter('qem_registration_always_confirm_admin',,,1); This filter returns a Boolean to decide if an admin confirm is to be sent…
Disable Dynamic Template on the Homepage/Front-page
The following snippet can be used to remove the dynamic template assigned to all pages from…
Remove Unwanted Events | Display Eventbrite Events
Sometimes it is simplest to resort to code if you want to remove something from the…
Display both published and modified date
‹?php // Code from codewp.ai function codewp_display_dates( $content ) { if(get_post_type() != 'post') { return $content;…
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"); });