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
    Sonnal S SinhaSonnal S Sinha
    Moderator
    • Topics: 0
    • Replies: 30587
    • Total: 30587
    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
    Sonnal S SinhaSonnal S Sinha
    Keymaster
    • Topics: 10
    • Replies: 6964
    • Total: 6974
    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.