i4w_wpcf
Usage
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
| 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
Shortcode
[i4w_wpcf field='wp_custom_field']
Shortcode
[i4w_wpcf post_id='1234' field='wp_custom_field']