ವಿವರಣೆ
Visiblix Block Rules adds a Visibility Conditions panel to every Gutenberg block. Build AND/OR rules, then show or hide content automatically on the frontend – securely, without injecting tracking scripts.
Features
- Works with any Gutenberg block
- Login status and user roles
- Device (desktop / tablet / mobile) and browser
- Date and time ranges plus recurring schedules
- Country detection via CDN headers (no remote geo API)
- URL parameters and custom fields
- WooCommerce purchase history
- Membership levels (MemberPress, Restrict Content Pro, WooCommerce Memberships)
- Allow-listed PHP callbacks for advanced logic
- Export / import condition sets as JSON
- REST API (
viblx/v1) - Request-aware caching with safe fingerprints
- Admin Dashboard, Settings, Help Center, and Developers docs
- Fully translatable (text domain:
visiblix-block-rules)
How to use
- Activate the plugin.
- Open Block Visibility in the WordPress admin menu.
- Edit any post or page in the block editor.
- Select a block and open Visibility Conditions in the sidebar.
- Enable conditions, choose Show or Hide, set AND/OR logic, and add rules.
- Update the post and preview on the frontend.
Privacy
Visiblix Block Rules does not phone home. Country rules read local CDN request headers only.
Frequently used hooks
viblx_register_conditions– register custom condition typesviblx_php_callbacks– allow-list PHP callback conditionsviblx_evaluation_context– extend evaluation contextviblx_should_render– override final visibility
See Block Visibility > Developers in wp-admin for full hook documentation with examples.
Developer notes
- Namespace:
VisiblixBlockRules\ - Global helper:
viblx() - REST namespace:
viblx/v1 - Conditions attribute:
viblxConditionson every block
Credits
Built by Mayur Paneliya. Uses the WordPress Block API, Settings API, and REST API.
License
GPLv2 or later.
ಸ್ಕ್ರೀನ್ಶಾಟ್ಗಳು




ಸ್ಥಾಪನೆ
- Upload the
visiblix-block-rulesfolder to/wp-content/plugins/, or install via Plugins > Add New. - Activate Visiblix Block Rules.
- Open Block Visibility in the admin menu.
- Edit any post, select a block, and configure Visibility Conditions.
FAQ
-
Does this work with all blocks?
-
Yes. Conditions are added to every registered block type via the Block API.
-
No. Rules apply on the frontend so editors can always manage content. An optional dashed outline highlights conditional blocks in the editor.
-
Does country detection call an external service?
-
No. The plugin only reads local CDN headers such as Cloudflare
CF-IPCountry. You can override detection with theviblx_detect_countryfilter. -
Is any visitor data sent off-site?
-
No. There is no telemetry.
-
The WooCommerce Purchase condition requires WooCommerce to be installed and active.
-
How do I add a custom PHP rule?
-
Register an allow-listed callable with the
viblx_php_callbacksfilter, then choose PHP Callback in the block sidebar.
ವಿಮರ್ಶೆಗಳು
ಕೊಡುಗೆದಾರರು & ಡೆವಲಪರ್ಗಳು
“Visiblix Block Rules” ಓಪನ್ ಸೋರ್ಸ್ ಸಾಫ್ಟ್ವೇರ್ ಆಗಿದೆ. ಕೆಳಗಿನ ಜನರು ಈ ಪ್ಲಗಿನ್ಗೆ ಕೊಡುಗೆ ನೀಡಿದ್ದಾರೆ.
ಕೊಡುಗೆದಾರರು“Visiblix Block Rules” ಅನ್ನು ನಿಮ್ಮ ಭಾಷೆಗೆ ಅನುವಾದಿಸಿ.
ಅಭಿವೃದ್ಧಿಯಲ್ಲಿ ಆಸಕ್ತಿ ಇದೆಯೇ?
ಕೋಡ್ ಬ್ರೌಸ್ ಮಾಡಿ, SVN ರೆಪೊಸಿಟರಿ ಪರಿಶೀಲಿಸಿ, ಅಥವಾ ಅಭಿವೃದ್ಧಿ ಲಾಗ್ ಗೆ RSS ಚಂದಾದಾರರಾಗಿ.
Changelog
1.0.0
- Initial release
- Conditional visibility for all Gutenberg blocks
- Admin Dashboard, Settings, Help Center, Developers
- REST API, caching, export/import, multilingual support
