Answer the question
In order to leave comments, you need to log in
How to enable default jquery in wordpress
A very simple question. Please tell me how to include the default jquery and jquery migrate from the wp-includes folder. In the latest versions of WordPress, they are disabled by default. When you activate some plugins, they appear, but I do not need these plugins for this
Answer the question
In order to leave comments, you need to log in
Just like any other scripts, using wp_enqueue_script()
For example, the default Jquery is connected like this The Documentation
page describes in detail how to do this, and what are the names of the scripts that are already registered (Table at the bottom of the page)
wp_enqueue_script('jquery');
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question