AI Verified
redirect user to a page
This will redirect a user to any page after 10 sec.
PHP
Voted: 2 by 2 user(s)
Change the http://example.com to the url you want to redirect to. This can be placed anywhere inside the page editor as a shortcode! You can change the time limit to more than 10 sec, but do not go less than 10 sec. It seem to start doing a load loop. This might because of caching plugins. Place this short code in any page in a short code block. [redirect_after_10_seconds]
Scroll down to see more snippets from this codevault.
The author has indicated that this snippet is compatable up to wordpress version: 6.1
Our AI bot has checked this snippet is compatable up to wordpress version: 6.1
Free & Pro
Download this snippet by clicking the download button, then head over to the Code Snippet Plugin settings in your wordpress admin dashboard, select the import menu then upload this file to import into your wordpress site.
Pro Only (Coming Soon)
You will be able to click a button and sync this snippet to your wordpress site automatically and from your dashboard manage all code snippets across all your wordpress sites that have the Code Snippets Pro plugin installed.
Last modified:
04/07/2024
This snippet has the following status:
AI Verified
This snippet has been tested by our AI bot, see any comments below.
AI Bot Comments:
Found 0 vulnerabilities
2
Please see some snippets below related to this snippet..
General
AI Verified
General
AI Verified
Added: 1 year ago
Last Updated: 11 months ago
Add content after wordpress defaut menu in mobile version (here)
General
Unverified
These are some popular snippets from this users codevault..
General
AI Verified
Added: 1 year ago
Last Updated: 3 days ago
This will redirect a user to any page after 10 sec.
General
AI Verified
Added: 11 months ago
Last Updated: 11 months ago
Here is a freebie. I wanted to show a username on a page or post after they are login. Mostly as a special thanks to them for signing up. This code works with code snippet and create a short code to b...
Category
Snippet Status