Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Frank Goossens

    (@futtta)

    well, the widget clearly uses javascript, which is either inline or a js-file in the theme folder. just exclude that (and jquery, if the widget’s js depends on it) and you should be good to go.

    hope this helps,
    frank

    Thread Starter Oliver Nielsen

    (@oliver-nielsen)

    Hi Frank.
    Thanks, that solved the problem. Your plugin is one of the best wordpress plugins.

    I Have an additional question.
    I have to exclude jquery.js, jquery.min.js, and the theme js files to get the website works.
    Why cant we optimize js files?

    Plugin Author Frank Goossens

    (@futtta)

    Well, some javascript cannot be aggregated & moved to the footer, for example when it does documeent.write-s at the place where it is included. Other javascript can be aggregated, but has to be in the head-block. That’s why optimizing can be that … challenging.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘exclude a theme function’ is closed to new replies.