Javascript question - by writeonepub - on WordPress WooCommerce support

This topic has 7 replies, 3 voices, and was last updated 7 years, 11 months ago ago by Jack Richardson

  • Avatar: writeonepub
    writeonepub
    Participant
    April 2, 2016 at 21:15

    Hi, I am using the plugin JS & CSS Script Optimizer Options to move scripts to the bottom because my website loads very slowly.

    As a result I’ve lost the functionality of the 2nd menu, my newsletter pop-up and the ‘back to the top’ feature. Is there a workaround for this?

    If it will make my page load time increase, I’m fine with just getting the functionality of the 2nd menu back.

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 4, 2016 at 08:54

    Hello,

    Sorry, but you have to disable the plugin that is causing the issue.

    Best regards,
    Jack Richardson.

    Avatar: writeonepub
    writeonepub
    Participant
    April 5, 2016 at 15:56

    Which javascript files relate to the menu? Essentially I’m trying to move any javascript files to the bottom that don’t relate to the menu.

    Avatar: writeonepub
    writeonepub
    Participant
    April 6, 2016 at 16:35

    Which javascript files relate to the menu? Essentially I’m trying to move any javascript files to the bottom that don’t relate to the menu.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 6, 2016 at 16:55

    Hello,

    There are no javascript files for menu, there is script for mobile menu only in the file wp-content/themes/royal/js/etheme.js in line 1852.

    Regards,
    Eva Kemp.

    Avatar: writeonepub
    writeonepub
    Participant
    April 6, 2016 at 17:36

    So with that being said, do you have any idea why the menu would stop working when I move the javascript to the bottom?

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    April 7, 2016 at 08:33

    Hello,

    Please read this article http://www.wpbeginner.com/wp-tutorials/how-to-move-javascripts-to-the-bottom-or-footer-in-wordpress/ if you’re doing everything correctly.

    Best regards,
    Jack Richardson.

  • Viewing 7 results - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.