A URL field stores a single web address and validates it as it is typed. Use it when you need only the address — if you also want link text and a target, use a Link field instead.
What It Does
The field stores a URL string. It is deliberately narrower than a Link field: one value, no title, no target.
Before You Start
- Nexter Extension is installed and active.
- Content Fields is enabled under Nexter → Content Fields.
- You have a field group, or are about to create one.
Add a URL Field
- Go to Nexter → Content Fields and open the Group Fields tab.
- Open a field group, or create a new one.
- Click Add Field.

- Set Field Label to Virtual tour link. The Field Name fills in automatically and is what you use in code.
- Set Field Type to URL.

- Click Update.


Field Settings
Every field is configured across four tabs. These are the settings this field type offers, read from the field group builder in Nexter Extension 4.9.0.
General
| Setting | Options | What it does |
|---|---|---|
| Default Value | No help text in the UI. |
Validation
| Setting | Options | What it does |
|---|---|---|
| Required | No help text in the UI. |
Presentation
| Setting | Options | What it does |
|---|---|---|
| Instructions | No help text in the UI. | |
| Placeholder Text | No help text in the UI. | |
| Prepend | No help text in the UI. | |
| Append | No help text in the UI. | |
| Wrapper Attributes | No help text in the UI. |
Conditional Logic
| Setting | Options | What it does |
|---|---|---|
| Conditional Logic | No help text in the UI. |
When to Use It
- A virtual tour or external demo link.
- A source or reference URL.
- A social profile on a team member.
Display the Value
Always pass a URL through esc_url():
<?php
$url = nxt_field_value( 'tour' );
if ( $url ) {
printf(
'<a href="%s" target="_blank" rel="noreferrer noopener">View the tour</a>',
esc_url( $url )
);
}
Limitations
- Stores the address only. For link text and target as well, use a Link field.
- Validation checks the format, not that the page exists.
Troubleshooting
The link goes to a page on my own site
The stored value is missing its scheme, so the browser treats it as relative. Save the full address including https://.
I need the link to show custom text
A URL field stores only the address. Either hard-code the text as above, or switch to a Link field.










