mbr_site
Usage
This shortcode returns the contents of the specified WordPress get_bloginfo function field.
Parameters
Parameters | Description |
---|---|
field | Specifies the name of the WordPress get_bloginfo field to return. Permitted Values: As detailed for $show at get_bloginfo Default: none. Required: yes. |
Validity
This shortcode is evaluated for any type of visitor.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_site].
Nesting
Shortcode nesting is NOT supported.
Examples
- Example 1
- Example 2
- Example 3
Returns the value of the get_bloginfo field name
i.e. Site title as specified in WordPress, Settings, General, Site Title:
[mbr_site field='name']
Returns the value of the get_bloginfo field description
i.e. Site tagline as specified in WordPress, Settings, General, Tagline:
[mbr_site field='description']
Returns the value of the get_bloginfo field url
i.e. Site Address (URL) as specified in WordPress, Settings, General, Site Address (URL):
[mbr_site field='url']
API
There is no ActiveMember360 API function equivalent for this shortcode. Please use the regular WordPress function get_bloginfo.