30% Off WS Form. Limited Time Only. Unlock Deal

Post Variables

WS Form includes a range of variables that let you pull information directly from WordPress Posts. You can display post titles, IDs, dates, authors, or even custom fields in your forms. This makes it easy to create dynamic, content-aware forms that automatically adapt to the post they are embedded in.

VariableNameDescriptionUsage
#post_contentContentReturns the post content.Actions
#post_dateDate CreatedReturns the post date according to the Date Format setting found in WordPress Settings > General.Client-side & Actions
#post_date_custom("format", seconds_offset)Date / Time Created - CustomReturns the post creation date and time in the specified format (PHP date format). For more information about this variable, click here.Client-side & Actions
#post_date_modifiedDate ModifiedReturns the post modified date according to the Date Format setting found in WordPress Settings > General.Client-side & Actions
#post_date_modified_custom("format", seconds_offset)Date / Time Modified - CustomReturns the post modified date and time in the specified format (PHP date format). For more information about this variable, click here.Client-side & Actions
#post_excerptExcerptReturns the post excerpt.Actions
#post_idIDReturns the post ID.Client-side & Actions
#post_meta("key")Meta ValueReturns the post meta value for the key specified.Client-side & Actions
#post_nameSlugReturns the post slug.Client-side & Actions
#post_parentParent IDReturns the post parent ID.Client-side & Actions
#post_statusStatusReturns the post status.Client-side & Actions
#post_timeTime CreatedReturns the post creation time according to the Time Format setting found in WordPress Settings > General.Client-side & Actions
#post_time_modifiedTime ModifiedReturns the post modified time according to the Time Format setting found in WordPress Settings > General.Client-side & Actions
#post_titleTitleReturns the post title.Client-side & Actions
#post_typeTypeReturns the post type.Client-side & Actions
#post_urlPublic URLReturns the post URL.Client-side & Actions
#post_url_editAdmin URLReturns the post admin URL.Client-side & Actions