I have a question actually I have a website in which one of my friends is using too many scripts in the header & footer using header & footer plugin in WordPress so I just want to stop the functionality of plugin from backend files but I want to show plugin works perfectly on the front but stop from the back end is there any way to do this please help... Thanks.

  • Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking.
    – Community Bot
    Nov 23, 2021 at 18:01

1 Answer 1


One option would be to remove the Header & Footer plugin from the site, and instead use Google Tag Manager. GTM plugins should only insert scripts on the front end and not in the admin, and GTM itself has a separate dashboard where users can add and remove scripts, so no deployment is needed, just like with the plugin you're currently using.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.