GravityOps Search

Description

GravityOps Search provides a powerful shortcode [gravops_search] that allows you to search and display Gravity Forms entries based on custom criteria. This plugin extends the Gravity Forms functionality by enabling frontend display of form entries with advanced filtering, sorting, and formatting options.

Key Features

  • Search Gravity Forms entries using custom criteria
  • Display specific fields from entries
  • Support for multiple search operators (is, contains, like, in, not in, etc.)
  • Advanced sorting options with primary and secondary sort keys
  • Customizable output formatting with placeholders
  • Support for numeric comparison operators (greater than, less than)
  • Unique result filtering
  • Default values and fallback content
  • Link entries directly to admin view

Shortcode Usage

Basic usage:
[gravops_search target=”1″ search=”2″ display=”1,2″]Search Value[/gravops_search]

Advanced usage with operators:
[gravops_search target=”1″ search=”2,3″ operators=”contains,=” display=”1,2,3″ limit=”10″ sort_key=”date_created” sort_direction=”DESC”]Value1|Value2[/gravops_search]

Supported Attributes

  • target – Form ID(s) to search (comma-separated)
  • search – Field ID(s) to search in (comma-separated)
  • operators – Search operators (=, is, contains, like, in, not in, etc.)
  • display – Field ID(s) to display (comma-separated)
  • sort_key – Field to sort by (default: id)
  • sort_direction – Sort direction: ASC, DESC, or RAND (default: DESC)
  • sort_is_num – Sort by numeric value (true/false)
  • secondary_sort_key – Secondary sort key
  • secondary_sort_direction – Secondary sort direction
  • unique – Remove duplicate results (true/false)
  • limit – Number of results to return (default: 1, use “all” for unlimited)
  • search_mode – Search mode: “all” or “any” (default: all)
  • separator – Custom separator for multiple values
  • search_empty – Search for empty values (true/false)
  • default – Default value when no results found
  • link – Add admin link to entries (true/false)

Installation

  1. Upload the plugin files to the /wp-content/plugins/go-search directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Make sure you have Gravity Forms installed and activated.
  4. Use the [gravops_search] shortcode in your posts, pages, or widgets.

FAQ

Does this plugin require Gravity Forms?

Yes, this plugin extends Gravity Forms functionality and requires Gravity Forms to be installed and activated.

Can I search multiple forms at once?

Yes, you can specify multiple form IDs in the target attribute separated by commas.

What search operators are supported?

The plugin supports: =, is, is not, isnot, !=, contains, like, not in, notin, in, lt (less than), gt (greater than), lt=, gt=

Can I display the search results in a custom format?

Yes, you can use field placeholders in the display attribute like {1}, {gos:2}, or {gos:3;default-value} for custom formatting.

How do I limit the number of results?

Use the limit attribute. Set it to a number for a specific limit, or “all” for unlimited results.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“GravityOps Search” is open source software. The following people have contributed to this plugin.

Contributors

Translate “GravityOps Search” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.