Description
Shortcode Search is a simple plugin that lets users add a search bar anywhere on their WordPress website using the shortcode [search].
With this plugin, you can easily insert a search form with customizable placeholder text and button label. The plugin automatically renders a user-friendly search form where users can type in their search queries.
Usage
To display the search form, simply use the [search]
shortcode. You can also customize the placeholder text and button label by passing attributes.
Example:
`[search placeholder=”Search for something…” button_text=”Go”]“`
This will display the search form with “Search for something…” as the placeholder text and “Go” as the button text.
Credits
- Developed by kulwantagarwal.
- WordPress core for plugin framework.
License
This plugin is licensed under the GPL-2.0+ license.
Installation
- Upload the
shortcode-search
folder to the/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Use the shortcode [search] in any post, page, or widget area to display the search form.
FAQ
-
How do I use the plugin?
-
Simply add the shortcode
[search]
wherever you want the search bar to appear. You can also customize the placeholder text and button label using the attributesplaceholder
andbutton_text
. -
Can I style the search form?
-
Yes! The plugin includes basic styles, but you can easily customize the appearance by modifying the CSS or overriding it in your theme’s custom styles.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Shortcode Search | WordPress Search Bar Shortcode Plugin” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Shortcode Search | WordPress Search Bar Shortcode Plugin” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.1 | Feb 13, 2025
- FIxes minor issues with shortcode.
1.0 | Feb 13, 2025
- Initial release.
- Added [search] shortcode to display a search bar anywhere on the site.
- Customizable placeholder and button text.