Functions
The shortcode
[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?
Thank you. It helps us make the documentation better. Need more help?