Hi all
An update for anyone who finds this thread through search: you can redirect visitors after a successful Contact Form submission with a short snippet.
The widget shows its Success Message after the page reloads, so the snippet waits for that message and then sends the visitor to another URL. Add it as a PHP snippet with a plugin such as <a href="https://wordpress.org/plugins/code-snippets/" rel="nofollow ugc">Code Snippets</a>, or in your child theme's functions.php file:
[code lang="php"]BASE64_ENCODED:DQphZGRfYWN0aW9uKCAnd3BfZW5xdWV1ZV9zY3JpcHRzJywgZnVuY3Rpb24oKSB7DQoJLy8gT25seSBsb2FkIG9uIHRoZXNlIHBhZ2UgSURzLiBUbyBhZGQgbW9yZSBwYWdlcywgc2VwYXJhdGUgSURzIHdpdGggY29tbWFzOiBhcnJheSggMTIzLCA0NTYsIDc4OSApLg0KCWlmICggISBpc19wYWdlKCBhcnJheSggMTIzICkgKSApIHsNCgkJcmV0dXJuOw0KCX0NCg0KCXdwX3JlZ2lzdGVyX3NjcmlwdCggJ3Nvdy1jb250YWN0LXJlZGlyZWN0JywgZmFsc2UsIGFycmF5KCksIGZhbHNlLCB0cnVlICk7DQoJd3BfZW5xdWV1ZV9zY3JpcHQoICdzb3ctY29udGFjdC1yZWRpcmVjdCcgKTsNCgl3cF9hZGRfaW5saW5lX3NjcmlwdCggJ3Nvdy1jb250YWN0LXJlZGlyZWN0JywgIg0KCQlkb2N1bWVudC5hZGRFdmVudExpc3RlbmVyKCAnRE9NQ29udGVudExvYWRlZCcsIGZ1bmN0aW9uKCkgew0KCQkJaWYgKCBkb2N1bWVudC5xdWVyeVNlbGVjdG9yKCAnLnNvdy1jb250YWN0LWZvcm0tc3VjY2VzcycgKSApIHsNCgkJCQlzZXRUaW1lb3V0KCBmdW5jdGlvbigpIHsNCgkJCQkJd2luZG93LmxvY2F0aW9uLmhyZWYgPSAnaHR0cHM6Ly9leGFtcGxlLmNvbS90aGFuay15b3UvJzsNCgkJCQl9LCAzMDAwICk7DQoJCQl9DQoJCX0gKTsNCgkiICk7DQp9ICk7DQo=[/code]
Replace <code>123</code> with the ID of the page that contains your form.
Replace <code>https://example.com/thank-you/</code> with the page you want to send visitors to.
<code>3000</code> is the delay in milliseconds, so 3000 is three seconds.
The snippet is also in our docs, under <a href="/widgets-bundle/contact-form-widget/#heading-advanced-customizations" rel="nofollow ugc">Contact Form: Advanced Customizations</a>.
Kind regards
Andrew
| # | Наименование новости | Тональность | Информативность | Дата публикации |
|---|---|---|---|---|
| 1 | Comment on Never Lose a Contact Form Message with the Contact Log Addon by Andrew Misplon | 0 | 10.34 | 18-09-2026 |
| 2 | Comment on DEV: What a Wonderful WordPress by JWebDev | 0 | 7.3 | 06-10-2026 |
| 3 | X-post: A Note on Figma access | 0 | 11.43 | 18-09-2026 |
| 4 | Help test mini contributor sessions at WordPress Meetups | 0 | 9.45 | 17-09-2026 |
| 5 | X-post: WordPress Contributor Toolkit 1.2: One app for your first Core or Gutenberg contribution | 0 | 9.96 | 25-09-2026 |
| 6 | Reply To: Using Create theme with Site Origin page plugins | 0 | 17.17 | 01-10-2026 |
| 7 | X-post: Heads up: HelpScout to FreeScout Migration | 0 | 10.2 | 02-10-2026 |
| 8 | X-post: The AI-Powered WordPress course is now live on Learn WordPress! | 0 | 11.18 | 18-09-2026 |
| 9 | Best way to build a responsive multi-field booking form? | 0 | 6.38 | 01-10-2026 |
| 10 | Mobile Menu Help | 0 | 8.98 | 02-10-2026 |