lukasjuhas / lj-maintenance-mode

Simple maintenance mode wordpress plugin.
https://plugins.itsluk.as/maintenance-mode/
24 stars 11 forks source link

Added support for widgets, custom stylesheet #40

Closed pnoeric closed 6 years ago

pnoeric commented 7 years ago

Hi Lukas-- I added just a bit of code to support widgets above or below the content, and a custom style sheet. (We use your plugin while a site is "Coming Soon," and often want to include a little newsletter signup widget. I could also see someone potentially wanting to add a video to their page.)

I also added the ability to inject a little code snippet on the page-- for example, Google Analytics tracking code.

In the spirit of keeping the code very simple and light, I tried to make the footprint of my changes as minimal as possible.

I also took the liberty of updating the README, changelog, etc with some new info in the FAQ section, info about the new filter, and a new version number (just trying to make it easier for you!). Of course feel free to ignore, rewrite or whatever.

Would love to hear your thoughts and hope you like my improvements.

best Eric Mueller - switchplus.ch

lukasjuhas commented 7 years ago

Hi Eric,

Thanks for your input! If you don't mind I will review later this month as I'll be away from tomorrow.

I had a brief look though, nice work.

I'll get back to you when I'm back. Thanks!

Lukas

pnoeric commented 7 years ago

Thanks Lukas, sounds good. 👍🏻

pnoeric commented 7 years ago

I've also just added support for the Analytify plugin, to automatically add the Google Analytics tracking code.

lukasjuhas commented 6 years ago

Hey @pnoeric, great work, thanks, I will go through the code and tidy up some of the bits if you don't mind, If I'll have any questions or suggestions, I'll let you know!

Sorry, it took me longer to get to this but I'm hoping to push 2.4 shortly.