该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Posts Search

描述

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.

Discover More

This plugin is developed on GitHub

安装

  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.

评价

此插件暂无评价。

贡献者及开发者

“Posts Search” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Posts Search」插件已被翻译至 5 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Posts Search”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.2.2

Tested on WordPress 6.0.

See the release notes on GitHub.