Display the Last Updated Date

Add the last updated date & time to your posts in the frontend.


Add the Page Slug to Body Class

Add the page slug to the body class for better styling.


Add an Edit Post Link to Archives

Make it easier to edit posts when viewing archives. Or on single pages. If you...


Change Excerpt Length

Update the length of the Excerpts on your website using this snippet.


Change Read More Text for Excerpts

Customize the "Read More" text that shows up after excerpts.


Add Fields

/** * Add fields to the registration form. * * @param array $fields * @return array…

Remove Login Form

/** * Remove the login prompt from being displayed before the donation form. */ function ed_remove_login_form_before_donation_form()…

Move Fields

/** * Move fields in the Donation Form. * * In the example below, we move…

Add Donate Button

/** * USAGE: * * To display a particular campaign's button, just add this to your…

Collect National Id Number

/** * Add a text field to the donation form. * * This field is added…

Redirect To Referer After Login

/** * After a user logs in, redirect them back to the page they * were…

Enable Block Editor For Campaigns

/** * The following code will modify the way the Campaign post type * is set…

Change Plugin Text

/* * A local translation snippet. Change 'YOUR TEXT HERE' to your desired text. * *…

MemberPress: Disable Admin Password Lost/Changed Email

Disable the MemberPress Admin email notification for password lost/changed.

Show Admin Bar

/** * By default, Charitable hides the admin bar from users * who do not have…

1 2 3 12