Titel aanpassen archive page
function custom_category_title( $title ) { $title = str_replace( 'Archieven', 'Mijn gewenste titel', $title ); return $title;…
Register New Donation Field For Specific Campaign
Add a new donation field to your site, but only display it in the front-end donation…
MemberPress: Remove State Text Field
Removes the state text field from the registration and account pages if the country does not…
MemberPress: Disable the Default WordPress Password Reset Link E-Mail
If the "Disable Password Fields on membership registration forms" option is active in MemberPress settings (Dashboard…
Include Pending Donors
By default, the Donors widget & shortcode will only include donors with Paid donations. With this…
MemberPress: Changes Product Image on the Checkout Page
This code snippet changes the product image on the checkout page in MemberPress. By default, MemberPress…
Unhook Default Charitable Template Functions
In this example, we're going to remove the donor count from the campaign page, but you…
Add Currency
Add a new currency (the example here is Armenian Dram currency (AMD) ).
Do Not Hide Donor Fields For Logged In Users
Charitable hides the donor fields for users who are logged in and you can force shown…
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'…
Change Accepted Countries Per Campaign
This example shows how to change the accepted countries list on a per-campaign basis.
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…
Multipost Query Loop
This code snippet adds the ability to add multiple posts to the Generate Blocks Query Loop
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…