Title: HandL Hide Content
Author: Haktan Suren
Published: <strong>2016 年 2 月 19 日</strong>
Last modified: 2026 年 5 月 23 日

---

搜索插件

![](https://ps.w.org/handl-hide-content/assets/banner-772x250.png?rev=1354331)

![](https://ps.w.org/handl-hide-content/assets/icon-256x256.jpg?rev=1354331)

# HandL Hide Content

 作者：[Haktan Suren](https://profiles.wordpress.org/haktansuren/)

[下载](https://downloads.wordpress.org/plugin/handl-hide-content.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/handl-hide-content/#description)
 * [评价](https://cn.wordpress.org/plugins/handl-hide-content/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/handl-hide-content/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/handl-hide-content/#developers)

 [支持](https://wordpress.org/support/plugin/handl-hide-content/)

## 描述

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.

## 屏幕截图

[⌊To use it in OptimizePress, first edit the row⌉⌊To use it in OptimizePress, first
edit the row⌉[

To use it in OptimizePress, first edit the row

[⌊And then use the shortcode in following fields⌉⌊And then use the shortcode in 
following fields⌉[

And then use the shortcode in following fields

## 安装

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
 2. 通过WordPress的的“Plugins”菜单激活插件

## 常见问题

_No question so far 🙂_

## 评价

此插件暂无评价。

## 贡献者及开发者

「HandL Hide Content」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Haktan Suren ](https://profiles.wordpress.org/haktansuren/)

[帮助将「HandL Hide Content」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/handl-hide-content)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/handl-hide-content/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/handl-hide-content/)，或通过[RSS](https://plugins.trac.wordpress.org/log/handl-hide-content/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/handl-hide-content/)。

## 更新日志

#### 1.0

 * Hello World 🙂

#### 1.1

 * Readme file edited (rookie mistake 🙂 )

## 额外信息

 *  版本 **1.1**
 *  最后更新：**3 周前**
 *  活跃安装数量 **10+**
 *  已测试的最高版本为 **7.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/handl-hide-content/)
 * 标签
 * [content](https://cn.wordpress.org/plugins/tags/content/)[GET](https://cn.wordpress.org/plugins/tags/get/)
   [handl](https://cn.wordpress.org/plugins/tags/handl/)[hide](https://cn.wordpress.org/plugins/tags/hide/)
   [show](https://cn.wordpress.org/plugins/tags/show/)
 *  [高级视图](https://cn.wordpress.org/plugins/handl-hide-content/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/handl-hide-content/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/handl-hide-content/reviews/)

## 贡献者

 *   [ Haktan Suren ](https://profiles.wordpress.org/haktansuren/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/handl-hide-content/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](http://www.haktansuren.com/)