Title: post search and order
Author: yukimichi
Published: <strong>16 Yulyu 2021</strong>
Last modified: 17 Yulyu 2021

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/post-search-and-order/assets/icon-256x256.png?rev=2565590)

# post search and order

 By [yukimichi](https://profiles.wordpress.org/yukimichi/)

[Download](https://downloads.wordpress.org/plugin/post-search-and-order.zip)

 * [Details](https://kab.wordpress.org/plugins/post-search-and-order/#description)
 * [Reviews](https://kab.wordpress.org/plugins/post-search-and-order/#reviews)
 *  [Installation](https://kab.wordpress.org/plugins/post-search-and-order/#installation)
 * [Development](https://kab.wordpress.org/plugins/post-search-and-order/#developers)

 [Support](https://wordpress.org/support/plugin/post-search-and-order/)

## Description

post search and orderは、様々な条件で検索や並べ替えをすることのできるプラグインです。

パフォーマンスに大きな影響を与えず、競合も少ないよう設計されており、テーマ本来の
デザインそのままに検索結果が表示されます。

### 検索・並べ替え条件

通常検索、and・or・厳格検索、カテゴリー、タグ、カスタムタクソノミ、日付、指定期間、
カスタムフィールド（数字、文字、数字範囲検索）、最大表示数変更、投稿者、コメント
数、ランダム、タイトル順、更新日順
 また、表示する投稿タイプもオプションから変更
可能です。

### 利用方法

利用方法はショートコードを設置することで可能です。
 [template_psao]というショート
コードを設置すると、基本的な検索フォームが表示されますので、最初のテストにおすすめ
です。

### template_psaoショートコード引数

 * indexurl 表示される検索結果のurlを変更可能（通常はホームページ）
 * class フォームタグに任意のクラスを追加
 * submit 検索ボタンの文字を変更可能（デフォルトは検索）
 * strict 厳格検索を有効可できる（日本語のひらがなとカタカナ、英語の小文字と大文字
   を区別して検索）
 * tagtype タグ検索欄は通常はチェックボックスだが、カテゴリと同様のセレクトボックス
   に変更可能
 * option and・or検索のチェックボックスを非表示にできる

サンプル：[template_psao indexurl= »https://~ » class= »test » submit= »送信 » strict
= »on » tagtype= »select » option= »off »]

### ショートコードリスト

テンプレート以外の利用可能なショートコード
 ※指定可能な引数詳細は近日中にホームページ
を用意して解説予定

 * [taxonomy_psao]
    重要引数 taxname　タクソノミ名を変更可能（初期値はcategory。
   タグはpost_tag）
 * [tax_simplecheck_psao]
    同上
 * [author_psao]
    role　指定権限ユーザーのみ表示（複数の場合は,区切りで入力　author,
   administrator） excluderole　指定権限名のユーザー除外
 * [cnum_psao]
    key　　　並べ替えカスタムフィールド名指定 label　　セレクトボックス
   初期ラベル keylabel　カスタムフィールド表示名
 * [cnumrange_psao]
    key　　　検索カスタムフィールド名指定
 * [daterange_psao]
 * [checkpass_psao]
 * [checkcom_psao]
 * [order_psao]
 * [orderby_psao]
 * [period_psao]
 * [postsnum_psao]
 * [reset_psao]
 * [search_psao]
    strict　templateと同じ option　templateと同じ inkey　カスタムフィールド
   を検索対象に含める事ができる
 * [formwrap_psao]

### その他ショートコードの使い方

各ショートコードを、formwrapで囲む（template以外を使用する場合）。
 ※indexurlは検索
結果をホーム以外に表示したい場合以外は不要です。 ※常にすべてを含む必要はないので、
カスタムフィールドなど必要のないショートコードは削除してください。

サンプル
 [formwrap_psao indexurl= »https://~ »] [taxonomy_psao] [taxonomy_psao 
taxname= »post_tag » type= »check »] [taxonomy_psao taxname= »custom » type= »check»][
author_psao excluderole= »administrator »] [cnum_psao key= »price,distance » keylabel
= »値段,距離 » label= »物件 »] [cnumrange_psao key= »price »] [daterange_psao] [
checkpass_psao] [checkcom_psao] [order_psao] [orderby_psao] [period_psao] [postsnum_psao][
search_psao] [/formwrap_psao] [reset_psao]

※リセットを利用する場合はformwrapの外に入力

## Installation

 1. From the WP admin panel, click “Plugins” -> “Add new”.
 2. In the browser input box, type “post search and order”.
 3. Select the “post search and order” plugin and click “Install”.
 4. Activate the plugin.

OR…

 1. Download the plugin from this page.
 2. Save the .zip file to a location on your computer.
 3. Open the WP admin panel, and click “Plugins” -> “Add new”.
 4. Click “upload”.. then browse to the .zip file downloaded from this page.
 5. Click “Install”.. and then “Activate plugin”.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“post search and order” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ yukimichi ](https://profiles.wordpress.org/yukimichi/)

[Translate “post search and order” into your language.](https://translate.wordpress.org/projects/wp-plugins/post-search-and-order)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/post-search-and-order/),
check out the [SVN repository](https://plugins.svn.wordpress.org/post-search-and-order/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/post-search-and-order/)
by [RSS](https://plugins.trac.wordpress.org/log/post-search-and-order/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1

ショートコードの不具合修正
 cssの微調整

## Meta

 *  Version **1.1**
 *  Last updated **5 n iseggasen ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0 or higher **
 *  Tested up to **5.7.21**
 *  PHP version ** 7.0 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/post-search-and-order/)
 * Tags
 * [customfield](https://kab.wordpress.org/plugins/tags/customfield/)[filter](https://kab.wordpress.org/plugins/tags/filter/)
   [order](https://kab.wordpress.org/plugins/tags/order/)[search](https://kab.wordpress.org/plugins/tags/search/)
   [sort](https://kab.wordpress.org/plugins/tags/sort/)
 *  [Advanced View](https://kab.wordpress.org/plugins/post-search-and-order/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/post-search-and-order/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/post-search-and-order/reviews/)

## Contributors

 *   [ yukimichi ](https://profiles.wordpress.org/yukimichi/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/post-search-and-order/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://ofuse.me/yk034)