Let me create a certain WordPress page pause for any couple of seconds before redirecting to the page the customer was on. The scenario is really a redirect page after effective submission of the form. It'll say 'form posted successfully' or even the like for any couple of seconds, after which redirect to the page the customer was on. The redirect is simply a simple browser back functionality --

<script type="text/javascript">history.go(-1);</script>

-- within the mind, that is easy to increase exactly that specific page having a custom area. But so what can I increase result in the page pause for any couple of seconds before returning? Keep in mind that this can be a WordPress site with a lot of posts and so i can't apply certain type of body onload redirect to a particular publish with window.location = "the-post-or-page-visitor-was-on";. I have to make use of the browser's back history to simply go ahead and take customer back -1 to whatever page or publish these were on, but simply pause for any couple of seconds before doing this.

Thanks.

Try [cde]:

window.setTimeout()