Maintenance mode?
Is there an easy way to put FluentCommunity in maintenance mode while doing upgrades? I tried a couple WordPress maintenance plugins but they don't stop FC access. I added some code that blocks access, including REST access, but it still displays the top and side menus. The maintenance notice text is shown in a popup error box that disappears after a few seconds. This is acceptable but I'd prefer to be able to block all access (no menus) and just display a notice instead of any FC content. I do have that part working for pages that use the FC Theme Compatibility function.
Thanks!
why not use page or site redirect to maintenance page? Since you are on maintenance, meaning its temporary, because I did this for someone, on her site as requested by her.
This process is better than writing complex code snippets, just to kill fc sidebars and menus.
Go to reading in wp settings, in Your homepage displays, Set your homepage to a maintenance page you created and save. People click your site it takes them to your maintenance page instead of your normal homepage.
You should have a 404 html or 404 WP Page, if you don't, create it. some wp themes have it automatically, pick from there.
Just my suggestion.
Thomas OatesΒ have you tried https://en-gb.wordpress.org/plugins/hkdev-maintenance-mode/ ? I use it on most sites and it should stop access.
There's also a plugin called "Under Construction" that I use when I need to pause the site to do some maintenance work on it.
