Skip to content
Custom fields for WordPress that are quick to build and quick to load. Get Pro
Docs

Functions

The shortcode

1 minute to read Updated 1 week ago

[ugly-fields field="name"]
[ugly-fields field="name" post="12"]
[ugly-fields field="name" option="1"]

Prints a field inside content, the way ugly_show() does in a theme. It works while Settings → Advanced → The [ugly-fields] shortcode is on (it is on by default).

Attribute Meaning
field The Code name of the field
post The ID of another post
option 1 to read an options page

Did this article answer your question?