You’ve tagged your question correctly with wp_enqueue_script but it doesn’t appear in your code so you are probably missing the jQuery library and bootstrap by the looks of it.
Try adding the following:
add_action('wp_enqueue_scripts', 'wp_add_jquery');
function wp_add_jquery () {
wp_register_script( 'my_jquery', 'http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js');
// Add your other scripts here (bootstrap, etc.)
}
Related Posts:
- WordPress core jquery version file not loaded?
- How can I defer these JS files?
- why jquery is not loading in wordpress page?
- ajaxurl not defined on front end
- How to include jQuery and JavaScript files correctly?
- How to Link External jQuery/Javascript files with WordPress
- Modified wp.media.view.Settings.Gallery in Backbone JS, but editing doesn’t work
- How do register_sidebar() and get_sidebar() work together?
- Best Practices for Seperating jQuery from HTML/PHP
- jQuery in header or footer
- using upload image with media_handle_upload .. but !
- Why isn’t is_home() working correctly?
- wp_nav_menu() custom container and container_id
- Show a WP 3.0 Custom Menu in an HTML Select with Auto-Navigation?
- What is the best practice for customizing a plugin’s JavaScript/jQuery?
- Can You Export Theme Settings From WordPress Multisite?
- WordPress Enqueue Script Chaos (jQuery & Foundation.js)
- Create a customizable child theme
- enqueue script on custom post type archive page
- Is it ok to not a have child theme and just create a theme from scratch?
- wp_enqueue_script being ignored in custom theme
- Getting jquery to work with custom theme
- How to properly add Bootstrap and JQuery Javascripts?
- Adding wp_enqueue_media(); causes problem
- How to correctly add JQuery in a WP theme?
- How to link external JavaScript files?
- Including Javascript options
- WP 3.1 upgrade breaks AutoFocus+ theme
- WP Northwind for Theme Development?
- Add more then one site logo – custom-logo theme support
- How to add “Read More…” link in twentytwenty
- Setting custom search engine indexing for a “dynamic WordPress page” with htaccess
- Difficulty loading jQuery with wp_enqueue_script
- title, content, feature images
- jQuery not available to other scripts
- Create another “Display Site Title and Tagline” checkbox, “Header Text Color” setting and control
- is_customize_preview() like function to check if Customizer “Live Preview” in JavaScript
- Using Fullscreenr with a wordpress blog – weird bug
- window resizing problem
- Understrap child theme JS not working in custom-javascript.js file
- How to create left and right menu with logo center in a custom theme?
- How to add custom page attributes in WordPress?
- How do I change the markup only of a built-in widget?
- jQuery for custom plugin not working with Divi theme
- Menu jumping when calling it via PHP
- Image LazyLoad plugin not loading jQuery dependancies with wp_enqueue_script in WP 3.3.1
- REQUIRED: Could not find wp_link_pages. See: wp_link_pages by Theme Checker
- Blog page problems
- Extend WordPress Core Classes in OOP Theme?
- WP Plugin Running before jQuery
- User bar above logotipo?
- Javascipt issue on custom theme
- Customizing the Widget content markup
- How to query details of images in gallery that is attached to a post
- Using function from enqueued .js file in theme in plugin?
- Showing Meta Box via Jquery Checkbox
- Problem with custom function from jQuery slider tutorial
- how or where wordress collect unlogged user session
- How to create social Share Buttons Without Plugin
- wp_enqueue_script JS code runs too late (after user begins interacting)
- I don’t think WordPress is loading jquery or bootstrap js
- Bootstrap and jQuery error: $ is not defined
- how can i remove js file from my footer in wordpress
- Trying to customise 2011 Child Theme Background Colour
- Highly stylized pages
- Lightbox not showing image caption
- Adding a drop-down (select tag) option under Menu Settings in WordPress Admin
- change background image on scroll
- Perform javascript when an input in Customizer is selected/focused?
- WordPress Customizer: Check for value of CSS selector and replace it
- Execute function with jQuery if widget added or removed?
- How to submit form data in the same page in WordPress without reloading the page?
- Bootstrap with separate js File
- Getting a jQuery library to work in WordPress & Avada
- How to disable jQuery tabs when customizing the theme
- A Customizer checkbox control that sets the setting to “” or to “blank” and show() or hide() a color control
- How do I get my theme scripts to load in a custom theme built from Bootstrap
- Customizing the built-in Media Playlist
- enqueue script if page is not equal to
- Search results load individual post in slide out div
- Post thats in Two Categories, only want to display name for one
- Adding css and js to a blank page created with custom template
- Theme now uses require.js and enqueue script no longer works
- Prevent posts from being published if the ‘Uncategorized’-category or no category is selected
- Modifying posts based on category in TwentyTwentyTwo theme
- Rearrange elements outputted by comment_form()
- How to build custom WP admin with custom URLs
- Custom editor field displaying HTML in Visual editor
- How to Change CSS Variable value in Theme Customizer Live Preview
- How to set default values for options page
- How to remove query string from static resource in WordPress?
- Add Custom API Call to WP-Login.php
- How do I change the element using a custom function?
- How to replace settings in WordPress plugin from a theme
- add jquery file if a certain page is included
- How can I resolve a .htaccess internal server error setting up a WordPress multisite?
- Product page not found if product data is set Appointment Service
- Page with some post value id showing page not found
- Adding more than one WordPress Gutenburg block type?
- JavaScript code do not works on online server