简体   繁体   中英

In WordPress, how can I push a button and redirect all my current visitors to another page?

I'm hosting a virtual event in BuddyPress and I want admins to be able to redirect all users who are viewing any number of specified pages, to a single page. It's an WordPress/browser version of the behavior that Zoom has for breakout rooms. Where the "host" can move attendees between locations on the platform.

I want to be able to do the same with WordPress visitors.

I've gotten close with a WP Plugin that is a "countdown timer" and the action when the timer hits zero is to redirect to another page. I want to do the same thing, on with "the push of a button" rather than at a specified time.

It sounds like you can simply do this with HTML using the anchor tag. Like this

<a href="/new-page">Redirect</a>

"redirect" is the text that will be visible to the user the /new-page will be the URL of the page you want to redirect.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM