simple sort&search

simple sort&search

Wordpress plugin

Install on Wordpress

App Details

検索専用ページを必要とせず、トップページや投稿一覧ページなどにショートコードを設置するだけで並べ替えや絞り込み、検索をすることのできるプラグインです。

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

また、アーカイブなどのメインクエリを利用している投稿一覧ページでも追加の絞り込みとして利用することができます。

検索機能

OR検索、タイトル検索、厳格検索

※厳格検索について
WordPressで日本語を検索する場合、通常は「ふ」と「フ」と「ぶ」と「ぷ」は全て同じ文字として扱われてしまうため、これらを別の文字として扱うよう設定して検索することができる。
注意点として、厳格検索ではアルファベットの大文字と小文字も別の文字として区別して検索してしまう点にご注意ください。

並べ替え対象

投稿日、更新日、タイトル順、ランダム、コメント数
昇順・降順

フィルタリング対象

カテゴリー、タグ、投稿期間、1ページに表示する数

ショートコード

ショートコードはサイトのどこにでも設置できます。

*利用できるショートコードは、

  • [category_sims]
  • [tag_sims]
  • [order_sims]
  • [orderby_sims]
  • [period_sims]
  • [postsnum_sims]
  • [search_sims]
  • [reset_sims]

の8つです。*

すべてのショートコードで、indexurlとclassという引数が指定できますが、通常の場合indexurlはトップページに設定されており、変更する必要はありません。
ショートコードをそのまま入れた場合、トップページの投稿一覧を並べ替えるからです。

indexurlを変更する必要があるのは以下の場合です。

  1. トップページと投稿一覧を固定ページに変更している
    この場合、indexurlに投稿一覧ページのurlを入力してください。 indexurl=”https://~”

  2. カテゴリーやタグなどのアーカイブページで追加の並び替えをしたい
    この場合、indexurlに”now”と入力してください indexurl=”now”
    nowと入力した場合、現在開いているページのメインクエリを変更し並べ替えやフィルタリングを行います。

