Load Template Files In Admin

/** * Load Charitable template files in the admin area. * * Some plugins or themes attempt to run shortcodes in the admin * area, which can cause a fatal error with Charitable. The core * plugin attempts to avoid…Continue reading

Add User Dashboard Menu

/** * By default, Charitable includes a User Dashboard menu, but * this is not automatically added unless the theme builds * in support for it. * * If you want to include the User Dashboard menu at the top…Continue reading

Email: Change Footer Text

/** * Filter the email footer text & link. * * @param string $text The default text. * @return string */ function ed_charitable_change_email_footer_text( $text ) { $text = ‘Your footer text’; $link = home_url(); return ‘‘ . $text . ‘Continue reading

Include Pending Donors

/** * By default, the Donors widget & shortcode will only include donors with * Paid donations. With this snippet, you can make sure that * donors with Pending donations are also included. */ function ed_include_pending_donors_in_donors_widget_shortcode( $query_args ) { $query_args[‘status’]…Continue reading

Change Donor Name Display

/** * Change the donors widget so only the first name and last name * initial of the donor are shown. * * @param string $name The name to be displayed * @param array $args Arguments passed to the donor-loop/donor.php…Continue reading

Allow Manual Donations Without Email

/** * Allow donors to be be added without an email address. * * Prior to Charitable 1.6, this was never permitted. As of Charitable 1.6, it’s possible * to support manual donations without an email address by using this…Continue reading