Linux 软件免费装

Hintr - Lightning-Fast, Advanced Search Suggestions

开发者 martincipriano
更新时间 2025年1月26日 19:01
捐献地址: 去捐款
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

search suggestion

下载

1.1.5 1.2.0

详情介绍:

Hintr is a WordPress plugin designed to improve search by providing lightning-fast suggestions. Easily configure which post types to pull search suggestions from. You can also show suggestions if the search keyword is found in a post's metadata, such as price, SKU, serial number, etc. Features:

安装:

  1. Download the plugin file and extract it.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Go to Settings > Hintr to configure the plugin options.

屏幕截图:

  • Custom field key input in the settings enables search using custom field value.
  • Example use case.

升级注意事项:

1.2.0
  • Performance imporvement using a json file in the uploads directory instead of getting the posts from a custom endpoint.

常见问题:

What does Hintr do?

Hintr enhances your search input with a dynamic list of suggestions. It allows you to retrieve suggestions from specific post types and display posts when the search keyword matches their metadata.

Can I use this plugin with custom post types?

Yes! Hintr works with any public custom post type registered on your site.

Do I need to code anything?

  • No coding required when using the global settings for effortless setup.
  • Fine-tune search suggestions for multiple search inputs with basic knowledge of:
  • Writing a JSON string.
  • Using HTML data attributes.

How can I apply different search suggestion settings to multiple search inputs?

To apply custom settings for each search input, add the data-hintr attribute to the respective <input type="text"> or <input type="search"> fields. Here's what you can configure:

  • count (int/string): The number of suggestions to display.
  • search_in (array): Define the post types and corresponding metadata to search against.
  • key (string): The post type from which suggestions will be pulled (e.g., 'post', 'page').
  • value (array): An array of meta keys that will be compared to the search keyword.
Example json value for data-hintr attribute: { "count": "10", "search_in": { "post": ["meta_key_1", "meta_key_2", "meta_key_3"], "page": ["meta_key_1", "meta_key_2", "meta_key_3"] } }

Will this plugin slow down my site?

Hintr is optimized for speed, but performance can be affected by the number of posts being searched.

更新日志:

1.0.0 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.2.0