=== HandL Hide Content ===
Contributors: haktansuren
Donate link: http://www.haktansuren.com/
Tags: handl,hide,show,content,GET,REQUEST,POST
Tested up to: 7.0
Stable tag: 1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

HandL Hide Content is for people who want to hide contents based on the GET,REQUEST or POST parameters. 

== Description ==

With this very simple yet useful plugin, you can create your own rule for hiding content in your WP post or page.

Usage is very simple:

if you want to hide your content **ONLY** when foo=bar. Use the following.

`[HandL_HIDE foo=bar]

Your rich content goes here. You can include anything: text, image and yes even videos (embed).

[/HandL_HIDE]`

The example content above will only be *HIDDEN* for the following URLS

` http://yourdomain.com/?foo=bar `
` http://yourdomain.com/?foo=bar&anotherfoo=anotherbar ` etc..

The example content above will **NOT** be hidden for the following URLS

` http://yourdomain.com/?foo=otherbar `
` http://yourdomain.com/?foo= ` etc..

Similarly if you want to show your content **ONLY** when foo=bar. Use the following.

`[HandL_SHOW foo=bar]

Your rich content goes here. You can include anything: text, image and yes even videos (embed).

[/HandL_SHOW]`

The example content above will only be *SHOWED* for the following URLS

` http://yourdomain.com/?foo=bar `
` http://yourdomain.com/?foo=bar&anotherfoo=anotherbar ` etc..

The example content above will **NOT** be visible for the following URLS

` http://yourdomain.com/?foo=otherbar `
` http://yourdomain.com/?foo= ` etc..

You can also use *OR* statement in your logic. For example

if you want to show the content when foo=bar1 **OR** foo=bar2, simply use

`[HandL_SHOW foo="bar1||bar2"]`

hide shortcode works similar way as well

`[HandL_HIDE foo="bar1||bar2"]`

You can use the shortcode in Optimize Press as well. Usage is shown in screenshot section. 

== Installation ==

This section describes how to install the plugin and get it working.

1. Upload `handl-hide-content` folder to the `/wp-content/plugins/` directory via FTP
1. Activate the plugin through the 'Plugins' menu in WordPress

== Frequently Asked Questions ==

*No question so far :)*

== Screenshots ==

1. To use it in OptimizePress, first edit the row
1. And then use the shortcode in following fields

== Changelog ==

= 1.0 =
* Hello World :)

= 1.1 =
* Readme file edited (rookie mistake :) )
