This is the development repository for Posts Search, a WordPress plugin that searches posts by taxonomy terms and post type with Ajax. You can also download the plugin package installation from the WordPress.org Plugin Directory.
Contributors: takashimatsuyama
Donate link:
Tags: posts search, search, taxonomy, term
Requires at least: 4.8
Tested up to: 6.0
Requires PHP: 5.4.0
Stable tag: 1.2.2
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Search posts by taxonomy terms and post type with Ajax.
Search posts by taxonomy terms and post type with Ajax and list them.
This plugin is simple. You can search posts by taxonomy terms and post type with Ajax with just a shortcode.
- Shortcode:
[ccc_posts_search_searchform placeholder="" style=""]
For example, in header.php
add <?php if( shortcode_exists( 'ccc_posts_search_searchform' ) ) { echo do_shortcode('[ccc_posts_search_searchform placeholder=""]'); } ? >
.
- Shortcode:
[ccc_posts_search_results posts_per_page="" search_keyword="" style=""]
For example, in search.php
add <?php if( shortcode_exists( 'ccc_posts_search_results' ) ) { echo do_shortcode('[ccc_posts_search_results posts_per_page=" 15" search_keyword="false"]'); } ? >
.
Detailed usage is under preparation.
- Upload
posts-search
to the/wp-content/plugins/
directory. - Activate the plugin through the 'Plugins' menu in WordPress.
- Use shortcodes to display the posts search.
Tested on WordPress 6.0.
Fixed a bug related to "data_set" on line 28 - 46 of found_posts.js.
Add shortcode attribute ([ccc_posts_search_searchform tax_query_relation="OR" tax_query_operator="IN" input_type="radio"]
default: "AND, AND, checkbox").
Fixed undefined variable "$checked" warning.
Fixed PHP 8.0 warning.
[Bug fix] About is_plugin_active not working when locale="bogo".
Add shortcode attribute (title_select="" highlight="" locale=""
) markup of thumbnails and modify CSS.
Initial release.