# "What Happens Next" Box on GiveWP Receipts

> Adds a friendly box after the GiveWP donation receipt with next steps, such as following you on social media or sharing the campaign, to keep donors engaged.

- Type: PHP
- Runs: Run everywhere
- Category: [Plugin Integrations](https://wpide.com/library/category/integrations/)
- Tags: givewp, receipts, engagement
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/give-receipt-next-steps/

## Code

```php
$wpide_html = '<h3>Thank you!</h3><p>Your receipt is on its way by email. Want to do more? <a href="/volunteer/">Volunteer with us</a> or share this campaign with a friend.</p>';

add_action( 'give_payment_receipt_after_table', function () use ( $wpide_html ) {
    echo '<div class="wpide-give-next" style="margin-top:1.5em;padding:1em 1.25em;border-radius:6px;background:rgba(102,187,106,.12)">' . wp_kses_post( $wpide_html ) . '</div>';
} );
```

## Notes

Edit the HTML in $wpide_html; basic tags and links are allowed.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find ""What Happens Next" Box on GiveWP Receipts" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
