SearchWP Modal Search Form
Use SearchWP Modal Search Form to easily integrate an accessible, lightweight modal search form into your WordPress website! SearchWP Modal Search Form does not require SearchWP but it will utilize SearchWP if it’s installed and activated! 👍
Contributions are welcome on GitHub! https://github.com/jchristopher/searchwp-modal-search-form/
Beyond the information made available in this
README there is full documentation available as well.
What makes it different than other modals?
The philosophy behind SearchWP Modal Search Form is to make it easy to implement accessible and lightweight modal search forms but perhaps even more important make it a great developer (and user) experience.
SearchWP Modal Search Form directly integrates with WordPress in the way you use it, and the default modal form theme builds upon the styles put in place by your active theme, making the overhead as small as possible. There’s a full template loader built in as well, allowing you to fully customize your SearchWP Modal Search Form with minimal hassle.
Check out the default template for an example of how easy it is to customize 🤓
Adding modal forms to your site
SearchWP Modal Search Form makes it easy to implement modal search forms anywhere in your WordPress website. The following methods are built in and available to you:
SearchWP Modal Search Form integrates a proper template loader for displaying search forms in any number of templates, allowing you to fully customize what the modal looks like per template.
The most straightforward way to create a custom template is as follows:
Create a folder named
searchwp-modal-form within your theme
Create a file within that folder named
template.php (or any name ending in
Copy the contents of the default template into that file
SearchWP Modal Form Name value in the header comment block
Make any other customizations you\’d like to the markup/style, paying attention to the documentation
Please review the full template documentation for more detailed information.
This plugin provides 1 block.
SearchWP Modal Search Form is installed like all WordPress plugins. You can install this plugin using the
Plugins > Add New entry in the Admin Menu when logged into your WordPress Dashboard and searching for
SearchWP Modal Search Form.
Alternatively, you can manually install the plugin as well:
the plugin and extract the files
searchwp-modal-form folder to your
Activate the plugin through the \’Plugins\’ menu in WordPress
Add one or more modal form(s) using the available methods
Of course! View full documentation
How do I add a modal form to my website?
There are multiple ways to add modal form triggers to your site. You can add as many as you’d like wherever you’d like:
How do I customize the modal?
Please review the full template documentation for detailed information.