Plugin / Shortcode

Version: 3.1

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)
  1. Create or edit an article.
  2. Paste a shortcode where you want the button/link/image.
  3. Save and open the article on the front end.
  4. 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 ID
  • text — link or button label
  • class — CSS classes; use ibtn / ibtn-primary for a button look
  • icon — Font Awesome class (example: fas fa-envelope)
  • image / alt — image trigger path and alt text
  • popwidth / popheight — popup size (examples: 520px, 85vh). Legacy: width / height
  • showtitle — true/false show target module title in the popup
  • lazy — true load content via AJAX when first opened
  • hash / 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.