mbr_popup_page
Usage
This shortcode returns a HTML link which triggers a WordPress ThickBox popup window containing the content loaded from the specified web URL.
The content embedded between the shortcodes opening and closing tags is used as the link text.
Parameters
Parameters | Description |
---|---|
title | The title for the popup window. Default: none. Required: no. |
url | The URL to be loaded into the popup window. Default: none. Required: yes. |
w | The width of the popup window. Default: 500 Required: no. |
h | The height of the popup window. Default: 750 Required: no. |
Validity
This shortcode is evaluated for any type of visitor.
Conditional Branching
This shortcode does NOT support conditional branching with [ELSE_popup_page].
Nesting
Shortcode nesting is NOT supported.
Examples
- Example 1
- Example 2
Display a popup window titled 'Bonus Content' after the user clicks the link labelled 'Bonus Content', sized as 500 pixels wide and 800 pixels high containing content loaded from 'https://example.com':
[mbr_popup_page title='Bonus Content' url='https://example.com' h='800' w='500']
Display a popup window titled 'Bonus Content' after the user clicks the link labelled 'Click here to see more...', sized as 500 pixels wide and 800 pixels high containing content loaded from 'https://example.com':
[mbr_popup_page title='Bonus Content' url='https://example.com' h='800' w='500']
Click here to see more...
[/mbr_popup_page]
API
There is currently no ActiveMember360 API function equivalent for this shortcode.