You can load jQuery library using wp_enqueue_script.
jQuery library is registered by default, and the handle is ‘jquery’.
for more info check: Handles and Their Script Paths Registered by WordPress and the list at the end of wp_enqueue_script
Note: it is jquery (not jQuery)
code:
wp_enqueue_script( 'jquery');
Related Posts:
- ajaxurl not defined on front end
- Why does WordPress use outdated jQuery v1.12.4?
- How to include jQuery and JavaScript files correctly?
- jQuery in header or footer
- Hook the Keydown Event in the TinyMCE Post Editor
- Add a jQuery function to admin pages
- How to Add a .js file Only in one specific Page Dynamically to Head
- What is the difference between these two methods of writing $ instead of jQuery in WordPress [closed]
- Can I individually style items in the backend widget list?
- Password field is empty when using wp_signon();
- WordPress custom taxonomy check box to dropdown
- WP Plugin Running before jQuery
- 400 Bad Request, in wordpress theme development, wp_ajax
- Ajax: Populate with content from a post’s ID not working – duplicating current page html instead
- Data not insert and update through ajax and jQuery in admin page?
- Using function from enqueued .js file in theme in plugin?
- jQuery UI tab does not work in the plugin page
- Get cat parameter from admin-ajax
- 400 Bad Request and illegal invocation in wp_ajax based on processData set to false or true
- How to get the value entered in the input field in wordpres
- How react js and other Javascript Technologies works on WordPress plugin?
- How to get the path to the current theme?
- Is it possible to reuse wp.media.editor Modal for dialogs other than media
- How to add a javascript snippet to the footer that requires jQuery
- How do i best handle custom plugin page actions?
- Remove profile picture option (and other things) from profile.php (in admin)
- What is an alternative method to the WordPress private _doing_it_wrong() function
- Check for featured image in WP_Query
- Update exisiting site to 3.5 release candidate
- add_filter and remove_filter added before and after wp_query
- What is the difference between strip_tags and wp_filter_nohtml_kses?
- Create a clickable name in WP_List_Table for Plugin Admin
- Having Problem On Getting WP Post Gallery Images URL
- How to bundle a plugin with a theme, or vice versa
- How Can I setup WP CLI on Windows development machine running AMPPS?
- WP_LOCALIZE_SCRIPT doesn’t work
- Modify a Free Plugin available on wordpress.org & include with my Premium Theme? [closed]
- How to load the plugin only when logged in?
- Best choice of options/settings framework for plugin/theme development
- Is there any way to have Featured Text, as opposed to Featured Image?
- WP AJAX is not working, always returns 0
- StackExchange clone using WordPress?
- Sharing common functionality (functions, template parts) between plugins and themes?
- Add a panel to edit post
- Display content from custom post without modifying the single template
- Modify users.php page to create page/post on button clicked
- Can I change header.php of current theme through a plugin function?
- Problems with: manage_${post_type}_posts_columns
- Tried in different ways but sidebar not working?
- Short code not working in boostrap modal dont no why?
- How to hook a custom user function to a wordpress core ajax action?
- WP Gutenberg Blocks – How to limit first/root blocks
- How to add WordPress Admin “Insert Link” UI (searches through existing posts for URL) and functionality into a custom plugin?
- wp_filesystem put_contents issue with owner/group
- How can I replace content in the WP Admin area before an admin page is rendered?
- Following WordPress Markup Is mandatory, got awkward resultyby wordpress standard markup?
- How do I create plugin or theme using MVC pattern?
- PowerPress mobile media player
- When is the proper time to minify css and js with git workflow?
- How to Get Current Custom Post Type Associated Taxonomy Term
- Plugin templates vs Parent Theme
- Enqueue script globally
- Warning: include(): https:// wrapper is disabled in the server configuration by allow_url_include=0
- Can’t change the style of a submit input type? [closed]
- Custom entity search and display
- jquery & ajax sending data to php
- How to import the css in the plugin admin area?
- how to get the post id in plugin
- Issue on Setting $icon_url Parameter on WP add_menu_page()
- jquery in wordpress plugin with depdendency
- ajax working when function is on child theme but not in plugin page
- Ajax +wordpress onClick link redirect to new page and create html content
- How to replace settings in WordPress plugin from a theme
- Setting a post’s category
- How can the_excerpt (or equivalent) be called on a category description?
- How to access index file in Block Themes?
- How to show comments from different Plugins to same post type?
- Query String Filtering API
- Want to know how to reveal a WordPress theme, considering the theme name is hidden?
- Metabox types list
- WordPress Jquery with heade and footer sritp plugin
- I cant add is_admin control to plugin
- Replace “content-area” of themes 404 page with plugin?
- Autoloading & Namespaces in WordPress Plugins & Themes: Can it Work?
- Filterable posts using categories
- Redirect with message after admin_post.php
- How do I make two shortcode use the same id and increment it when I use them multiple times?
- WordPress function is not called and ajax return 0
- Post Pagination does not working on WP-Query
- How to CRUD from wordpress database in wordpress theme?
- Caption Shortcode: what filter to change the image size?
- Issue on Getting WP Gallery Items In cpt-single.php As Attachments
- Generate activation url
- WordPress Beginer to Guru [duplicate]
- Integrating WordPress Content into a jQuery Slider
- Gutenberg text field validation
- how to catch a data from a array in WordPress
- How are themes and plugins localized using the gettext GNU framework?
- Is there any other ways to replicating changes on live from staging without pushing from git
- Fetch Custom Woocomerce filed data and check the data avialble in Wp-user table as nicname or username using function.php