Redirect With Shortcode
Now easily redirects from a page, post or any custom post to any link or page. It redirect the user to the URL that defined in shortocde. You have part of optios likewise like content to appear, seconds and so on.
Its very usefull in Thank you / Order success pages, where website owner mostly required to return to home or other pages.
[pi_redirect url=’http://example.com’ sec=’5′ hide_text=’yes’]
url : Here you can add url where you want to redirect.
sec : After how many seconds you want to redirect. Add the time in seconds.
hide_text (optional): If you want to hide the text “Please wait while you are redirected …”. Use this option.
This option in optional, if you don’t want to hide text just don’t use it.
You can hide text if you don’t want to show
Very simple to use just add shortcode and you are done.
This plugin does not limit to redirect to same website, you can use other website link also.
Easily to add number of seconds to redirect.
You can change the text “Please wait while you are redirected …” , you can use your own text and many more.
This section describes how to install the plugin and get it working.
Upload plugin folder to the
Activate the plugin through the ‘Plugins’ menu in WordPress
[pi_redirect url='http://example.com' sec='5'] in page/posts OR
< ? php do_shortcode("[pi_redirect url='http://example.com' sec='5']"); ? > in your templates
Can i hide text “Please wait while you are redirected …”
Yes you can hide that by add option hide_text=’yes’ in shortocde.
Can i use this in templates?
Yes you can use in templates. e.g.