Merge tag {get:PARAM}
URL query parameter. A value from the page URL. Several values are joined with ", ". Escaped with esc_html() by default.
On the test entry, {get:search} gives rocket science.
| Product | GravityView |
|---|---|
| Requires | GravityView 1.15 or later |
| Needs an entry | No |
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| Query parameter name | text | Yes | — | The parameter's name, not its value: on a page ending ?search=widgets, {get:search} shows widgets. |
Examples
Output from the real plugin code, run on a test entry.
| Merge tag | Output |
|---|---|
{get:search} | rocket science |