• Resolved Masha

    (@hellawhateva)


    Hi Jay, I’m trying to find how can I load car-deamon-header.php on cars-for sale page only? Currently it loads in wp_head on default and I find it too extra and slowing the page loads. I’d like to load scripts conditionally, I usually use deregister function, but can’t find how do i deregister car-deamon header, is there a hook for header only? or I found you have a filter in car-deamon.php on line 101 add_filter(‘wp_head’, ‘car_demon_header’);, can i set instead of wp-head car sales page ID? Problem is currently cars-for-sale is using archive-cars_for_sale.php and I have no idea where to find ID, please help!
    Thank you 🙂

    http://wordpress.org/extend/plugins/car-demon/

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Loading car demon header conditionally’ is closed to new replies.