Display Ad - H Snippet
in between the tags of your pages
MemberPress: ACF - Exclude Protected Posts From ACF Repeater Field
The code snippet ensures that protected MemberPress posts are excluded from custom queries used in Advanced…
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…
MemberPress: Rearranging Navigation Items On The Account Page
This snippet reorders the Downloads and Subscriptions tabs before Payments tab on the Account page.
Change Amount Donated
Change what amount is shown as donated for a particular campaign.
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…
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.
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: Move "Upgrade" Button to after Subscriptions Tab
This code snippet creates a new tab positioned right after the Subscriptions tab on the MemberPress…
MemberPress: WooCommerce - Show Specific WooCommerce Product Based on MemberPress Subscription
This code snippet will show the specific WooCommerce product only to users who have an active…