Search Field for Gravity Forms

描述

A custom field for Gravity Forms that will search any selected post types as the user types into the field and show the results below the field. Set which post types, how many results, and customize the display format of the results. Lots of unique CSS classes included for full custom styling!

This plugin was created as a way to help customers find documentation articles before submitting a support ticket. The goal is to reduce the number of support tickets submitted by helping customers find and answer themselves. Maybe you can find other uses as well!

Documentation

螢幕截圖

安裝

You must have Gravity Forms installed first!

  1. Upload and activate the plugin
  2. Find the new “Search” field when adding/editing a form and add it to your form
  3. Customize the field settings

評價

2021年5月16日 2 replies
This plugin works perfectly. I was looking for a solution like this on the gravity form, but I couldn’t find it on the web. I’m confident that help tickets can be sent less often by customers. Thank you very much. Suggested fix: I’m using v0.2. When you add a one-line text field in the management screen, the same field option as the search field, that is, “Select Custom Post Type (s)” is displayed. Searching in the front end of a one-line text field doesn’t work, so I think it’s better to remove this option.
閱讀全部1個評價

貢獻者及開發者

“Search Field for Gravity Forms” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Search Field for Gravity Forms 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2.1

  • Update – Tested up to WP 6.9

1.2

  • Add – aria-controls added to input, aria-live added to results

1.1.1

  • Fix – Meta data now works on more than 1 field per result

1.1

  • Add – Now results can show metadata

1.0

  • Ready for full 1.0 status!

0.7.1

  • Fix – Change how ‘gravityforms_search_no_results’ gets sanitized before output to allow HTML

0.7

  • Add – filter ‘gravityforms_search_no_results’ to customize the “No results” text

0.6.1

  • Change – Only check for typing on ‘keyup’, not ‘change’ as it resulted in redoing search on click outside input

0.6

  • Update – Better loading spinner that shows inside the form field

0.5

  • Fix – Fix issue getting post types

0.4

  • Add – Use esc_* functions more liberally

0.3

  • Fix – Search settings were showing on Text fields as well
  • Fix – Proper Text Domain

0.2

  • Fix – Add sanitization where missing

0.1

  • Initial release