Skip to content

Instantly share code, notes, and snippets.

@waltermesser
Created June 21, 2016 21:09
Show Gist options
  • Save waltermesser/da6fbe303de1193280abf555754827f2 to your computer and use it in GitHub Desktop.
Save waltermesser/da6fbe303de1193280abf555754827f2 to your computer and use it in GitHub Desktop.
//Create a trigger from standard text.
[popup_trigger id="123"]Some Text[/popup_trigger]
//Make the trigger a <button>
[popup_trigger id="123" tag="button"]Button Text[/popup_trigger]
// Or even use other shortcodes.
[popup_trigger id="123"][button_shortcode][/popup_trigger]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment