Add the page slug body class
snippet add slug
Move Campaign Summary Description Below Content
Shuffle the order of things on the campaign page.
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…
Change Donation Cancellation Url
Change the URL that donors are returned to when they cancel their donation.
Change Amount Donated
Change what amount is shown as donated for a particular campaign.
MemberPress: Redirect Users After Login Based on Roles
This code snippet customizes the login redirection in MemberPress based on user roles. Users with roles…
MemberPress: Customize Default WordPress Password Reset Request Email Body
This code snippet customizes the body of the password reset request email sent to users from…
MemberPress: Expire Subscription Immediately After Subscription Is Canceled
By default, canceling subscriptions prevents future charges, but it does not end existing subscriptions, which allow…
MemberPress: Change Stripe Checkout fields to match Dark Mode theme
Adjust the appearance of Stripe Elements form by changing the theme to 'night' if a user…
Add a “Rate this recipe” Tasty Recipes quick link
After applying this snippet, your new quick link should appear at the top of the recipe…
Set Fixed Donation Amount
Automatically set the donation amount and recurring period for donations.
MemberPress: Change Stripe Payment Description
Change the Stripe payment descriptor for non-recurring payments.
Post class update
add_filter( 'body_class', function( $classes ) { $acc_type=tmwp_get_user_role(); if (!$acc_type) $acc_type='anonymous'; return array_merge( $classes, array('acc-type-'.strtolower($acc_type),tmwp_get_page_class()) ); }…
MemberPress: Add a Shortcode To Display the Number of Total Downloads for All Files
Adds the following shortcode: [mepr-display-total-downloads]. When added to any page or post, the shortcode will display…