Website Search
WordPress Site Search Plugin Accross Post-Types, Pages, CPT etc.
★ 0stars
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/test-shimanta-1/website-search/archive/refs/heads/main.zipWebsite Search is a lightweight WordPress plugin that enables global search across your entire website, including posts, pages, and custom post types.
You can easily add a search form or a modal-based search anywhere on your site using a simple shortcode.
Features
- Global search across posts, pages, and custom post types
- Clean search URLs (
/search/content/?keys=keyword) - Shortcode-based integration
- Optional modal (popup) search interface
- Customizable modal button text
- suport of wordpress pagination on display search results. URL (
/search/content/?keys=milk&page=N)
Installation
- Download or clone this repository.
- Upload the
website-searchfolder to/wp-content/plugins/. - Activate Website Search from the WordPress admin dashboard.
- Go to Settings → Permalinks and click Save Changes (required once).
Shortcode Usage
Display a simple search form
Use this shortcode to display a basic search form anywhere on your site:
[website_search]
Display a modal (popup) search form
Use this shortcode to show a button that opens the search form in a modal popup:
[website_search variant="modal"]
Display a modal (popup) search form
You can customize the modal trigger button text using the button_text attribute:
[website_search variant="modal" button_text="Find Content"]