Itm Simple Hide

Description

A simple plugin for wordpress which allows to show some text by clicking on other text in any page or post.
This plugin can be used as an example to create a simle plugin in WordPress that uses Javascript and JQuery from Google CDN
This plugin is available under the GPL license, which means that it’s free.

Example

/* Example copy-and paste this HTML code in any post or page to hide and show some text, images or url

Click here to toggle next DIV

<div class="itm_simple_hidden">Here you may place any HTML text, Url , Video Iframe or  images to hide.</div>   

<div class="contingut_complert">
<div ><strong>Title</strong> or previous text </div> 
<div class="itm_simple_hide">[ - ]</div><div class="itm_simple_show">[ + ]</div>
This content shows at the right side of [ + ] 
<div class="itm_simple_hidden">Here you may place any HTML text, Url , Video Iframe or  images to hide.</div>   
</div>

*/

Screenshots

Installation

Just use WordPress installation. Use example code on example.txt

FAQ

None yet.

Reviews

Powerful yet simple

I’ve looked lots of plugins to hide and show a field of a contact form. This one serve exactly how I want.

Plugin works fine with contact form 7.

Read all 1 review

Contributors & Developers

“Itm Simple Hide” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

Version 3.0
Tested with WP 4.6 version
Changed file name example.txt to example.html (This way you can see highlighted code)
Minor fixes in explanations example.html

Version 2.0
Deprecated old behaviour. Added new behaviour. See example inreadme.txt for example HTML code.

Version 2.0

This plugin contains 4 files
* itm-simple-2_0.php register script and uses jQuery from Google’s CDN
* itm-simple.min.js contains javascript with functionality that hides and shows text, any html links and images
* itm-simple.min.css contain CSS to change style
* readme.txt contains an example of HTML code that hides and shows text, HTML links and images