Skip to content

Instantly share code, notes, and snippets.

@L1fescape
Created January 25, 2014 01:40
Show Gist options
  • Save L1fescape/8610448 to your computer and use it in GitHub Desktop.
Save L1fescape/8610448 to your computer and use it in GitHub Desktop.
<a onclick="wp_showhide.main(this, 'spoiler1')" href="javascript:void(0)">
["Show Text", "Hide Text", "visible"]
</a>
<div id="spoiler1">
{Content goes here}
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment