Custom Content Search
π A lightweight, customizable WordPress plugin for implementing real-time search functionality using AJAX. Built with performance and simplicity in mind.
by Esteham H. Zihad Ansari Β· github.com/esteham/search-plugin Β· website
β
8stars
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/esteham/search-plugin/archive/refs/heads/main.zipFrom the readme
π WordPress Search Plugin
A lightweight, easy-to-use WordPress plugin that enables real-time search functionality on your site. Built with clean code and a modular structure, this plugin helps users find content instantly using AJAX-powered filtering.
π Features
- β
Live search with instant AJAX results
- π§© Shortcode support for easy placement ([searchplugin])
- π§ Clean admin configuration (if applicable)
- π¨ Minimal styling to fit any theme
- π Works with posts, pages, or custom post types
π οΈ Installation
1. Download or clone this repository:
bash
git clone https://github.com/esteham/search-plugin.git
Upload the plugin folder to your /wp-content/plugins/ directory.
Activate the plugin via the WordPress admin panel.
Use the shortcode [searchplugin] anywhere in your posts/pages.
π¦ Usage
Place [searchplugin] where you want the search box to appear.
The plugin will fetch results via AJAX as users type.
You can customize post types, result layout, and more (if settings provided).
π File Structure
search-plugin/
βββ includes/
β βββ class-search-plugin.php
β βββ ajax-handler.php
βββ assets/
β βββ css/
β βββ js/
βββ search-plugin.php
βββ