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
    Eva
    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
    Forum Moderator
    Participant
    • Topics: 0
    • Replies: 23366
    • Total: 23366
    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
    Eva
    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
    SKT Themes
    Keymaster
    • Topics: 8
    • Replies: 6705
    • Total: 6713
    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.