Thats a good idea! I’ll add it to the next version.
Let me backtrack – I didn’t add this as a feature. There are a couple of ways to do this.
1) You could put a script in your acknowledgement message:
Thank you! Your data has been submitted. <script language="javascript">setTimeout('location.replace("YOUR_URL_HERE")', 3000); </script>
2) You could make a custom summary template. You could use a page slug, or just replace the URL in the script. Paste the following in a php file and upload it to /templates/:
<?php
/*
Template Name: Auto-Redirect ('PAGE_SLUG_HERE')
Template Type: email, summary
//////////////////////////////////////////////////////////////////////////////////////////
*/
$pageURL = "#";
$page = get_page_by_path("sample-page");
if($page)
$pageURL = get_permalink($page->ID);
?>
SHOULD REDIRECT IN 3 SECONDS
<script language="javascript"><!--
setTimeout('location.replace("<?php echo $pageURL; ?>")', 3000);
//-->
</script>
but to add it as a feature i would rethink it …
maybe to put this in the plugin settings in a text form next to the “Thank you! Your data has been submitted.” part
so its one there if somebody wish to use it
because I really wouldnt find out this code by myself
thx
and in few weeks or month I really will forget this code so if you need it it would be great to have it directly inside WP instalation
Okay… you’ve got me convinced. I’ll include it in the next update.
π thx you are the best