Giter VIP home page Giter VIP logo

posts-search's Introduction

Posts Search

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.

Description

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.

Usage

  • 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.

Installation

  1. Upload posts-search to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Use shortcodes to display the posts search.

Changelog

1.2.2

Tested on WordPress 6.0.

1.2.1

Fixed a bug related to "data_set" on line 28 - 46 of found_posts.js.

1.2.0

Add shortcode attribute ([ccc_posts_search_searchform tax_query_relation="OR" tax_query_operator="IN" input_type="radio"] default: "AND, AND, checkbox").

1.1.3

Fixed undefined variable "$checked" warning.

1.1.2

Fixed PHP 8.0 warning.

1.1.1

[Bug fix] About is_plugin_active not working when locale="bogo".

1.1.0

Add shortcode attribute (title_select="" highlight="" locale="") markup of thumbnails and modify CSS.

1.0.0

Initial release.

posts-search's People

Contributors

takashi-matsuyama avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.