The [give_profile_editor] shortcode allows donors to customize their profile information on the frontend of your website.

Shortcode Explanation

The [give_profile_editor] shortcode is best inserted within an account management section or page of your website. This is because only users can edit their profile information. It would be a huge security issue otherwise.

NOTE: This shortcode is not added to a page automatically on install like the [give_receipt] or the [[donor_history]] pages are. You must create the page and add this shortcode manually.

If a non-logged in user views a page containing the shortcode they will see the following alert:

Profile Editor Shortcode Login Required Alert
Profile Editor Shortcode Login Required Alert

Shortcode Usage

Unlike other Give Core shortcodes, this one is not manually inserted into a newly created page on install. This is because the plugin does not depend on this shortcode to function properly and some site admins may not want to provide their users this functionality. Therefore, to use this shortcode you will need to manually create a page (recommended) and insert it. Please note, there are no additional options for this shortcode. Simply add  [give_profile_editor] and you will see:

Give Profile Editor
Give Profile Editor

Users can edit and update their profile fields on the frontend with the [give_profile_editor] properly in place.

Donor Fields versus WordPress User Fields

When a donor donates, Give automatically creates a new Donor Profile for that person whether they are logged-in to your website or not. But for those donors who have an account on your website, they can visit the page where you’ve entered the [give_profile_editor] shortcode and edit their basic information. Some of these fields are unique to donors, others are shared between both donors and generic WordPress users. Here’s how to understand that:

  • First/Last name and email address — these are shared between both your donor profile and WordPress user account. By updating the information here, you update them in both places.
  • Display name — this is unique to your WordPress user profile. Changing this here changes it in your WordPress profile as well.
  • Password — this is unique to your WordPress user profile. Changing this here changes it in your WordPress profile as well.