Skip to content

Instantly share code, notes, and snippets.

@danieliser
Created September 17, 2015 00:26
Show Gist options
  • Select an option

  • Save danieliser/56f5f6a896c23da6de1c to your computer and use it in GitHub Desktop.

Select an option

Save danieliser/56f5f6a896c23da6de1c 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