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?
- Dropdown Toggle Split in Bootstrap Navwalker WordPress
- Starter Bootstrap and Custom Fonts
- Menu items description? Custom Walker for wp_nav_menu()
- How to define and link full path to css located at a random folder on header.php
- Sizing screenshot.png without losing aspect ratio
- Software for WordPress Theme and Plugin Development? [closed]
- When to use is_home() vs is_front_page()?
- What is the preferred way to add custom javascript files to the site?
- Get the blog page URL set in Options
- How to create .pot files with POedit?
- How do I get the theme URL in PHP?
- Why when I submit a form in wordpress it loads a 404 page though URL is correct
- What is the constant WP_USE_THEMES for?
- Worthwhile to restrict direct access of theme files?
- How Do I Protect My Premium WordPress App Theme from Copying?
- How to detect mobile devices and present them a specific theme?
- Using wp_add_inline_style without a stylesheet
- How to add posts to custom menus?
- WordPress Theme Preview Image
- How To extend WP_Customize_Control
- What is the difference between front-page.php and home.php? [duplicate]
- How can I get page slug
- Does the functions.php file ever get called during an AJAX call? Debug AJAX
- When to use _e and __ for the translation?
- What is a Theme textdomain?
- How to show a custom meta box on the “Quick Edit” screen?
- How to add CSS class to custom logo?
- How to add custom css file in theme?
- How important is it to enqueue a theme’s stylesheet?
- CSS not updating in browser when I change it
- Display Search Result Count
- wp_nav_menu(), how to change class?
- theme path in javascript file
- Is wp_is_mobile() effective?
- Display Menu Name using wp_nav_menu
- Making update notification functionality for my themes
- What questions do you ask when asked to give an estimate on theme development?
- How to remove dashicons.min.css from frontend?
- How do I remove a pre-existing customizer setting?
- Minimum Template Files for Theme Development
- What’s the difference between home.php and index.php?
- pass object/JSON to wp_localize_script
- get_template_part vs action hooks in themes
- Theme Activate Hook
- Solutions for generating dynamic javascript / CSS
- wp_redirect() – headers already sent
- Can I create my own “Recent Posts” widget or customize the existing one?
- Custom single template for a specific category
- how can I add an icon/image for a child theme?
- How can I add a URL field to the attachments window?
- The the_post_thumbnail without srcset?
- The proper way to include/require PHP files in WordPress
- Get the first image from post content (eg.: hotlinked images)
- after_setup_theme always runs
- When to use add_action(‘init’) vs add_action(‘wp_enqueue_scripts’)
- Getting failure when using filemtime() with wp_enqueue_style
- Do I actually need to link my theme’s style.css in the theme files
- Why is wp_head() creating a top margin at the top of my theme header?
- How to store widget fields data as an array?
- How do I add version control to my workflow?
- Using classes instead of global functions in functions.php
- WordPress API Menu/Submenu Order
- How can I display a menu on certain pages only?
- Enqueue a stylesheet for login page and make it appear in head element
- Adding a div to wrap widget content after the widget title
- How to insert a logo in the header?