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

Post Content Merge Tags for Gravity Forms Post & User Creation (1.1.0)

GravityExtra
Post Content Merge Tags for Gravity Forms Post & User Creation (1.1.0)

Gravity Forms is very good at collecting a submission and acting on it. The Post & User Creation Pro add-on takes that one step further: a single form can create or update a post of any post type, or register and update a WordPress user, every time it is submitted. Version 1.1.0 closes the last gap in that workflow — telling people, and the rest of your site, what was just created. It does that with a set of post content merge tags: result tags you can drop into notifications and confirmations, an upload modifier that turns a File Upload field into an image, and a clean all-fields tag that is safe to print in a public post body.

This article walks through each of the new tags, explains exactly when they resolve (and when they do not), and shows how to use them in a real front-end posting or registration flow.

Why result merge tags matter

Think about a classic front-end posting form. A visitor fills in a title, a description and a photo, and your feed turns that into a pending post for review. Before 1.1.0 you could send a notification that said “a new submission arrived”, but you could not link to the post itself, because the post did not exist until the feed ran. The reviewer had to open the entry, find the post, and click through. The same was true for registration: you could welcome a new member, but you could not drop a link to their profile or tell them their username in the same breath.

Result merge tags fix that. When a feed creates or updates a post, the add-on records the post on the entry. When a feed registers or updates a user, it records the user. Your notifications and confirmations can then reference the result directly, so the person reading the email lands on the right post or profile with one click.

The post and user result merge tags listed in the form editor, and a notification that resolves them to the created post
The result merge tags in the picker, and a notification that resolves them to the real post the feed just created.

The post result tags

When a feed with a “Create a post” or “Update a post” action runs, these tags become available for that entry:

  • {post_id} — the ID of the post that was created or updated.
  • {post_url} — the public permalink of the post.
  • {post_edit_link} — the wp-admin edit link, handy for a reviewer notification.
  • {post_title} — the post title, after your title merge tags were applied.
  • {post_status} — the status the feed set: draft, pending, publish or private.

A reviewer notification might read: “A new event, {post_title}, is waiting for review ({post_status}). Edit it here: {post_edit_link}.” A visitor confirmation might say: “Thanks! Your post is live at {post_url}.” Because the post was linked to the entry natively, Gravity Forms’ own {post_id} tag also points at the created post, and the entry list shows the post alongside the submission.

The user result tags

For a feed that registers a user or updates the logged-in user, the matching set is available:

  • {user_id} — the new or updated user’s ID.
  • {user_login} — their username.
  • {user_profile_url} — their public author URL.
  • {user_edit_link} — the wp-admin link to edit the user.
  • {user_role} — the role they were given.

A welcome email can now greet a member by username and send them to their profile, while an admin copy of the same notification can carry the edit link and the role, so whoever manages the site can act without digging through the users screen.

When the tags resolve — and when they do not

This is the most important thing to understand, and the add-on is deliberately conservative about it. Gravity Forms processes feeds first and sends a form’s submission notifications afterwards. In the standard flow — a visitor submits, the feed creates the post or user, then the submission notification and confirmation are built — the result is already recorded, so every tag resolves to the real post or user.

If a notification is sent before the feed runs, the tags resolve to an empty string instead of a stale or wrong value. That can happen if a payment add-on delays the feed until after payment, or if you fire an email from a custom hook early in the request. The guiding rule is simple: the tags are never wrong; at worst they are blank. If you need a notification to carry the post link, let it send on the standard form submission event so it runs after the feed, or use your payment add-on’s “after the feed” delivery. The feed settings screen spells this out next to the list of available tags, so nobody is surprised.

Rendering an uploaded image in the post body

Post bodies in 1.1.0 can show an uploaded file as an image. In the feed’s Content field, use {Upload:FIELD_ID:img} to render the uploaded image inline, or {Upload:FIELD_ID:gallery} to show several uploaded files as a simple gallery. Replace FIELD_ID with the id of the File Upload field on your form. The modifier only applies to File Upload fields, and the markup is plain, theme-friendly image tags, so your theme styles them like any other content image.

This means a submitted event, product or listing can carry its own photo straight into the post body, without a second step to attach media. It sits alongside the existing featured image option, so you can both set a featured image and place a gallery in the body of the post.

A clean all-fields list that respects privacy

Gravity Forms’ built-in all-fields output is designed for notifications, and it can include administrative and hidden fields. Printing that into a public post body is risky: an internal note or a hidden value you prepopulated from the page could end up on the front end. Version 1.1.0 adds {all_fields_public} for exactly this case. It lists every submitted field except admin-only (administrative) and hidden fields, so the post body shows what a visitor was allowed to see and nothing else.

Use it when you want a tidy, automatic summary of a submission in the post — a directory listing, a classified ad, a community event — without hand-picking each field. Anything you marked administrative, and any hidden field, is simply left out.

Putting it together

A front-end event submission form is a good example of all three features at once. The feed creates a pending event post, sets the title from the event name, builds the body with a short description, an {Upload:ID:img} poster and an {all_fields_public} summary, and sets a featured image. The reviewer notification uses {post_edit_link} and {post_status} so a moderator can approve it in one click. The visitor confirmation uses {post_url} once the post is published. If the same form also registers the submitter as a contributor, a welcome email greets them with {user_login} and links to {user_profile_url}.

Upgrading from 1.0.x (1.0.1 or 1.0.0)

Most sites are on 1.0.1, and some are still on 1.0.0; both update the same way. Updating is an in-place update: install 1.1.0 over the old plugin, in the same folder, and your feeds, settings and entries are untouched. The 1.0.1 fix for running alongside other GravityExtra add-ons is included. None of the new tags change anything on their own — they only do something once you add them to a notification, a confirmation or a post body. If you do nothing, your forms behave exactly as they did in 1.0.x. Every new tag needs an active licence for the add-on; the result tags go into notifications and confirmations, and the image modifier and {all_fields_public} go into the Content field of a feed under Form → Settings → Post & User Creation.

Post & User Creation Pro remains focused on one job: turning a Gravity Forms submission into real content and real accounts, safely. With post content merge tags, the people involved finally hear about the result the moment it happens. You can find the add-on on the Post & User Creation Pro page, and every setting in the setup guide.

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