# Step 3. Show it in your theme

> In the template of the page (for example page.php):

Source: https://uglydev.com/docs/quickstart/step-3-show-it-in-your-theme/
Updated: 19 November 2026

```php
<h1><?php ugly_show( 'headline' ); ?></h1>
```

That is all. `ugly_show()` prints the value, already safe for what it is.

When you need the value to decide something instead of printing it, use `ugly_get()`:

```php
<?php if ( ugly_get( 'headline' ) ) : ?>
	<section class="hero">
		<h1><?php ugly_show( 'headline' ); ?></h1>
	</section>
<?php endif; ?>
```

> **Tip:** to print a value inside the content of a page, use the shortcode: `[ugly-fields field="headline"]`.
