MemberPress: Override VAT Tax for the UK

By default, UK is included in the list of VAT countries in MemberPress. Thus, when VAT…

Change Campaign Rewrite To Not Use With Front

Customizes the definition of the campaign post type, setting the with_front option to false.

MemberPress: Disable Address Fields for a Specific Membership

Note: This code will not work if ReadyLaunch™ is enabled on the registration page. The code…

Untitled Snippet

/** * Convert Uploaded Images to WebP Format * * This snippet converts uploaded images (JPEG,…

MemberPress: Display Current User’s Memberships Statuses

This code snippet adds the new [mp_membership_status] shortcode. Adding this shortcode anywhere on the website displays…

archive-listings.php

Property Listings

HARUKI KAWAHATA
<10

Rerender PDF Viewer when embedded inside Kadence Blocks > Tabs for PDF Embedder Lite

When you add a PDF Embedder block or shortcode inside the Tabs block of the Kadence…

Bootstrap 5

// Add custom scripts function add_custom_script_bootstrap5() { wp_register_script( 'bootstrap5_js', 'https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.min.js', array(), '5.3.3', true ); wp_enqueue_script( 'bootstrap5_js'…

MemberPress: Reposition the Invoice Wrapper in the Registration Form

This code snippet will move the invoice section (.mepr-transaction-invoice-wrapper) of the registration form and position it…

WordPress - Display the Last Updated Date

Add the last updated date & time to your posts in the frontend.

AMP Auto Ads Script

Este script carga la librería de anuncios automáticos de Google AdSense en las páginas AMP.

PABLO PIQUERAS HELLIN
<10

Organization schema setup

This PHP snippet is for Organization schema (JSON-LD) that clearly says: “This site is published by…

<10

WPForms: add field description in notification HTML and plain text emails

With this snippet, you can add a field description in notification emails that are sent to…

eaglegame

const canvas = document.getElementById('game-canvas'); const ctx = canvas.getContext('2d'); class Character { constructor(name, x, y, width, height,…

1 18 19 20 21 22 29