I’m developing a maintenance mode plugin which will allow users to show a maintenance mode page for guest users.
So I’m forcing a template from the plugin via
template_redirecthook when maintenance mode is ON.
My issue is that, having
wp_footer()in my template causing big style issues from the themes and other active plugins. I’m thinking to remove both of them to avoid those conflicts.
In that case, I will have to hard-code the
<link rel="stylesheet">tags inside my custom template file. Is it okay to do that way in this case? I have heard they will not approve my plugin if we don’t use
Appreciate any help.
- The topic ‘Is the usage of wp_enqueue_scripts required for plugins?’ is closed to new replies.