Plugin / Shortcode
What the plugin does
The content plugin reads shortcodes in articles (and other prepared content) and turns them into clickable triggers that open a module popup.
Quick start (article)
- Create or edit an article.
- Paste a shortcode where you want the button/link/image.
- Save and open the article on the front end.
- Click the trigger — the popup should open.
Basic shortcode
{popanymodule id="16" text="Open Login Form"}
id = the target module ID. text = what the visitor clicks.
Styled button
{popanymodule id="16" text="Open Login" class="ibtn ibtn-primary" icon="fas fa-sign-in-alt" lazy="true" hash="true" hashslug="modern-login"}
Image trigger with overlay
{popanymodule id="16" image="images/thumb.jpg" alt="Open login" overlaytext="Sign in" overlayeffect="slide-up" overlaybgcolor="#1819ed"}
Gallery (next / prev between two modules)
{popanymodule id="16" text="Login" class="ibtn ibtn-primary" rel="my-gallery"}
{popanymodule id="213" text="Contact" class="ibtn" rel="my-gallery"}
Use the same rel value on every item in the group.
Attribute reference
id(required) — target module IDtext— link or button labelclass— CSS classes; useibtn/ibtn-primaryfor a button lookicon— Font Awesome class (example:fas fa-envelope)image/alt— image trigger path and alt textpopwidth/popheight— popup size (examples:520px,85vh). Legacy:width/heightshowtitle—true/falseshow target module title in the popuplazy—trueload content via AJAX when first openedhash/hashslug— deep link URL hash (example:#deep-login)rel— gallery group name- Image overlay:
overlaytext,overlayeffect,overlaybgcolor,overlaytextcolor,imgwidth,imgheight,imgradius
Plugin defaults (backend)
Open System → Plugins → Content - Pop Any Module to set defaults used when a shortcode omits an option:
- Popup Theme (Modern or Classic)
- Lazy Load ON/OFF
- Hash / Deep Links ON/OFF
- Opening / closing effects and speeds
- Overlay colors, Modern design (width, blur, accent), image overlay defaults
- Extra CSS
Shortcode attributes always override plugin defaults for that one trigger.