
內容簡介
此外掛可使用 Ajax 搜尋文章,並以分類及文章類型加以限制,並將結果列出。
這個外掛簡單易用,只需使用短代碼即可進行搜尋。
使用方式
短代碼:[ccc_posts_search_searchform placeholder="" style=""]
例如,在 header.php 中添加:<?php if( shortcode_exists( 'ccc_posts_search_searchform' ) ) { echo do_shortcode('[ccc_posts_search_searchform placeholder=""]'); } ? >.
短代碼:[ccc_posts_search_results posts_per_page="" search_keyword="" style=""]
例如,在 search.php 中添加:<?php if( shortcode_exists( 'ccc_posts_search_results' ) ) { echo do_shortcode('[ccc_posts_search_results posts_per_page=" 15" search_keyword="false"]'); } ? >.
詳細使用方式正在準備中。
了解更多
此外掛是在 GitHub 上開發的。
外掛標籤
開發者團隊
原文外掛簡介
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 .
Shortcode: [ccc_posts_search_results posts_per_page="" search_keyword="" style=""]
For example, in search.php add .
Detailed usage is under preparation.
Discover More
This plugin is developed on GitHub
