Title: Block Conditions &#8211; Hide WordPress block for various conditions
Author: Chintesh Prajapati
Published: <strong>2021 年 1 月 19 日</strong>
Last modified: 2021 年 5 月 7 日

---

搜索插件

![](https://ps.w.org/block-conditions/assets/banner-772x250.png?rev=2458676)

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://ps.w.org/block-conditions/assets/icon-256x256.png?rev=2458676)

# Block Conditions – Hide WordPress block for various conditions

 作者：[Chintesh Prajapati](https://profiles.wordpress.org/chinteshprajapati/)

[下载](https://downloads.wordpress.org/plugin/block-conditions.zip)

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

 [支持](https://wordpress.org/support/plugin/block-conditions/)

## 描述

Block conditions provide you various conditions for show/hide your block. Like hide
in specific countries, For logged in user or logged out user, For specific devices
Like mobile,desktop,tablet. It gives you an amazing experience to edit posts and
restrict content for device,countries,user state specific.

Note: This plugin use the [http://ip-api.com](http://ip-api.com) website to fetch
user’s IP address and Location and [https://api.ipify.org/](https://api.ipify.org/)
for IP Address.

### What can Block conditions do?

Included Conditions:

 * Show or Hide block based on the user logged in or logged out.
 * Show/Hide block in mobile/desktop/tablet.
 * Hide block in specific countries.

Pro Conditions:

 * Coming Soon..!

## 安装

Block Conditions Installation Instructions:

 1. Upload the Block Conditions plugin to your /wp-content/plugin/ directory or through
    the plugin admin section under “add new”.,
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.,

## 常见问题

### Which block i can hide conditional?

Almost all blocks you can show/hide conditionally even if they are Third party plugin
or Default WordPress blocks.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Block Conditions – Hide WordPress block for various conditions」是开源软件。 以下
人员对此插件做出了贡献。

贡献者

 *   [ Chintesh Prajapati ](https://profiles.wordpress.org/chinteshprajapati/)

[帮助将「Block Conditions – Hide WordPress block for various conditions」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/block-conditions)

### 对开发感兴趣吗?

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

## 更新日志

#### 1.0.0

 * initial Release of Block Conditions.

## 额外信息

 *  版本 **1.0.0**
 *  最后更新：**5 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **5.7.15**
 *  PHP 版本 ** 7.2 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/block-conditions/)
 * 标签
 * [conditional blocks](https://cn.wordpress.org/plugins/tags/conditional-blocks/)
   [conditional content](https://cn.wordpress.org/plugins/tags/conditional-content/)
   [hide content](https://cn.wordpress.org/plugins/tags/hide-content/)[responsive](https://cn.wordpress.org/plugins/tags/responsive/)
   [restrict blocks](https://cn.wordpress.org/plugins/tags/restrict-blocks/)
 *  [高级视图](https://cn.wordpress.org/plugins/block-conditions/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/block-conditions/reviews/#new-post)

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

## 贡献者

 *   [ Chintesh Prajapati ](https://profiles.wordpress.org/chinteshprajapati/)

## 支持

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

 [查看支持论坛](https://wordpress.org/support/plugin/block-conditions/)