WP ShowHide Elements

 Adds a Javascript for you to hide or show what ever ID you want, with a mouse click. You need to add some code to your theme to make it work. With this you can create dynamic menus that can easily be hidden or shown.

Install

  1. Upload the FOLDER ‘wp-showhide-elements’ to the /wp-content/plugins/
  2. Activate the plugin ‘WP ShowHide Elements’ through the ‘Plugins’ menu in admin

Usage

  1. Create a div to show / hide. Add an ID and name it whatever you want.
  2. Create an anchor and add the ID of your div into wp_show() function.
<p id="mytest">my text</p>
<a href="javascript:void(0);" onclick="wp_showhide('mytest')">my link</a>

Filed under WordPress · Tagged with

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!

Easy AdSense by Unreal