Deregistered jquery and now the function is not working

This topic has 3 replies, 2 voices, and was last updated 4 months, 2 weeks ago ago by Andrew Mitchell

  • Avatar: patrickjanko
    patrickjanko
    Participant
    June 8, 2024 at 09:30

    Hi there,

    For speed optimization the site I deregistered the jquery function with this code:

    function my_jquery_enqueue() {
    wp_deregister_script( ‘jquery’ );
    }

    Is there a way to register it again?

    maybe with this:

    function my_jquery_enqueue() {
    wp_register_script( ‘jquery’ );
    }

    Thanks,
    Patrick

    2 Answers
    Avatar: patrickjanko
    patrickjanko
    Participant
    June 8, 2024 at 09:54

    It’s working again.

    Thanks,
    Patrick

    Avatar: Andrew Mitchell
    Andrew Mitchell
    Support staff
    June 8, 2024 at 09:54

    Dear patrickjanko,

    We hope you’re reveling in the experience our theme brings! Your enthusiasm is what fuels our passion. Would you be so kind as to channel that energy into a 5-star rating on ThemeForest? Your feedback is the spark that lights our way!

    Click here to spread the love: https://themeforest.net/downloads

    Thank you for being an integral part of our journey!

    Best Regards,
    The 8Theme Team

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

The issue related to '‘Deregistered jquery and now the function is not working’' has been successfully resolved, and the topic is now closed for further responses

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