Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    What frontend functionality exactly is slowing down your site? If you don’t have any videos embedded on a page the most I would expect to see is the frontend CSS file in the header.

    Thread Starter ruddyred

    (@ruddyred)

    Yes that is exactly it. I wanted to remove the wp_enqueue_style callout from the php file, but I am doing something wrong because my site doesn’t respond well.

    Plugin Author Kyle Gilman

    (@kylegilman)

    I can’t imagine loading that tiny CSS file has any measurable effect on the speed of your site, but it can’t hurt to disable it. Just comment out line 1304 so it looks like this:

    //wp_enqueue_style( 'kgvid_video_styles', plugins_url("/css/kgvid_styles.css", __FILE__), '', $options['version'] );

    You’ll have to do that every time you update the plugin.

    Thread Starter ruddyred

    (@ruddyred)

    Yes thank you. I know its a very tiny file, but I want to lower the amount of calls to external css.

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

The topic ‘Disable front end functionality’ is closed to new replies.