Real-time status display/changer

I aimed to create an admin page (b) featuring two buttons. The first button should trigger a “under maintenance” status display on the location page (a), while the second button should remove this status.

I attempted various approaches, including implementing CMS functionalities and toggling class visibility through code. However, using local storage isn’t feasible as the website will be live, and the status change needs to be immediately visible to all visitors after the button is clicked.

I’m exploring workarounds or plugins that facilitate a visual status changer without relying on local storage. Any suggestions or solutions that allow seamless status updates visible to all visitors upon button activation would be greatly appreciated.


Here is my site Read-Only: LINK
(how to share your site Read-Only link)