After I upload the jQuery v1.11.3 in Custom JS, the whole theme options go missing

Hi, however, After I upload the jQuery v1.11.3 in Custom JS, the whole theme options go missing, so what should do now? Reset wp?

And next time when I want to upload some jquery code, is there anything I shouldn't do?

Thanks

Eric

Comments

  • Hello Eric,

    Don't you have any backup? If no, the best way will be to reset the record from database, all of the settings are stored in the database.

    If you are not familiar with searching in database, then the only way will be reset of wp.

    Also, you inserted whole code of jQuery 1.11.3 in that field?

    thanks

  • Yes, I upload the whole code and the problem appear. I want to know:

    1, what the version of jqurey of the lastest version?

    2, Next time when I want to use jquery, what should I do?

  • Please remove the code of jQuery you inserted completely, it's already included in wordpress.

    The whole wordpress is based on jQuery and you should not upload any other version that is installed on wordpress because of critical errors of whole software.

    Thanks

  • Thanks, how can I know the jquery version of the wordpress I'm using? And what should I do next time? Thanks

  • edited September 2022

    You have to enter into the Developer Tools of your browser and type into the console the "jQuery().jquery" command, it will return you actual version.


    Thanks

Sign In or Register to comment.
This website uses cookies

We use cookies to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners who may combine it with other information that you’ve provided to them or that they’ve collected from your use of their services.

Cookies are small text files that can be used by websites to make a user's experience more efficient.

The law states that we can store cookies on your device if they are strictly necessary for the operation of this site. For all other types of cookies we need your permission. This means that cookies which are categorized as necessary, are processed based on GDPR Art. 6 (1) (f). All other cookies, meaning those from the categories preferences and marketing, are processed based on GDPR Art. 6 (1) (a) GDPR.

This site uses different types of cookies. Some cookies are placed by third party services that appear on our pages.

You can at any time change or withdraw your consent from the Cookie Declaration on our website.

Learn more about who we are, how you can contact us and how we process personal data in our Privacy Policy.

Please state your consent ID and date when you contact us regarding your consent.