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

WP Live Post Search

描述

WP Live Post Search is a really handy plugin which provides live search functionality. The plugin provides a search form and anything entered will be searched live through all the posts/pages and page/post title with link is displayed as result.

安装

Uploading in WordPress Dashboard

  1. Navigate to the ‘Add New’ in the plugins dashboard
  2. Navigate to the ‘Upload’ area
  3. Select wp-live-post-search.zip from your computer
  4. Click ‘Install Now’
  5. Activate the plugin in the Plugin dashboard

Using FTP

  1. Download wp-live-post-search.zip
  2. Extract the wp-live-post-search directory to your computer
  3. Upload the wp-live-post-search directory to the /wp-content/plugins/ directory
  4. Activate the plugin in the Plugin dashboard

常见问题

How to use?

*Using Shortcode: Use

[WPLS_SEARCH_FORM]

to display the search form any where in your site including posts/pages or widget.

How to change what to search?

*Paste the below code to your theme’s functions.php file:

<?php
function change_the_search_post_type()
{
    $posttype= 'post'; //change according to the requirement on what to search
    return $posttype;
}
add_filter('wpls_change_post_type_search','change_the_search_post_type');
?>

评价

此插件暂无评价。

贡献者及开发者

「WP Live Post Search」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.0

  • Initial release