# Print a field inside the content of a page

> Use the shortcode:

Source: https://uglydev.com/docs/how-do-i-read-elsewhere/print-a-field-inside-the-content-of-a-page/
Updated: 20 November 2026

**You want:** a value of a field **inside the content** of a page, written by an editor, where there is no PHP.

## How

```text
[ugly-fields field="phone" option="1"]
[ugly-fields field="headline" post="12"]
```

| Write | To get |
| --- | --- |
| `[ugly-fields field="headline"]` | The field of the current page |
| `[ugly-fields field="headline" post="12"]` | The field of post 12 |
| `[ugly-fields field="phone" option="1"]` | The field of an options page |

It prints what `ugly_show()` prints, so it is safe.

> **It must be on:** It works while **Settings → Advanced → The [ugly-fields] shortcode** is on.

> **With no code at all:** In the block editor with **Pro**, a heading or a paragraph can read a field with [Block Bindings](https://uglydev.com/docs/forms-bindings-rest-graphql/block-bindings/): no shortcode to type.
