Remove included js and css files from inappropriate pages

I have added forms form Contact forms 7 plugin to two tages at my website. But this plagin includes css and js files into all pages. For example at the page: bachelorarbeit in source code included:

<script type="text/javascript" src=""></script>
<link rel="stylesheet" id="contact-form-7-css"  href="" type="text/css" media="all" />
<script type="text/javascript" src=""></script>

How to remove this code from inappropriate pages?

Try this article on Loading JavaScript and Stylesheet only when it is Necessary. This refers specifically to the Contact Form 7 plugin. You might also find other help if you Google this, or do a search on the WordPress website.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.