Linux 软件免费装
Banner图

GravityOps Search - Search and Display Gravity Forms Entries

开发者 eitanatbrightleaf
更新时间 2026年2月19日 22:39
PHP版本: 8.0 及以上
WordPress版本: 6.9
版权: GPLv2
版权网址: 版权信息

标签

gravity forms display form entries frontend entry search shortcode results display form data lookup

下载

1.0.3 1.0.4 1.0.2 1.0.5 1.0.0 1.0.1 1.0.6 1.0.6.1

详情介绍:

GravityOps Search is a free, powerful shortcode for searching Gravity Forms entries on the front end and displaying the matching results anywhere on your site. Instead of paging through the admin entries screen, you can drop a single shortcode into a page, post, GravityView, or custom template and surface exactly the data you need. It works like an Excel-style lookup for Gravity Forms entries: you define which forms and fields to search, how to compare the values, and what to output for each match. The core [gravops_search] shortcode lets you target one form, several forms, or even all forms at once. You can filter by one field or many, pass in values directly in the shortcode content, and control whether entries must match all conditions or any of them. The same shortcode can handle simple lookups (showing a single field from the latest matching entry) or more complex reporting-style views that combine fields, entry properties, and custom HTML. Because everything is driven by attributes, you stay in full control of which entries are included and how their data appears on the front end. Results are rendered through a flexible display attribute, which understands both simple comma-separated field lists and advanced custom display strings with placeholders. You can output raw values, mix multiple fields into labeled text, or construct HTML lists, tables, and cards with links, CSS classes, and nested shortcodes. This gives you a fully custom front-end listing of Gravity Forms entries that you can drop into any layout, theme, or builder, without building a custom query or touching PHP. GravityOps Search fully supports Gravity Forms entry properties (such as entry ID, form ID, created-by, and more) alongside regular fields, and it includes options for sorting, limiting, and deduplicating results before they are rendered. You can sort by field values or entry properties, choose ascending, descending, or random ordering, add a secondary sort key, and request unique values only. When no entries match, you can show fallback text or per-field default values, so front-end visitors never see a broken layout or confusing blank output. This plugin is built explicitly for front-end entry search and display. It does not add live search tools to the Gravity Forms admin area and does not replace the Entries screen. Instead, it focuses on one thing and does it well: querying Gravity Forms entries in the background and printing clean, formatted results on the pages your users actually see.

安装:

  1. Install GravityOps Search:
  2. In WordPress, go to Plugins → Add New → Upload Plugin.
  3. Upload the ZIP file and click Install Now.
  4. After installation, click Activate.
  5. Use the shortcode anywhere you need to search entries:
  6. Edit a page, post, widget, or template that accepts shortcodes.
  7. Insert the [gravops_search] shortcode with the attributes you need.
  8. Save or update the page.
  9. View the page on the front end:
  10. Matching Gravity Forms entries will now display according to your shortcode’s filters and layout.

屏幕截图:

  • Displays the formatted results returned by the sample shortcode on a live page.
  • Shows a more complex shortcode producing a richer, multi-field front-end layout.

升级注意事项:

Upgrade now to get the full plugin version of the original search snippet, with improved stability, easier shortcode usage, and ongoing updates for better front-end entry searching and display.

常见问题:

Does this plugin search the Gravity Forms admin entries screen?

No. GravityOps Search does not modify or enhance the admin-side Entries screen in any way. It is designed exclusively for front-end searching: you place a shortcode on a page, post, or view, and the plugin retrieves matching Gravity Forms entries and displays the data exactly as you format it.

How do I run a search?

Use the [gravops_search] shortcode. You specify which forms to target, which field IDs or entry properties to search, which values to match, and how to output the results. The shortcode runs a live query against Gravity Forms entries and prints the matching results anywhere shortcodes are supported.

Can I search multiple Gravity Forms at once?

Yes. You can target a single form, several forms, or all forms. Just pass a comma-separated list of form IDs in the target attribute, or use target=\"0\" to query every form on the site. This allows you to build global lookups and multi-form reporting views.

Can I filter by more than one field or property?

