MemberPress: Add Shortcode To Output the User’s Subscription Expiration Date

Adds the following shortcode: [mepr-sub-expiration membership=' ']. The shortcode will output the expiration date of the…

Display both published and modified date

‹?php // Code from codewp.ai function codewp_display_dates( $content ) { if(get_post_type() != 'post') { return $content;…

Back to Top Button (copy)

Add a simple button to scroll back to top on the frontend.

MemberPress: Free-Views-Used Counter

This code will add the counter notification showing users how many free views of the paywall…

MemberPress: Display Custom Field Value Instead of Customer Name in PDF invoice

This code snippet automatically adds the custom field value or the customer's full name at the…

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…

MemberPress: Replace Font-Family for PDF Invoice

To replace the font-family used for PDF invoices, font files need to be uploaded to a…

MemberPress: Change the Member’s User Role After a Specific Membership Subscription Cancelation

The code automatically changes the member's user role once the subscription is canceled. This will be…

index.php

Index page for STAR

MemberPress: WooCommerce - Show Protected Products on the Shop Page

If we protect products using Rules, they won’t show in the Shop page. To change this…

MemberPress: Set the order of payment methods

This code lets you set the order that the payment gateways that appear on the MemberPress…

eaglegame

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

MemberPress: Auto Expand Coupon Field

By default, the coupon field is hidden on the MemberPress registration forms. Instead, users will see…

1 15 16 17 18 19 29