Merge tag {site_url}
Site URL. The WordPress address (get_site_url), not the home page address. The two differ when WordPress is installed in a subfolder.
On the test entry, {site_url} gives http://fixture.gravitykit.test.
| Product | GravityView |
|---|---|
| Requires | GravityView 2.10.1 or later |
| Needs an entry | No |
This tag takes no modifiers or parameters.
Examples
Output from the real plugin code, run on a test entry.
| Merge tag | Output |
|---|---|
{site_url} | http://fixture.gravitykit.test |