Title: Post Picker for Gravity Forms
Author: YMMV Plugins
Published: <strong>28 outubro, 2025</strong>
Last modified: 28 outubro, 2025

---

Pesquisar plugins

![](https://s.w.org/plugins/geopattern-icon/post-picker-for-gravity-forms.svg)

# Post Picker for Gravity Forms

 Por [YMMV Plugins](https://profiles.wordpress.org/ymmvplugins/)

[Baixar](https://downloads.wordpress.org/plugin/post-picker-for-gravity-forms.1.0.0.zip)

 * [Detalhes](https://br.wordpress.org/plugins/post-picker-for-gravity-forms/#description)
 * [Avaliações](https://br.wordpress.org/plugins/post-picker-for-gravity-forms/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/post-picker-for-gravity-forms/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/post-picker-for-gravity-forms/#developers)

 [Suporte](https://wordpress.org/support/plugin/post-picker-for-gravity-forms/)

## Descrição

**Post Picker for Gravity Forms** revolutionizes how you collect post-related data
in your forms by adding a sophisticated custom field type that seamlessly integrates
with the Gravity Forms ecosystem.

This plugin solves a common problem: allowing users to select from existing content
on your WordPress site through forms. Whether you need visitors to choose from blog
posts, select products, pick events, or reference any custom post type content, 
Post Picker for Gravity Forms makes it effortless.

#### What Makes Post Picker for Gravity Forms Special?

Unlike basic dropdown fields that require manual option entry, Post Picker for Gravity
Forms automatically populates dropdown menus with real content from your WordPress
database. The field dynamically loads up to 50 posts from your chosen post type,
displaying them alphabetically by title for easy selection.

The plugin maintains data integrity by storing post IDs internally while displaying
human-readable post titles to users. This approach ensures that even if post titles
change, your form entries remain accurate and meaningful.

#### Core Features

 * **Universal Post Type Support** – Works with Posts, Pages, and all custom post
   types registered on your site
 * **Smart Data Handling** – Stores post IDs but displays post titles for better
   user experience
 * **Native Gravity Forms Integration** – Appears in the Advanced Fields section
   alongside other professional field types
 * **Enhanced UI Compatible** – Fully supports Gravity Forms’ Enhanced UI for improved
   mobile experience
 * **Conditional Logic Ready** – Complete support for Gravity Forms conditional 
   logic functionality
 * **Merge Tag Compatible** – Works seamlessly with all Gravity Forms merge tags
   and notifications
 * **Customizable Placeholder** – Set custom placeholder text or use the default“
   Please Select”
 * **Validation Built-in** – Automatically validates that selected posts exist and
   are published
 * **Developer Friendly** – Includes filters for customizing post queries and extending
   functionality
 * **Performance Optimized** – Efficient database queries with built-in limits and
   caching considerations

#### Perfect For These Use Cases

 * **Contact Forms** – Let users select which product or service they are contacting
   you about
 * **Support Ticket Systems** – Let users reference specific documentation or FAQ
   posts
 * **Event Registration Forms** – Let attendees select which event they’re registering
   for
 * **Product Inquiry Forms** – Allow customers to ask questions about specific products
 * **Content Voting Systems** – Enable users to vote on their favorite blog posts
   or content
 * **Appointment Booking** – Let clients select from available time slots stored
   as custom posts
 * **Course Registration** – Allow students to enroll in specific courses from your
   course post type
 * **Real Estate Inquiries** – Let prospects inquire about specific properties
 * **Job Applications** – Allow applicants to apply for specific job openings

#### Technical Excellence

Post Picker for Gravity Forms is built using the official Gravity Forms Add-On Framework,
ensuring maximum compatibility and following WordPress coding standards. The plugin
includes comprehensive validation, sanitization, and security measures to protect
your site and data.

#### Developer Features

For developers, the plugin includes the `ppfgf_get_posts_args` filter, allowing 
complete customization of the post query. You can modify which posts appear, change
ordering, add meta queries, filter by date ranges, or implement any custom logic
your project requires.

### Developer Information

Post Picker for Gravity Forms is built with developers in mind and includes several
hooks and filters for customization.

#### Available Filters

**ppfgf_get_posts_args**

The main filter for customizing which posts appear in the dropdown. This filter 
receives three parameters:

 * `$args` (array) – The WP_Query arguments
 * `$post_type` (string) – The selected post type
 * `$field` (PPFGF_Field) – The field object

#### Code Examples

**Limit to Recent Posts**
 “`php add_filter( 'ppfgf_get_posts_args', function( $
args, $post_type, $field ) { // Only show posts from last 30 days $args['date_query']
= array( array( 'after' => '30 days ago', ), ); return $args; }, 10, 3 ); “

**Change Post Ordering**
 “`php add_filter( 'ppfgf_get_posts_args', function( $args){//
Order by date instead of title $args['orderby'] = 'date'; $args['order'] = 'DESC';
return $args; } ); “

**Filter by Meta Field**
 “`php add_filter( 'ppfgf_get_posts_args', function( $args){//
Only show featured posts $args['meta_query'] = array( array( 'key' => 'featured','
value' => '1', 'compare' => '=' ) ); return $args; } ); “

**Increase Post Limit**
 “`php add_filter( 'ppfgf_get_posts_args', function( $args){//
Show up to 100 posts instead of 50 $args['posts_per_page'] = 100; return $args; });“

**Filter by Category (for Posts)**
 “`php add_filter( 'ppfgf_get_posts_args', function(
$args, $post_type ) { if ( 'post' === $post_type ) { // Only show posts from specific
category $args['category_name'] = 'events'; } return $args; }, 10, 2 ); “

**Field-Specific Filtering**
 “`php add_filter( 'ppfgf_get_posts_args', function(
$args, $post_type, $field ) { // Only apply to specific field ID if ( 5 === $field-
>id ) { $args['author'] = 1; // Only posts by user ID 1 } return $args; }, 10, 3);“

## Instalação

#### Automatic Installation

 1. Log in to your WordPress admin panel
 2. Navigate to Plugins > Add New
 3. Search for “Post Picker for Gravity Forms”
 4. Click “Install Now” and then “Activate”

#### Manual Installation

 1. Download the plugin zip file
 2. Log in to your WordPress admin panel
 3. Navigate to Plugins > Add New > Upload Plugin
 4. Choose the zip file and click “Install Now”
 5. Activate the plugin

#### After Installation

 1. Make sure Gravity Forms is installed and activated
 2. Create or edit a Gravity Form
 3. Add the Post Picker field from the Advanced Fields section
 4. Configure the post type in the field settings
 5. Save your form and test it on the frontend

## Perguntas frequentes

### How do I add a Post Picker field to my Gravity Form?

Adding a Post Picker field to your Gravity Form is simple:

 1.  Navigate to your WordPress admin and go to Forms > Forms
 2.  Edit an existing form or create a new one
 3.  In the form editor, click the “Add Field” button
 4.  Look for “Post Picker” in the Advanced Fields section (it appears alongside Name,
     Date, Time, and other advanced fields)
 5.  Drag the Post Picker field to your desired location in the form
 6.  Click on the field to open the field settings panel
 7.  Configure the “Post Type” dropdown to select which post type you want to display(
     Posts, Pages, or any custom post type)
 8.  Optionally customize the field label, description, and placeholder text
 9.  Save your form

### Which post types does Post Picker for Gravity Forms support?

Post Picker for Gravity Forms supports all public post types registered on your 
WordPress site. This includes:

 * **Built-in WordPress post types**: Posts and Pages
 * **Custom post types**: Any custom post type created by themes or plugins (such
   as Products, Events, Portfolio items, etc.)
 * **Plugin-created post types**: Post types from WooCommerce, Events Calendar, 
   Custom Post Type UI, and other plugins

The plugin automatically detects and lists all available public post types in the
Post Type dropdown when configuring the field. Only viewable post types are included
to ensure users can only select from appropriate content.

### What data does Post Picker for Gravity Forms save when a form is submitted?

Post Picker for Gravity Forms uses a smart dual-storage approach:

 * **Database Storage**: The post ID is stored in the database for data integrity
   and relationships
 * **Display Value**: The post title is displayed in form entries, email notifications,
   and merge tags for human readability

This means if you change a post title later, your form entries will automatically
reflect the updated title while maintaining the correct reference to the original
post. The post ID ensures data accuracy even if content is modified.

### Can Post Picker for Gravity Forms work with Gravity Forms conditional logic?

Post Picker for Gravity Forms has full support for Gravity Forms conditional logic.
You can:

 * Show or hide the Post Picker field based on other field values
 * Use the Post Picker field selection to show or hide other fields
 * Create complex conditional logic chains involving the Post Picker field
 * Use conditional logic with confirmation messages and notifications

The field integrates seamlessly with Gravity Forms’ conditional logic system, treating
post selections just like any other field value.

### Does Post Picker for Gravity Forms work with merge tags?

Absolutely! Post Picker for Gravity Forms is fully compatible with Gravity Forms
merge tags. You can use the field value in:

 * **Email notifications** – Include the selected post title in admin and user emails
 * **Confirmation messages** – Display the selected post in thank you messages
 * **Conditional notifications** – Send different emails based on which post was
   selected
 * **Third-party integrations** – Pass post data to external services via webhooks
   or API integrations

The merge tag will display the post title (not the ID) for better readability in
communications.

### How many posts can Post Picker for Gravity Forms display in the dropdown?

Post Picker for Gravity Forms displays up to 50 posts in the dropdown by default.
Posts are ordered alphabetically by title for easy browsing. This limit ensures 
good performance even on sites with thousands of posts.

If you need to display more posts or change the ordering, you can use the `ppfgf_get_posts_args`
filter to customize the query (see the Developer Information section below).

### Can I customize which posts appear in the Post Picker dropdown?

Post Picker for Gravity Forms includes developer-friendly filters that allow you
to customize exactly which posts appear. You can filter by:

 * Date ranges (e.g., only posts from the last 30 days)
 * Meta field values
 * Author
 * Categories or taxonomies
 * Custom criteria

See the Developer Information section below for code examples.

### Does Post Picker for Gravity Forms work with the Enhanced UI feature?

Post Picker for Gravity Forms fully supports Gravity Forms’ Enhanced UI feature.
When Enhanced UI is enabled for the field, it provides:

 * Improved mobile experience with native mobile dropdowns
 * Better accessibility features
 * Enhanced styling that matches your theme
 * Improved usability on touch devices

Simply enable “Enhanced UI” in the field settings to activate this feature.

### What happens if a selected post is deleted after form submission?

Post Picker for Gravity Forms handles this gracefully. If a post is deleted after
someone has selected it in a form:

 * **Existing entries** will show the post ID instead of the title in the admin (
   since the title is no longer available)
 * **New submissions** will not be able to select the deleted post (it won’t appear
   in the dropdown)
 * **Validation** prevents submission of invalid post IDs

The plugin includes built-in validation to ensure only published, existing posts
can be selected.

### Can I use Post Picker for Gravity Forms with custom post statuses?

Post Picker for Gravity Forms only displays posts with a “publish” status by default.
This ensures that users can only select publicly available content.

If you need to include posts with custom statuses, you can use the `ppfgf_get_posts_args`
filter to modify the query and include additional post statuses.

### Does Post Picker for Gravity Forms affect my site’s performance?

Post Picker for Gravity Forms is designed with performance in mind:

 * **Efficient queries** – Uses optimized WordPress queries with appropriate limits
 * **Minimal database impact** – Only queries posts when the form is displayed
 * **No frontend JavaScript** – Uses native HTML select elements for fast rendering
 * **Caching friendly** – Compatible with WordPress caching plugins

The plugin adds minimal overhead to your forms and won’t slow down your site.

### Is Post Picker for Gravity Forms translation ready?

Yes! Post Picker for Gravity Forms is fully translation ready and includes:

 * **Text domain**: `post-picker-for-gravity-forms`
 * **POT file** included for translators
 * **RTL support** – Works with right-to-left languages
 * **WordPress.org translation system** compatibility

All user-facing strings are properly internationalized and ready for translation
into any language.

### Can I style the Post Picker field to match my theme?

Yes! Post Picker for Gravity Forms uses standard Gravity Forms CSS classes and markup,
making it easy to style:

 * Uses the same CSS classes as other Gravity Forms select fields
 * Inherits your theme’s form styling automatically
 * Compatible with Gravity Forms’ built-in styling options
 * Can be customized with additional CSS classes in the field settings

The field will automatically match your existing form styling without additional
work.

### What are the minimum requirements for Post Picker for Gravity Forms?

Post Picker for Gravity Forms requires:

 * **WordPress**: 6.0 or higher
 * **PHP**: 7.4 or higher
 * **Gravity Forms**: 2.5 or higher (the plugin uses the official Gravity Forms 
   Add-On Framework)

The plugin is tested up to WordPress 6.8 and follows WordPress coding standards 
for maximum compatibility.

## Avaliações

Não há avaliações para este plugin.

## Colaboradores e desenvolvedores

“Post Picker for Gravity Forms” é um programa de código aberto. As seguintes pessoas
contribuíram para este plugin.

Colaboradores

 *   [ YMMV Plugins ](https://profiles.wordpress.org/ymmvplugins/)

[Traduzir o “Post Picker for Gravity Forms” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/post-picker-for-gravity-forms)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/post-picker-for-gravity-forms/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/post-picker-for-gravity-forms/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/post-picker-for-gravity-forms/)
por [RSS](https://plugins.trac.wordpress.org/log/post-picker-for-gravity-forms/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.0.0

 * Initial release

## Meta

 *  Versão **1.0.0**
 *  Última atualização **6 meses atrás**
 *  Instalações ativas **Menos de 10**
 *  Versão do WordPress ** 6.0 ou superior **
 *  Testado até **6.8.5**
 *  Versão do PHP ** 7.4 ou superior **
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/post-picker-for-gravity-forms/)
 * Tags
 * [cpt](https://br.wordpress.org/plugins/tags/cpt/)[dropdown](https://br.wordpress.org/plugins/tags/dropdown/)
   [field](https://br.wordpress.org/plugins/tags/field/)[gravity forms](https://br.wordpress.org/plugins/tags/gravity-forms/)
   [GravityForms](https://br.wordpress.org/plugins/tags/gravityforms/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/post-picker-for-gravity-forms/advanced/)

## Classificações

Ainda não foi enviada nenhuma avaliação.

[Your review](https://wordpress.org/support/plugin/post-picker-for-gravity-forms/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/post-picker-for-gravity-forms/reviews/)

## Colaboradores

 *   [ YMMV Plugins ](https://profiles.wordpress.org/ymmvplugins/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/post-picker-for-gravity-forms/)