i4w_permalink
Usage
This shortcode returns the permalink of the current page or post if no ID is specified or that of another page/post if an ID is provided.
[ELSE_permalink] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
| Parameter | Description | Default | Required |
|---|---|---|---|
| post_id | Specifies the WordPress page or post ID whose permalink (URL) is to be retrieved. | current page/post | No |
Example
Shortcode
[i4w_permalink]
Shortcode
[i4w_permalink post_id='1234']