Skip to main content

Merge tag: {current_post:PROPERTY}

Current post. A property of the post being viewed. Works on archives as well as single posts, which is what separates it from {embed_post}.

ProductGravityView
RequiresGravityView 1.21.5 or later
Needs an entryNo

Parameters

NameTypeRequiredDefaultDescription
Post propertytextNopermalinkAny property of the post being viewed. The list shows the common ones; others work too.

Values for Post property

ValueDescription
permalinkPermalink (default)
IDPost ID
post_titleTitle
post_nameSlug
post_authorAuthor ID
post_datePublished date
post_excerptExcerpt

Other values are accepted too.

Examples

Rendered by real Gravity Forms and GravityKit PHP against a test entry.

Merge tagOutput
{current_post}http://fixture.gravitykit.test/?page_id=4
{current_post:permalink}http://fixture.gravitykit.test/?page_id=4
{current_post:ID}4
{current_post:post_title}Contact us
{current_post:post_name}contact-us
{current_post:post_author}2
{current_post:post_date}2026-01-10 12:00:00
{current_post:post_excerpt}Send us a note and we will reply within a day.