Yes. The search attribute accepts a comma-separated list of field IDs or entry properties. The shortcode content (inside the opening and closing tags) supplies the values, separated with a pipe (|) in the same order. You can match on a single field, several fields together, or a mix of fields and entry meta.

How does the plugin compare values?

Use the operators attribute to define comparison behavior for each field. Supported operators include exact match, not-equal, contains, wildcard-style “like”, numeric comparisons (greater-than / less-than), and array-based “in” or “not in” checks. When no operator is provided for a field, the default behavior is exact matching.

Can I return entries that match any of the conditions instead of all?

Yes. By default, the shortcode requires entries to match all conditions. Set search_mode=\"any\" to return entries that satisfy at least one of the provided search fields and values.

How do I control how results are displayed?

Use the display attribute. You can provide:

  • A comma-separated list of field IDs.
  • A custom template string with placeholders like {15} or {id}.
  • Full HTML markup for custom layouts (lists, cards, rows, tables). This gives you complete control over how each entry appears on the front end.

Can I include multiple fields, labels, or HTML in the output?

Yes. The display template supports text, HTML tags, attributes, classes, and multiple placeholders. You can mix fields, entry properties, links, labels, or structured markup to build clean, styled results that match your site’s theme.

Can I nest other shortcodes inside the display template?

Yes. The plugin supports nested shortcodes using {{ ... }} syntax to avoid parsing conflicts. You can nest GravityMath, additional [gravops_search] shortcodes, or any shortcode that produces text or numbers. Nested shortcodes receive processed values, enabling chained lookups and computed displays.

Does the plugin support multi-input fields like Name, Address, and Checkboxes?

Yes. Multi-input fields can be displayed as either:

  • Combined values using the base field ID ({13}), or
  • Individual inputs using dot notation ({13.3}). For searching, checkboxes should be matched using the base field ID, while other multi-input fields should be matched using specific input IDs.

Can I search for empty or missing values?

Yes. You can search for empty fields using search_empty=\"true\" and passing an empty value for that position in the shortcode content. This is useful for finding incomplete submissions or missing data.

Can I control the order of results?

Yes. Use sort_key, sort_direction, and optionally sort_is_num to sort by numeric or text values. You can also add secondary_sort_key and secondary_sort_direction for tie-breaking. For random ordering, use sort_direction=\"RAND\".

Can I limit how many entries are returned?

Yes. Use the limit attribute. You can return a specific number or use limit=\"all\" to show all matches. When combined with sorting, this allows you to show the newest, oldest, largest, smallest, or otherwise top-ranked results.

Can I display only unique values?

Yes. Setting unique=\"true\" returns only unique results after formatting. This is ideal for building deduplicated lists such as unique emails, product IDs, or user identifiers pulled from multiple entries.

What happens if no entries match the search?

You can provide fallback text using the default attribute. This text displays instead of an empty result, keeping your front-end layout informative and user-friendly.

Does the plugin protect sensitive data?

The plugin displays whatever data you ask it to display. If you include fields with personal or private information, anyone who can access the page will see that data. To restrict visibility, place the shortcode inside protected pages controlled by your membership or role-based access tools.

Will this plugin slow down my site?

Each shortcode triggers a live database query. Normal usage is fast, but heavy configurations—large multi-form searches, deep nesting, or unlimited results—may impact performance. Use reasonable limits where possible and consider caching the page output if you’re displaying large data sets.

Is this compatible with GravityView, GravityMath, and similar tools?

Yes. You can use the shortcode inside GravityView fields, calculations, template blocks, or custom layouts. Nested shortcode support lets you combine data filters, math, and dynamic rendering cleanly.

Can I still use the old gfsearch snippet?

Yes. GravityOps Search supports environments where the old gfsearch snippet is present. You can continue using it for legacy shortcodes while using [gravops_search] for new builds. They can run simultaneously without conflict.

Do I need to write PHP or custom code?

No. The entire search, filtering, and output process is achieved through shortcode attributes. You can build simple or highly advanced data displays without writing any PHP.

更新日志:

1.0.6.1 | Feb 19, 2026 1.0.6 | Feb 18, 2026 1.0.5 | Dec 21, 2026 1.0.4 | Dec 18, 2025 1.0.3 | Dec 18, 2025