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 Progress Bar Before Summary
Add a progress bar to the individual legacy campaign pages.
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…
MemberPress: Add Category Exception to All Post Rule
Add a category exception to the all posts rule instead of having to add the posts…
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…
MemberPress: Exclude Posts, Pages, Categories, or Tags from PayWall
Exclude specific posts, pages, categories, or tags from being viewed with the PayWall free views.
MemberPress: Export Account Type in CSV
Add the following code to add a new CSV export option for Corporate Accounts that includes…