Skip to content

Instantly share code, notes, and snippets.

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