• Hello everybody πŸ™‚

    At the moment i have quite a large header with a lot of files linked (due to the amount of plugins I have installed)…

    for example, I have the Custom Contact Forms plugin installed, and this puts 5 different linked documents in the head, even on the pages where the contact form is not being used:

    <link rel='stylesheet' id='ccf-jquery-ui-css'  href='http://www.MY-DOMAIN.com/wp-content/plugins/custom-contact-forms/css/jquery-ui.css' type='text/css' media='all' />
    
    <link rel='stylesheet' id='CCFStandardsCSS-css'  href='http://www.MY-DOMAIN.com/wp-content/plugins/custom-contact-forms/css/custom-contact-forms-standards.css' type='text/css' media='all' />
    
    <link rel='stylesheet' id='CCFFormsCSS-css'  href='http://www.MY-DOMAIN.com/wp-content/plugins/custom-contact-forms/css/custom-contact-forms.css' type='text/css' media='all' />
    
    <script type='text/javascript' src='http://www.MY-DOMAIN.com/wp-content/plugins/custom-contact-forms/js/custom-contact-forms-datepicker.js'></script>
    
    <script type='text/javascript' src='http://www.MY-DOMAIN.com/wp-content/plugins/custom-contact-forms/js/custom-contact-forms.js'></script>

    Now I feel like those linked documents should only be linked on the actual pages I use the contact form, so is there a way to remove them from the head when they are not needed?

    I’ve tried searching but I can only see to find results of people wanting to remove the actual header of a page, completely not what I’m wanting.

    Thank you in advance everybody!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Specific Header Elements Removed on Specific Pages’ is closed to new replies.