Linux 软件免费装
Banner图

Conditional Blocks - Advanced Content Visibility Control for WordPress

开发者 morganhvidt
更新时间 2024年11月13日 15:02
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 6.7
版权: GPLv2 or later
版权网址: 版权信息

标签

content restrict control hide visibility

下载

3.1.3 3.1.6 3.0.1 3.0.5 3.0.7 3.0.4 2.4.0 2.4.2 3.0.2 2.3.0 2.5.3 3.1.1 1.0.4 3.1.0 1.0.3 2.0.1 2.6.0 2.0.0 2.5.0 2.5.4 3.0.0

详情介绍:

Conditional Blocks is a powerful, no code plugin that allows you to control the visibility of any WordPress blocks with advanced logic. Replace multiple plugins with our versatile Conditional Blocks, developed for fast paced freelancers and agencies. 🌏 Get the full overview on conditionalblocks.com Create Better Sites with Less Plugins 🤩 Everything is block in modern WordPress development with Full Site Editing (FSE). In plain words, you apply visibility logic to everything. Here's some example use-cases where Conditional Blocks shines. What's Included in Conditional Blocks FREE The free version of Conditional Blocks offers 3 visibility conditions + The Conditions API for creating your own conditions . The free version is limited. Consider joining our PRO community to create better WordPress sites & support development. The Full ToolKit with Conditional Blocks Pro ✨ Conditional Blocks Pro gives you the full suite of visibility conditions & integrations with your favorite plugins. Key Features: SEE ALL CONDITIONAL BLOCKS PRO FEATURES Third-party Integrations 🔌 Conditional Blocks Pro integrations are automatically available when the supported plugins are installed. SEE ALL PRO INTEGRATIONS Advanced Usage Managing WordPress content via blocks becomes easier when you know the tips & tricks. You can find more on our blog. Draft content on live pages Use the Lockdown condition to create draft blocks inside live content, and simply remove the condition when you're ready to publish. You don't have to worry about people seeing the content before it's complete. Using the Lockdown Condition eliminates need to create a separate draft page. Apply Conditions to Groups One of our favorite methods of managing WordPress content is to use Group Blocks. If you setup a Group Blocks you can set conditions directly the Group, this means that all nested blocks inside the Group will automatically follow the same visibility conditions. Design Patterns Yes it’s also possible to pre-make dynamic templates using Conditional Blocks. You’ll have to make use of the WordPress Design Patterns. Simply make a patterns as you’ve also done while applying the visibility rules. The patterns will be ready and be conditionally displayed when you insert it on a page. We personally use the same method on Synced Patterns too. (Previously known as Reusable Blocks in Gutenberg). Restrictive content made easy Control access to any block by clicking on it within the Block Editor and using the Condition Builder to add visibility rules. Perfect for members-only content. Responsive designs simplified Effortlessly adapt your blocks for mobile, tablet, or desktop display, automatically showing or hiding content according to screen sizes. LEARN MORE MORE Block Plugins Compatibility Conditional Blocks works with any theme or plugin that uses the WordPress Block Editor (also known as Gutenberg). Block widget & Full Site Editing (FSE) within themes are also supported. Tested and compatible with: For support or help with other plugins, please get in touch.

安装:

Installation Instructions for Conditional Blocks Plugin in WordPress:
  1. Log in to your WordPress Dashboard:
  2. Open your web browser and go to your WordPress website admin page (typically yourdomain.com/wp-admin).
  3. Enter your username and password to log in.
  4. Access the Plugin Menu:
  5. In your WordPress dashboard, locate the menu on the left-hand side.
  6. Click on "Plugins" to expand the menu options.
  7. Select "Add New" to go to the plugin installation page.
  8. Search for Conditional Blocks Plugin:
  9. In the "Add Plugins" page, you'll find a search bar.
  10. Type "Conditional Blocks" into the search bar and press Enter.
  11. You should see a list of plugins related to your search query.
  12. Install the Plugin:
  13. Find the Conditional Blocks Plugin from the search results. Make sure it is the correct plugin by checking the author and reviews.
  14. Click the "Install Now" button next to the plugin name.
  15. WordPress will download and install the plugin for you.
  16. Activate the Plugin:
  17. Once the installation is complete, the "Install Now" button will change to "Activate."
  18. Click "Activate" to enable the Conditional Blocks Plugin on your WordPress site.
  19. Use Conditional Blocks:
  20. With the plugin activated and configured, you can start using conditional blocks in your posts, pages, or widgets, depending on the plugin's features.
  21. Edit a post or page, and you should see options for adding conditional logic to your content blocks within the WordPress editor sidebar.
  22. Check for Documentation:
  23. If you need more detailed instructions and usage tips please see the official documentation.

