/extend-search-block

Primary LanguagePHPGNU General Public License v3.0GPL-3.0

=== Extend Search Block ===

Contributors:      webmandesign
Donate link:       https://www.webmandesign.eu/contact/#donation
Author URI:        https://www.webmandesign.eu
Plugin URI:        https://www.webmandesign.eu/portfolio/extend-search-block-wordpress-plugin/
Requires at least: 6.1
Tested up to:      6.2
Requires PHP:      7.0
Stable tag:        1.0.0
License:           GNU General Public License v3
License URI:       http://www.gnu.org/licenses/gpl-3.0.html
Tags:              webman, webman design, blocks, block editor, block, search, post type, taxonomy, modification, extension

Extending WordPress Search block with search results modifier fields.


== Description ==

Extending WordPress Search block with search results modifier fields.

= What problem does it solve? =

❓ _Do you want to narrow search results to a specific post type only?_
❓ _Do you want to narrow search results to a specific category/tag/taxonomy term only?_

**Extend Search Block** plugin provides additional search results modification fields solving these issues!

In _**Search** block_ settings sidebar simply choose which post type should the search form look for. You can also choose a taxonomy and a dropdown with the taxonomy terms will be displayed in the search form on your website front-end to further narrow down the search results.

_(Note that this plugin only alters WordPress **Search** block, not the PHP [`get_search_form()` function](https://developer.wordpress.org/reference/functions/get_search_form/).)_

= Got a question or suggestion? =

In case of any question or suggestion regarding this plugin, feel free to ask at [support section](https://wordpress.org/support/plugin/extend-search-block/), or at [GitHub repository issues](https://github.com/webmandesign/extend-search-block/issues).


== Installation ==

1. Unzip the plugin download file and upload `extend-search-block` folder into the `/wp-content/plugins/` directory.
2. Activate the plugin through the *"Plugins"* menu in WordPress.
3. Plugin works immediately after activation by adding new settings options to WordPress native _**Search** block_ in block editor.


== Frequently Asked Questions ==

= How does it work? =

1. Insert _**Search** block_ into your page/post content (or into Site Editor).
2. In the block settings sidebar open the **"Search modifiers"** panel.
3. Tweak the settings to your needs. Note that resulting modifications only affect front-end of the search form, so you will not be able to preview them in editor.
4. Save your content and preview changes applied to search from on your website front-end.


== Screenshots ==

1. Preview of additional Search block options
2. Modified Search block on front-end of your website


== Changelog ==

Please see the [`changelog.md` file](https://github.com/webmandesign/extend-search-block/blob/master/changelog.md) for details.


== Upgrade Notice ==

= 1.0.0 =
Initial release.