🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 22, 2026

How to Create GeoDirectory Listings From a Gravity Forms Form

GravityExtra
How to Create GeoDirectory Listings From a Gravity Forms Form

A directory lives or dies by the quality and the quantity of its listings. GeoDirectory is a free plugin that gives a WordPress site the structure of a directory: places with a map, categories, tags, custom fields, reviews and an add listing page. Many site owners want more control over how places come in. They want a form they already know, with steps, conditions, payments and spam tools. Gravity Forms is that form builder, and the missing link has been a clean way to turn an entry into a real GeoDirectory listing.

A Gravity Forms form to add a place to a GeoDirectory directory: listing name, description, address, a category list filled by the add-on, tags, phone, email, website and a photo upload
A normal Gravity Forms form, with the category list filled from GeoDirectory by the add-on.

Why Use a Gravity Forms Form for Listings

GeoDirectory has its own add listing form, and it works. The reasons to use Gravity Forms instead are practical. You may want a short first step and a longer second step, show a field only when a category is picked, take a payment before anything is created, add a consent box, use a captcha you already trust, or collect answers that are not part of the listing at all, such as who is sending the form and why. You may also want one form on a landing page and another one for owners to correct their data later.

The Gravity Forms Place Listings Premium Add-on from GeoDirectory’s side is invisible. It saves the listing with the same WordPress functions GeoDirectory uses for its own form, so the detail table, the categories, the tags and the images are written by GeoDirectory itself, and every filter and action it fires still runs. Your theme, your other GeoDirectory add-ons and your search keep working without change.

What You Need

  • Gravity Forms 2.9 or newer.
  • The free GeoDirectory plugin, version 2.8.0 or newer, with its listing type set up.
  • The Place Listings add-on and its license key.

There is no outside service, no API key and no extra account. The add-on only talks to your own WordPress site.

Step by Step: Create a Listing From a Form

  1. Build a Gravity Forms form with a name, a description, an address, a category and the answers you need. Add an email field for visitors without an account.
  2. Open the form settings, choose Place Listings and add a feed. Pick the post type and the status of a new listing, usually pending review.
  3. Choose who owns the listing and map the email and the name of the owner.
  4. Map the listing title, the description, the address and the category. Map any custom field in the table below.
  5. Send a test entry. Open the entry: the notes say that the account was created and that the listing was created with its status, location and categories.
The Place Listings feed settings in Gravity Forms: mode, post type, status of a new listing, the featured option, who owns the listing and the account fields
One feed: what to create, with which status, and who owns it.

The Address and the Map Position

For the address, use a Gravity Forms Address field, or map single fields. The add-on splits the address into street, second line, city, region, postal code and country. The country is written as a name, because that is how GeoDirectory keeps it, even when Gravity Forms stores a country code. For the pin on the map, map a latitude and a longitude. They can be hidden fields filled by a map picker or by your own geocoding. A value that is not a valid coordinate is skipped with a note, and the listing is still created, so a typo never loses a submission.

Custom Fields, Categories and Tags

GeoDirectory listings have custom fields: a phone, an email, a website, a price range, opening notes and anything you add. The add-on lists the fields of the listing type and lets you connect each to a form field. It respects the type of the field. A number field takes numbers only, a choice must be one of its options, a date is read and written the way GeoDirectory expects, a link must start with http or https and an email must be an email. If a value does not fit, that one field is skipped with a clear note on the entry, and the rest of the listing is saved.

Categories can come from a drop down, radio buttons, check boxes or text. The answer can be the id, the slug or the name, and only categories that exist are used. The add-on can also fill the choices of a field with the categories of the post type, children indented, so a new category appears in the form as soon as you create it. Tags are a comma separated list.

Photos From the Form

Map an upload field to the featured image and another to a gallery. You choose the most images to keep, up to ten. The add-on checks that each file is a real picture that Gravity Forms stored on your site, copies it to the temporary folder GeoDirectory reads its own uploads from, and lets GeoDirectory save it. The featured image, the order and the thumbnails then work as for any listing. Files that are not pictures, other file types and files outside the Gravity Forms uploads are skipped with a note.

Safe Owners

A form that creates accounts is a public door, so the add-on is careful. The owner is the logged-in user, or a new account made from the email in the form. It never takes over an existing account. If a visitor types the email of a user who already exists, the feed refuses and writes a note. You can choose to attach the listing to that account, but only when the account has no editing or administration rights, so typing the address of an administrator or an editor never works. A new account never gets a role that can edit content or manage the site, whatever the feed says.

Let Owners Correct Their Listing

Switch the feed to the update mode and owners can edit their own listing with a pre-filled Gravity Forms form. The form opens from a link that carries the listing number. It shows the title, the description, the address, the category, the tags and the custom fields you mapped, and it opens only for the owner. Other users, administrators included, see a message, unless you let site managers edit. The owner is checked again when the form is sent, using a signed reference, so editing the address of the page or forging a request changes nothing.

A field that the owner clears is cleared in the listing. New photos are added to the ones the listing has, or replace them. The status of the listing is not changed by an edit, so an approved listing stays approved.

Know What Happens in GeoDirectory

The event feed turns GeoDirectory activity into Gravity Forms entries and notifications. When a listing is saved, created or edited by anyone, and when a listing becomes published, the feed can add an entry with the title, the link, the status, the city, the categories and the owner, send the notifications of the form, or do both. Use it for a moderation queue that your editors work through, an alert when a new place arrives, or a message to the owner when the listing goes live. You can limit it to some post types and to new listings only.

The GeoDirectory event feed settings: listing saved, listing published, new listings only, post types, add an entry, send notifications and the entry field map
The event feed turns GeoDirectory activity into entries and notifications.

A Contact Form That Never Shows the Address

Visitors often want to ask a place a question. Showing the email of the place invites spam, and a plain mailto link is no better. The contact feed turns a Gravity Forms form on the page of a listing into a message for its owner. In the notification, type the merge tag for the owner email in the Send To box. The message is sent to the email of the listing, or to the email of the owner account if you allow that fallback. The address is not in the page, the entry, the confirmation or any message, so there is nothing to harvest.

The form carries a signed reference to the listing it sits on. A visitor cannot make it write to another listing, and a listing that is not published cannot be written to. Outside a listing page the form is hidden, or replaced by a short message.

Paid Listings

For paid listings, connect the form to a payment add-on and tick the option to create the listing only when the payment is completed. Until then no listing and no account exist. When the payment goes through, the listing is created once. You can also mark the listing as featured for a paid entry. The featured flag is set only by the feed, never by an answer in the form.

Practical Setups

  • A public submission form that creates pending listings for your editors.
  • A paid listing form that runs after payment and features the listing.
  • An owner dashboard with an edit form and an edit link on every listing.
  • A moderation alert for new listings.
  • A contact form in the tabs of every listing.

Questions People Ask

Does the add-on need paid GeoDirectory add-ons?

No. It works with the free plugin and its listing types.

Will GeoDirectory treat the listing like one made with its own form?

Yes. The listing is saved with the same WordPress functions, so GeoDirectory writes its own tables, terms and images and fires its own actions.

Does it work with several Gravity Forms forms?

Yes. Each form has its own feeds, and one form can have several feeds, for example one that creates a listing and one that logs the event.

To see every option, read the Place Listings setup guide, or visit the Gravity Forms Place Listings Premium Add-on page.

See the Place Listings add-on

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr