[wordpress插件] Conditional Blocks – Control any Gutenberg Block条件块–控制任何古腾堡块

wordpress 插件 文章 2020-03-30 03:10 432 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

Conditional Blocks allows you to create a unique experience for your visitors and customers.

Conditional Blocks可让您为访问者和客户创造独特的体验。

Conditionally hide any Gutenberg Block, even third-party blocks!

有条件地隐藏任何古腾堡块,甚至是第三方块!

What can conditional blocks do?

条件块可以做什么?

Included Conditions:

包含条件:

    • Show or Hide block based user state (logged in or out users).
    • 显示或隐藏基于块的用户状态(已登录或注销的用户)。

    • Show blocks depending on screen size (mobile, tablet, desktop).
    • 根据屏幕尺寸(移动设备,平板电脑,台式机)显示块。

    Learn more about the features

    详细了解功能

    Pro Conditions:

    专业条件:

      • Show block depending on user rules (WooCommerce Customer, editors etc).
      • 根据用户规则(WooCommerce客户,编辑器等)显示阻止。

      • Show block for specific Date Ranges.
      • 显示特定日期范围的块。

      • Show block for any device (iPhone, Android, macOS and Windows).
      • 显示任何设备(iPhone,Android,macOS和Windows)的阻止。

      • Show block based URL Referer (e.g if user came from Google.com).
      • 显示基于块的URL引用(例如,如果用户来自Google.com)。

      • Show block on Custom Field value.
      • 在“自定义字段”值上显示块。

      Learn about Conditional Blocks Pro

      了解有关条件块专业版的信息

      Restrict Gutenberg Blocks

      限制古腾堡街区

      Restrict any Gutenberg block by simply clicking on it, You’ll be able to set it to appear for logged in or out users only.

      只需单击即可限制任何Gutenberg阻止,您就可以将其设置为仅对已登录或退出用户显示。

      Great for creating members only content on your site.

      非常适合在网站上仅创建成员内容。

      Control Mobile Blocks

      控制移动块

      Sometimes blocks don’t fit well on mobile devices.

      有时,障碍物在移动设备上不太适合。

      You can select specific screen sizes to display your blocks on, and exclude them from others!

      您可以选择特定的屏幕尺寸来显示您的图块,并从其他图中排除它们!

      Pick and choose if the block should be shown on mobile, tablet or desktop.

      选择并选择是否在移动设备,平板电脑或台式机上显示该屏蔽。

      Compatibility

      兼容性

      We’ve tested Conditional Blocks with the follow plugins:

      我们已经使用以下插件测试了条件块:

        • Stackable
        • 可堆叠

        • Atomic Blocks
        • 原子块

        • CoBlocks
        • CoBlocks

        Please reach out on support if you are experiencing issues with another plugin.

        如果您遇到其他插件的问题,请寻求支持。

安装步骤

Conditional Blocks for Gutenberg Installation Instructions:

古腾堡安装说明的条件块:

    1. Upload the Conditional Blocks plugin to your /wp-content/plugin/ directory or through the plugin admin section under “add new”.,
    2. 将条件块插件上传到您的/ wp-content / plugin /目录,或通过“添加新”下的插件管理部分上传。,

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.,
    4. 通过WordPress中的“插件”菜单激活插件。

    5. That’s it!
    6. 就是这样!

下载地址
https://downloads.wordpress.org/plugin/conditional-blocks.zip
-EOF-

AI助手支持GPT4.0