Reassurance Message Above GiveWP Forms
Shows a short trust message with a padlock icon above every GiveWP donation form, for example about secure payments and where the money goes.
Opens WPIDE on
Code
$wpide_message = 'Your donation is processed securely. 100% of public donations fund our programmes.'; // Message text.
add_action( 'give_pre_form', function ( $form_id ) use ( $wpide_message ) {
echo '<p class="wpide-give-trust" style="display:flex;gap:.5em;align-items:center;font-size:.9em;margin:0 0 1em">'
. '<span aria-hidden="true">🔒</span> ' . esc_html( $wpide_message ) . '</p>';
} );
Notes
Change $wpide_message. Works with the legacy and multi-step form templates that run GiveWP's form hooks.
How to add this snippet
- Install WPIDE on your WordPress site (it is free) and open Code Snippets.
- Use snippet above adds it from the library in one click. Or copy the code into a new snippet with the same code type.
- It is added inactive: review the code and settings, then switch it on.