MemberPress: Pass a Member Phone Number to Stripe
This code will pass the phone number a member added to the membership registration form when…
MemberPress: Display MemberPress Course Progress Using Shortcode
This shortcode displays a user's progress for a specific course in MemberPress. It outputs a styled…
Add Gateway Donation Field
Enable an email tag for the gateway_label donation field.
Disable Author Archive
A small Code that disable the WordPress Author Archive and redirect to the Homepage
webfontloader.js
// Add custom scripts function add_custom_script_webfont_loader_js() { wp_register_script( 'webfontloader', 'https://cdnjs.cloudflare.com/ajax/libs/webfont/1.6.28/webfontloader.js', array(), '1.6.28', true ); wp_enqueue_script( 'webfontloader'…
Add Tag And End Date To Funded Campaign
Sometimes, it can be useful to do something special for campaigns that have been fully funded.
Change Accepted Countries Per Campaign
This example shows how to change the accepted countries list on a per-campaign basis.
Set Campaign Thumbnail Size
Set campaign thumbnails to have the same size.
Insert Template at the Bottom of the Mobile Menu
The following snippet can be used to insert a custom template in the bottom region of…
MemberPress: Changes Product Image on the Checkout Page (copy)
This code snippet changes the product image on the checkout page in MemberPress. By default, MemberPress…
add post formats
Adding different types of post formats: aside – Typically styled without a title. Similar to a…
Multipost Query Loop
This code snippet adds the ability to add multiple posts to the Generate Blocks Query Loop
MemberPress: Display Account Tabs Anywhere
This code registers a new shortcode: [mepr-account-links]. This shortcode can be used anywhere to display the…
Move Campaign Summary Below Content
Move the campaign summary block (funds raised, number of donors, etc) to below the extended description…