Skip to main content

mbr_popup_inline

Usage

This shortcode returns a HTML link which triggers a WordPress ThickBox popup window displaying the code embedded between the shortcodes opening and closing tags.

Parameters

ParametersDescription
titleSpecifies the title for the popup window. Ignored when the modal parameter is true.
Default: none.
Required: no.
link_textSpecifies the text to be used for the HTML link anchor text. Only applicable when the autopopup parameter is false.
Default: none.
Required: yes.
wSpecifies the width of the popup window.
Default: 500
Required: no.
hSpecifies the height of the popup window.
Default: 400
Required: no.
autopopupSpecifies whether the popup window should automatically popup on entering the page or whether the user should click a link to display the popup.
Default: false
Required: no.
delaySpecifies the delay in seconds before which an autopopup window should display.
Default: 0
Required: no.
modalSpecifies if the popup window should open as a modal popup window.
Default: false
Required: no.
modal_reload_afterSpecifies whether the underlying page should be reloaded upon exiting a modal popup window.
Default: true except when autopopup is also true and then the default is false
Required: no.
close_linkSpecifies the text to be used for the modal popup window close link.
Default: Close
Required: no.

Validity

This shortcode is evaluated for any type of visitor.

Conditional Branching

This shortcode does NOT support conditional branching with [ELSE_popup_inline].

Nesting

Shortcode nesting is NOT supported.

Examples

Display a popup window titled Bonus Video after the user clicks the link labelled Click here to watch the video, sized as 800 pixels wide and 500 pixels high with content including My Header, Paragraph 1 and Paragraph 2:

[mbr_popup_inline title='Bonus Video' link_text='Click here to watch the video' w='800' h='500']
My Header
Paragraph 1
Paragraph 2
[/mbr_popup_inline]

API

info

There is currently no ActiveMember360 API function equivalent for this shortcode.