例:[order_sims class=”test” indexurl=”https://test.com/”]
と指定すると、ショートコードで出力される最初のhtmlタグ(formやselect)にtestというクラスが追加され、検索やソート、フィルタリングした結果が”https://test.com/”というページに表示されます。

class引数について

class引数の内容は、formやselectなどのショートコードで出力されるhtmlの最初のタグに含まれます。

テーマのデザインを阻害しないように、フォームやメニューに複雑なcssは設定されていないため、デザインをcssでカスタマイズしたいときなどに利用してください。

ショートコードの個別引数解説

[search_sims]

[search_sims]は共通引数以外に、optionという引数を設定することが来ます。(初期値はon)
これをon以外にすることで、OR検索などのオプション項目を非表示にすることができます。

例:[search_sims option=””]

[category_sims]、[tag_sims]

[category_sims]、[tag_sims]は共通引数以外に、label、type、sizeという引数を設定することが来ます。

  1. label オプションタグに最初に表示される文字を変更することができます(初期値はカテゴリーを選択、タグを選択)
  2. type 表示形式の初期値はセレクトボックスタイプですが、チェックボックスタイプに変更することができます
  3. size セレクトボックスタイプの時のみ、一度に表示する数を変更することができます(初期値は1)

例:[category_sims size=”5″ label=”カテゴリー”]
例:[tag_sims type=”checkbox”]

[orderby_sims]

[orderby_sims]は共通引数以外に、enableという引数を設定することが来ます。(初期値はall)
これを設定することで、表示したい並べ替え形式を変更することができます。
初期値では、投稿順、更新順、タイトル順、ランダム、コメント数順の5つすべてが表示されますが、enable引数に対応した文字を入力することで変更が可能です。

引数の対応リスト

  1. 投稿順=date
  2. 更新順=update
  3. タイトル順=title
  4. ランダム=rand
  5. コメント数順=comment_count

例:[orderby_sims enable=”title,rand,comment_count”]
上記例では、タイトル順とランダム、コメント数順のみ選択することのできるセレクトボックスが出力されます。

※注:複数項目の入力の際は半角カンマ区切りで入力してください

[postsnum_sims]、[reset_sims]

[postsnum_sims]は共通引数以外に、submitという引数を設定することが来ます。(初期値は表示数変更)
これを設定することで、フォームの送信ボタンの文面を変更することができます。

例:[postsnum_sims submit=”送信”]

[search_sims]

[search_sims]は上記と同様、submit引数を設定することができ(初期値は検索)、それに加えてplaceholder引数を設定することができます。
これを設定することで、検索入力欄に初期表示される文字を変更することができます。

例:[search_sims placeholder=”スペースを入力すると複数の条件で検索できます”]

オプション設定

  1. 投稿タイプ選択
    管理画面の設定メニューから、検索結果に表示する投稿タイプを選択することができます。

  2. 先頭固定ページ表示非表示
    管理画面の設定メニューから、検索結果に先頭固定ページを表示するかどうかを設定することができます。

  3. 投稿ステータスの指定
    管理画面の設定メニューから、検索結果に表示するページのステータスを設定することができます。public以外の投稿や固定ページを表示したい場合や、メディアページも表示したい場合などに利用してください。

Pricing

Starting from $0 per month.

Check Out the Image Stack Gallery Widget

By Common Ninja

Image Stack GalleryTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

filter
search
search shortcode
shortcode
sort

Developed By

yukimichi

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Maps

Maps plugins for Wordpress

Translation

Translation plugins for Wordpress

Chat

Chat plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Contact

Contact plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Forms

Forms plugins for Wordpress

Comments

Comments plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Comments

Comments plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Video Player

Video Player plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Security

Security plugins for Wordpress

Ads

Ads plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Membership

Membership plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Image Stack Gallery for Wordpress logo

Image Stack Gallery

Showcase photos with an image stack gallery that layers images in a stacked display with smooth transitions to create a visually striking presentation.

Image Magnifier for Wordpress logo

Image Magnifier

Use an image magnifier to let visitors zoom in on photos, view fine details clearly, and enjoy a more accessible and informative visual experience.

Social Votes for Wordpress logo

Social Votes

Encourage interaction with social votes that let visitors like, upvote, and rank content, boosting engagement and guiding better decisions.

Stories for Wordpress logo

Stories

Add interactive stories to your site to showcase content in a visual, mobile friendly format that boosts engagement and guides visitors toward action.

Coupon Bar for Wordpress logo

Coupon Bar

Display discounts with a coupon bar that highlights special offers, drives urgency, and helps convert visitors into paying customers.

Device Mockup for Wordpress logo

Device Mockup

Show products, apps, or designs inside a clean device mockup that improves visualization, builds credibility, and helps visitors make confident decisions.

Email Subscription Form for Wordpress logo

Email Subscription Form

Capture email leads with an email subscription form that collects addresses, saves entries, sends notifications, and helps grow your audience.

Live Weather Forecast for Wordpress logo

Live Weather Forecast

Use a live weather forecast widget to show current conditions and upcoming predictions, giving visitors real time local weather updates for better planning.

WhatsApp Chat for Wordpress logo

WhatsApp Chat

Add WhatsApp Chat to your site to communicate with visitors, deliver instant support, and create a smoother, more trustworthy user experience.

Bluesky Feed for Wordpress logo

Bluesky Feed

Show Bluesky posts with a Bluesky feed that updates in real time, improves content discovery, and keeps visitors engaged with fresh activity.

Restaurant Menu for Wordpress logo

Restaurant Menu

Create an online restaurant menu that organizes dishes, highlights key items, and helps visitors explore options with confidence.

Engagement Toolbox for Wordpress logo

Engagement Toolbox

Use an engagement toolbox that combines forms, galleries, chats, and interactive elements to increase visitor activity and create a more engaging user experience.

More plugins

plugins You Might Like

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms