javascript error & merge CSS and JS files

Home Forums Kraft Theme Support javascript error & merge CSS and JS files

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38423
    EvaEva
    Member
    • Topics: 1
    • Replies: 2
    • Total: 3
    Member since: June 21, 2016

    There is a Javascript error on the pages without slider. How can this be avoided. How can I merge about 20 CSS and about 20 javascript files created from the theme? For Google page speed is not a good solution.

    #38464
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31035
    • Total: 31035
    Member since: August 16, 2013

    You can use minify CSS and Minify JS and Combine CSS and Combine JS functions using WP Fastest Cache plugin.

    Regards,
    Dave

    #40216
    EvaEva
    Member
    • Topics: 1
    • Replies: 2
    • Total: 3
    Member since: June 21, 2016

    Thank you, that’s a great plugin. Unfortunately, google fonts are not merged. The fonts are also written in the source code if they are not used. Can I change that?

    #40307
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Hmm unfortunately no.

    Will see if there is a way to include external fonts somehow within the theme itself.

    Regards,
    Shri

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.