scf-post-field

Outputs custom field of the post. If ID or Slug is provided, outputs the custom field of that particular post.

Short Code

[scf-post-field]

Attributes

Attribute Description Default Value
id ID of the target post. Optional
slug The slug of the target post. This takes precedence over ‘id’ attribute. If you use ‘id’ and ‘slug’ attribute, the ‘id’ attribute is ignored. Optional
name Name (slug) of the custom field. Required
separator In case custom field has multiple values stored as an array or object. By default separated with a comma. Optional , (a comma)