i4w_wpcf
This shortcode provides a simple mechanism to display the content of a WordPress custom field in a post or page.
[ELSE_wpcf] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
Section titled “Parameters”| Parameter | Description | Default | Required |
|---|---|---|---|
| post_id | The page/post ID of the page or post from which the custom field is to be retrieved. | current page/post | No |
| field | The name of the custom field to be used. | None | Yes |
Example
Section titled “Example”[i4w_wpcf field='wp_custom_field'][i4w_wpcf post_id='1234' field='wp_custom_field']