Your Time:
Our Time:

Deque css files and functions/javascript

  • Resolved
    Posted in: LinoFeast  
    • Topics: 4
    • Replies: 3
    • Total posts: 7
    sethbahookey
    Member
    November 10, 2014 at 7:24 am #5910

    Hey, so I’m pretty much done creating my website and I’m looking to optimize it. I am noticing when the site loads a lot of unnecessary CSS and javascript files are loading that I did not utilize at all. I’d also like to remove the testimonials and reservation section as well to speed things up. What is the actual code for doing this?

    I’ve tried something like this… wp_dequeue_style( ‘prettyPhoto’, get_template_directory_uri() . ‘css/prettyPhoto.css’ );} with no luck. I do have a child theme of this so am I typing in the wrong commands?

    Please let me know because the theme is rather bulky with all these ‘features’.

    Thanks,
    Seth

    Sorry, this forum is for verified users only. Please Login or Register to continue

Comments are closed.