Easiest way would be to just grab an existing modal library and enqueue that to your theme. Bootstrap would work (although it would be excessive if you only need a modal window), just enqueue your bootstraps CSS and JavaScript files in your functions.php in your child theme and then you can create the appropriate classes for your modal window. Here are the WordPress codex references on enqueuing:
Related Posts:
- How to modify an image block in Gutenberg WordPress 5?
- What is the problem if I use CDN in my WordPress parent theme(built using bootstrap)?
- Excess White Space Above Admin Bar on Frontend Using Twitter Bootstrap
- How to Modify a Widgets UL and/or LI Classes
- customizing the_password_form filter
- Custom Theme Bootstrap
- Developing WordPress Theme using CSS framework like Bootstrap
- Bootstrap card columns change images size
- WP_bootstrap_Navwalker_issue [closed]
- How to create first post, fifth post full width, rest in three columns and so on
- Javascipt issue on custom theme
- Second menu has the first menu ID
- How to style bootstrap container in wordpress theme?
- is using the_posts_navigation() required?
- Adding Bootstrap to WordPress TwentySixteen Theme
- Bootstrap grid system is not working in my WordPress theme
- Full width featured thumbnail
- Why I obtain different visualization when I run the website on my local machine and on remote server?
- How to create a WP theme that use BootStrap? [closed]
- I don’t think WordPress is loading jquery or bootstrap js
- How do I keep my iframes responsive and scaled to fit their container?
- change background image on scroll
- two col layout bootstrap 4 with one fixed col and fade in effect on image
- style.css not being rendered in browser
- Displaying a specific sub-category’s posts from wp_query
- Full width thumbnail
- Code for creating three vertical columns in WordPress Bootstrap theme
- Theme Development for a Newbie
- How do I get my theme scripts to load in a custom theme built from Bootstrap
- Why the slideshow is not shown in my theme?
- WordPress Loop with Custom Post Type for Bootstrap Accordion [closed]
- How To add li class and a class wp_nav_menu() with bootstrap 5 navbar?
- Bootstrap 4 mobile menu not working for WordPress Development
- Is there any halfway decent documentation on the wp.media JS class?
- Making update notification functionality for my themes
- how to create a conditional content_width for a wordpress theme?
- Best practice for including plugins as part of a theme?
- Modular theme settings
- Where do I find the functions triggered within a hook?
- How to determine the current widget’s parent container (sidebar widget id)
- Setting up partial Right-to-Left admin interface
- Is it possible to display the admin bar while in the Theme Customizer?
- Pagination & get_pages?
- Custom nav menu is created with default pages, but not hooked to theme’s custom menu location
- How to pass code from header.php to footer.php
- Move my theme style.css into a folder
- How do I add a post to a menu
- Demo Import changes terms ids
- how to change WordPress menu markup/classes
- Best practices: Custom theme sidebar menu – hardcode or widget?
- Is it a good idea to make whole theme widgetized?
- How to get the URI to a theme without the domain. Example: /wp-content/themes/my-theme
- How to handle custom form submission?
- menu behavior is not as expected
- My custom theme does not load the translations
- A mystery 300px image size
- Custom Field returning Numerical Value for Image rather than URL
- which is the best way to customize nav-menu-template.php?
- wp-cli: For development, how can I activate a theme that is on the local disk but not zipped?
- How to make a local cache of mshots images
- Why is the Page Template dropdown menu using the wrong file name?
- Display a list of certain categories by ID
- 2 localizations inside a WordPress theme
- Child theme enqueue scripts using new functions
- Custom theme updater – random string in new theme name
- Show woocommerce categories on my theme menu styling
- How to Find the Page the Front Page is Using?
- My jQuery is enqueued properly. So why isn’t it working?
- Database Tables in WordPress Theme
- 3 Level Deep Navigation Menu Not Showing All Levels
- wp_enqueue_script not working?
- Random white space before doctype
- is_single() works in plugin, not in theme?
- Do I need to create a child theme for JointsWP
- why mytheme/single-product.php works but not mytheme/woocommerce/single-product.php
- theme-independent CSS/JS files
- What is the need for the static front page [closed]
- Do translation functions like __e() have to take strings in English in themes?
- License of the used Bootstrap Theme is not GPL compatible
- How to include posts with a theme
- Register a custom post type as public = false, but have content appear in search engines?
- Pagination don’t work with active filters
- Theme author.php transfer
- restrain filter on get_the_excerpt to queried item in stead of current post
- Theme has disappeared
- How to display only author’s name for the current post?
- WordPress displaying two different headers, one at top and one below footer
- Styling the website via the customizer – do the changes stay after theme update?
- Alt header logo and link for specific pages
- annoying “Confirm Form Resubmission” message
- How to destroy or dispose wordpress uploder/manager?
- How to show children pages as array
- wp_nav_menu custom walker class
- Changes to template not showing up unless ?reset=1 added to URL
- Enqueue Stylesheets After Theme’s “rtl.css”
- How do I keep images in posts below a certain size without editing the post?
- Is it possible to customize the layout of Gallery Shortcode?
- How can i use archive.php for indexing wordpress default posts?
- How can I add a single image from a gallery into the page header?
- ways to create customized theme (hard coded – no pagebuilder)