屏幕截图:

  • Condition Builder with AND, OR Logic.
  • How to customize WordPress visibility with Conditional Blocks.
  • Conditional Blocks 2.0+ - logged out/in user content block.
  • Frontend showing the logged out user block.
  • Editor options for conditionally showing block on screen sizes.
  • Frontend showing different blocks for different screensizes using responsive blocks.

常见问题:

Can I conditionally hide blocks?

Yes! You can conditionally hide any Gutenberg block using the available condition types.

Does Conditional Blocks work for block widgets?

Absolutely! Conditional Blocks integrates with Widget areas and sidebars in WordPress 5.8+.

Can I control the visibility of nested blocks inside a Group Block?

Definitely! Apply conditional visibility rules to Group Blocks and nested blocks, with additional rules customizable for each nested block.

Can I add custom conditions to my content?

With Conditional Blocks Pro, you can leverage the PHP logic condition to create custom visibility conditions for your blocks.

Can I display dynamic content based on user location?

Yes! With Conditional Blocks Pro, you can use geolocation conditions to display or hide blocks based on the user's country. Perfect for showcasing relevant content tailored to the user's location.

Can I control content visibility for A/B testing or multiple variations?

Conditional Blocks does not currently offer built-in A/B testing functionality or variation management. However, you can use custom conditions in Conditional Blocks Pro alongside third-party A/B testing tools, setting the visibility of different content variations for different user segments.

Is it possible to display content only for users who have viewed specific pages on my site?

While not a built-in feature, you can achieve this by leveraging custom conditions in Conditional Blocks Pro. Using cookies or other tracking methods, you can store a record of viewed pages and create a custom visibility condition that responds to this user-specific data.

Can I show or hide content based on form submissions or user input via forms?

Yes! With Conditional Blocks Pro, you can create custom visibility conditions that rely on URL query strings or post meta fields. This is useful when working with form plugins such as Gravity Forms, enabling you to dynamically display content based on user input or form submissions.

How do I request a feature?

We're always eager to hear your ideas! Feature Request Board and share your thoughts.

更新日志:

3.1.3 3.1.1 Changes: New: 3.1.0 For a detailed overview of all updates, visit the full release post. New Integrations [PRO Only] Features & Changes: UI & UX Improvements Custom Conditions API: 3.0.7 3.0.6 3.0.5 3.0.4 3.0.3 3.0.2 3.0.1 3.0.0 See all the details: Release post for Conditional Blocks v3 2.6.0 2.5.4 2.5.3 2.5.0 Read the full release notes 2.4.2 Tested and ready for WordPress 5.8 2.4.0 New: Lockdown Condition (Hide block for everyone). New: Most conditions now have a selectable "Block Action" where you can choose if the block should be visible or hidden when the condition is met. Improved: UI - easily to select your options, the modal is now slimmer, matching the current WordPress Admin UI colors. Improved: Refactored condition checking. Improved: Fully translatable. 2.3.0 Release notes: https://conditionalblocks.com/v2-3-woocommerce-condition/ Conditional Blocks Pro 2.0.1 2.0.0 Complete rebuild of Conditional Blocks. Please read the 2.0 introduction & release notes https://conditionalblocks.com/introducing-conditional-blocks-2-0/ 1.0.9 1.0.8 1.0.7 1.0.6 1.0.5 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0