I’ve created 3 emergency levels – level 1 (minor) level 2 (imminent) level 3 (disaster) using true false fields. Level 1 – 2 work. If level 1 is true a top banner will appear on the home page with status message.
If level 2 is true, the emergency CPT posts will appear in the top section of the page. This way users don’t have to search for latest updates on what’s happening. This is usually reserved for situations where campus is about to shutdown for a tropical storm / hurricane (we’re on the gulf coast)
Level 3 is the tough one. If level 3 is true, the entire website needs to be locked down. I’m using function to temporarily redirect traffic to a minimal home page or a status page warning students and faculty to stay away.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users