Changeset 3779704
- Timestamp:
- 11/02/2026 11:58:04 AM (33 hours ago)
- Location:
- visigate
- Files:
-
- 2 edited
-
tags/1.3.1/readme.txt (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
visigate/tags/1.3.1/readme.txt
r3779452 r3779704 13 13 == Description == 14 14 15 Visigate shows or hides content with reusable visibility rules. Conditions are evaluated on the server, so hidden blocks are never rendered and no front-end CSS or JavaScript is loaded.15 Visigate lets you decide who sees which content on your WordPress site, and when. Build a rule once, then apply it to any block, any Elementor element, or any content wrapped in a shortcode. 16 16 17 * Visual builder: conditions in a group are AND’d; groups are OR’d. Every rule set has a plain-English summary. 18 * Works on every block in the block editor (sidebar panel), in Elementor (Advanced tab), and anywhere via `[visigate]` or `visigate_visible()`. 19 * Reusable Rule Sets: build once, apply to hundreds of blocks. 20 * Cache-aware: pages using visitor-specific rules (device or time) can be flagged `DONOTCACHEPAGE`. 17 Rules run on your server before the page is sent. Hidden blocks are never rendered, so their content isn't sitting in the page source, and Visigate loads no CSS or JavaScript on the front end. 18 19 https://www.youtube.com/watch?v=SIE5wlU_Eg0 20 21 = What you can do with it = 22 23 * Show an offer only to logged-in customers on mobile 24 * Run a promotion on weekends or between two dates 25 * Display a phone number or chat prompt during business hours 26 * Welcome members whose accounts are less than 7 days old 27 * Hide a sign-up prompt from people who are already logged in 28 29 = Key features = 30 31 * **Visual rule builder:** combine conditions without code. Conditions in a group must all match (AND), and any matching group is enough (OR). 32 * **Plain-English summaries:** every rule set describes itself, so you can check its logic at a glance. 33 * **Reusable rule sets:** build a rule once and use it across your site. Edit it in one place and every use updates. 34 * **Block editor support:** add a Visibility Rules panel to every block, using a saved rule set or custom rules for that block. 35 * **Elementor support:** apply a saved rule set to widgets, sections, columns and containers from the Advanced tab. 36 * **Shortcode and PHP helper:** use rules with other page builders, in classic content, or in theme templates. 37 * **Admin preview:** reveal hidden content on the live page, faded and outlined in red, to check your rules. 38 * **Cache safety:** pages using device or time rules can be flagged automatically so page cache plugins skip them. 21 39 22 40 = Included conditions = 23 41 24 Login status, user role, capability, account age, device type, day of week, time of day, and date range. 42 * **User:** login status, user role, user capability, account age 43 * **Visitor:** device type (desktop, tablet, mobile) 44 * **Time:** day of week, time of day, date range 25 45 26 A separate add-on, Visigate Pro, can add extra conditions (country, URL, cookie, WooCommerce, and more). This plugin is fully usable without it. 46 = Shortcode = 47 48 Use a saved rule set. Its ID appears in the Shortcode column under Visigate → Rule Sets: 49 50 [visigate set="12"]Content goes here[/visigate] 51 52 Or set the conditions directly. All of them must match: 53 54 [visigate logged_in="yes" roles="customer" device="mobile"]Content goes here[/visigate] 55 56 Attributes: 57 58 * `set`: the ID of a saved rule set 59 * `logged_in`: `yes` or `no` 60 * `roles`: one or more role slugs, separated by commas 61 * `device`: `desktop`, `tablet` or `mobile`, separated by commas 62 * `hide`: set to `yes` to hide the content when the direct conditions match 63 64 = For developers = 65 66 Check a rule set in a theme template: 67 68 if ( visigate_visible( 12 ) ) { 69 // Show your content. 70 } 71 72 PHP filters: `visigate_conditions`, `visigate_check_condition`, `visigate_condition_options`, `visigate_rest_search`, `visigate_device`, `visigate_missing_set_visible`, `visigate_is_pro`, `visigate_upgrade_url`, `visigate_hidden_block_output`, `visigate_hidden_shortcode_output`, `visigate_brand_name`, `visigate_base_capability`, `visigate_user_can_manage`, `visigate_js_data`. 73 74 JavaScript filters: `visigate.builder.extras`, `visigate.panel.extras`. 75 76 = Visigate Pro = 77 78 Visigate is fully usable on its own. [Visigate Pro](https://persjay.com/plugins/visigate/) is an optional paid add-on that adds more conditions, including country, URL parameter, cookie, referrer, user meta and WooCommerce rules. 27 79 28 80 == Installation == 29 81 30 1. Upload the `visigate` folder to `/wp-content/plugins/`, or install the zip from Plugins → Add New → Upload Plugin. 31 2. Activate Visigate through the Plugins screen. 32 3. Go to Visigate → Add Rule Set and create a rule. 33 4. Apply that rule set from a block’s Visibility Rules panel, from Elementor → Advanced → Visigate, or with the shortcode below. 34 35 == Shortcode == 36 37 ``` 38 [visigate set="12"]…[/visigate] 39 [visigate logged_in="yes" roles="customer" device="mobile"]…[/visigate] 40 ``` 41 42 == Developer hooks == 43 44 `visigate_visible( $set_id_or_rules )` 45 46 Filters: `visigate_conditions`, `visigate_check_condition`, `visigate_condition_options`, `visigate_rest_search`, `visigate_device`, `visigate_missing_set_visible`, `visigate_is_pro`, `visigate_upgrade_url`, `visigate_hidden_block_output`, `visigate_hidden_shortcode_output`, `visigate_brand_name`, `visigate_base_capability`, `visigate_user_can_manage`, `visigate_js_data`. 47 48 JavaScript filters: `visigate.builder.extras`, `visigate.panel.extras`. 82 1. In your WordPress admin, go to Plugins → Add New and search for "Visigate". 83 2. Click Install Now, then Activate. 84 3. Go to Visigate → Add Rule Set and create your first rule. 85 4. Apply it from a block's Visibility Rules panel, from Elementor → Advanced → Visigate, or with the `[visigate]` shortcode. 49 86 50 87 == Frequently Asked Questions == … … 52 89 = Does this plugin require Elementor or WooCommerce? = 53 90 54 No. Elementor support is included when Elementor is active. WooCommerce conditions are not part of this plugin. 91 No. Visigate works with the block editor on its own, and its Elementor support turns on when Elementor is active. WooCommerce conditions are part of Visigate Pro. 92 93 = Does it work with other page builders? = 94 95 Yes, through the `[visigate]` shortcode or the `visigate_visible()` PHP helper. Any builder or theme that can output a shortcode or run PHP can use them. 96 97 = Will it slow down my site? = 98 99 Visigate loads no CSS or JavaScript on the front end. Rules are checked on the server while the page is being built. 100 101 = Does it work with caching? = 102 103 For device and time rules, Visigate can flag the page with `DONOTCACHEPAGE`, which is on by default and can be changed under Visigate settings. Most page cache plugins respect this flag, but some server or CDN caches may not, so you may need to exclude those pages there. Login and role rules usually need no exclusion, because most page caches are bypassed for logged-in users. 104 105 = Which time zone do time rules use? = 106 107 Day, time and date rules use the time zone set under Settings → General. 108 109 = How is the device detected? = 110 111 Visigate uses the browser's user agent on the server, so it detects the device type rather than the screen width. Developers can adjust the result with the `visigate_device` filter. 112 113 = How can I test a rule? = 114 115 While logged in as an administrator, use the Visigate toggle in the admin bar on any front-end page. Hidden content appears faded and outlined in red. Only you see this preview. 116 117 = What happens when I delete the plugin? = 118 119 Visigate removes its settings but keeps your rule sets, so reinstalling won't break your pages. Blocks and shortcodes stop being filtered while it's inactive, so check any sensitive content before you deactivate it. 55 120 56 121 = Is there a premium version? = 57 122 58 Yes. Visigate Pro is a separate plugin sold outside WordPress.org. The copy hosted here does not require it. 123 Yes. Visigate Pro is a separate plugin sold outside WordPress.org. This plugin doesn't require it. 124 125 == Screenshots == 126 127 1. The visual rule builder, with AND/OR groups and a plain-English summary. 128 2. A close-up of a rule's condition groups and summary. 129 3. The Visibility Rules panel in the block editor sidebar. 130 4. Applying a saved rule set from Elementor's Advanced tab. 131 5. The Rule Sets list, showing each rule's summary and shortcode. 132 6. Cache safety, admin preview and developer reference on the settings screen. 59 133 60 134 == Changelog == -
visigate/trunk/readme.txt
r3779452 r3779704 13 13 == Description == 14 14 15 Visigate shows or hides content with reusable visibility rules. Conditions are evaluated on the server, so hidden blocks are never rendered and no front-end CSS or JavaScript is loaded.15 Visigate lets you decide who sees which content on your WordPress site, and when. Build a rule once, then apply it to any block, any Elementor element, or any content wrapped in a shortcode. 16 16 17 * Visual builder: conditions in a group are AND’d; groups are OR’d. Every rule set has a plain-English summary. 18 * Works on every block in the block editor (sidebar panel), in Elementor (Advanced tab), and anywhere via `[visigate]` or `visigate_visible()`. 19 * Reusable Rule Sets: build once, apply to hundreds of blocks. 20 * Cache-aware: pages using visitor-specific rules (device or time) can be flagged `DONOTCACHEPAGE`. 17 Rules run on your server before the page is sent. Hidden blocks are never rendered, so their content isn't sitting in the page source, and Visigate loads no CSS or JavaScript on the front end. 18 19 https://www.youtube.com/watch?v=SIE5wlU_Eg0 20 21 = What you can do with it = 22 23 * Show an offer only to logged-in customers on mobile 24 * Run a promotion on weekends or between two dates 25 * Display a phone number or chat prompt during business hours 26 * Welcome members whose accounts are less than 7 days old 27 * Hide a sign-up prompt from people who are already logged in 28 29 = Key features = 30 31 * **Visual rule builder:** combine conditions without code. Conditions in a group must all match (AND), and any matching group is enough (OR). 32 * **Plain-English summaries:** every rule set describes itself, so you can check its logic at a glance. 33 * **Reusable rule sets:** build a rule once and use it across your site. Edit it in one place and every use updates. 34 * **Block editor support:** add a Visibility Rules panel to every block, using a saved rule set or custom rules for that block. 35 * **Elementor support:** apply a saved rule set to widgets, sections, columns and containers from the Advanced tab. 36 * **Shortcode and PHP helper:** use rules with other page builders, in classic content, or in theme templates. 37 * **Admin preview:** reveal hidden content on the live page, faded and outlined in red, to check your rules. 38 * **Cache safety:** pages using device or time rules can be flagged automatically so page cache plugins skip them. 21 39 22 40 = Included conditions = 23 41 24 Login status, user role, capability, account age, device type, day of week, time of day, and date range. 42 * **User:** login status, user role, user capability, account age 43 * **Visitor:** device type (desktop, tablet, mobile) 44 * **Time:** day of week, time of day, date range 25 45 26 A separate add-on, Visigate Pro, can add extra conditions (country, URL, cookie, WooCommerce, and more). This plugin is fully usable without it. 46 = Shortcode = 47 48 Use a saved rule set. Its ID appears in the Shortcode column under Visigate → Rule Sets: 49 50 [visigate set="12"]Content goes here[/visigate] 51 52 Or set the conditions directly. All of them must match: 53 54 [visigate logged_in="yes" roles="customer" device="mobile"]Content goes here[/visigate] 55 56 Attributes: 57 58 * `set`: the ID of a saved rule set 59 * `logged_in`: `yes` or `no` 60 * `roles`: one or more role slugs, separated by commas 61 * `device`: `desktop`, `tablet` or `mobile`, separated by commas 62 * `hide`: set to `yes` to hide the content when the direct conditions match 63 64 = For developers = 65 66 Check a rule set in a theme template: 67 68 if ( visigate_visible( 12 ) ) { 69 // Show your content. 70 } 71 72 PHP filters: `visigate_conditions`, `visigate_check_condition`, `visigate_condition_options`, `visigate_rest_search`, `visigate_device`, `visigate_missing_set_visible`, `visigate_is_pro`, `visigate_upgrade_url`, `visigate_hidden_block_output`, `visigate_hidden_shortcode_output`, `visigate_brand_name`, `visigate_base_capability`, `visigate_user_can_manage`, `visigate_js_data`. 73 74 JavaScript filters: `visigate.builder.extras`, `visigate.panel.extras`. 75 76 = Visigate Pro = 77 78 Visigate is fully usable on its own. [Visigate Pro](https://persjay.com/plugins/visigate/) is an optional paid add-on that adds more conditions, including country, URL parameter, cookie, referrer, user meta and WooCommerce rules. 27 79 28 80 == Installation == 29 81 30 1. Upload the `visigate` folder to `/wp-content/plugins/`, or install the zip from Plugins → Add New → Upload Plugin. 31 2. Activate Visigate through the Plugins screen. 32 3. Go to Visigate → Add Rule Set and create a rule. 33 4. Apply that rule set from a block’s Visibility Rules panel, from Elementor → Advanced → Visigate, or with the shortcode below. 34 35 == Shortcode == 36 37 ``` 38 [visigate set="12"]…[/visigate] 39 [visigate logged_in="yes" roles="customer" device="mobile"]…[/visigate] 40 ``` 41 42 == Developer hooks == 43 44 `visigate_visible( $set_id_or_rules )` 45 46 Filters: `visigate_conditions`, `visigate_check_condition`, `visigate_condition_options`, `visigate_rest_search`, `visigate_device`, `visigate_missing_set_visible`, `visigate_is_pro`, `visigate_upgrade_url`, `visigate_hidden_block_output`, `visigate_hidden_shortcode_output`, `visigate_brand_name`, `visigate_base_capability`, `visigate_user_can_manage`, `visigate_js_data`. 47 48 JavaScript filters: `visigate.builder.extras`, `visigate.panel.extras`. 82 1. In your WordPress admin, go to Plugins → Add New and search for "Visigate". 83 2. Click Install Now, then Activate. 84 3. Go to Visigate → Add Rule Set and create your first rule. 85 4. Apply it from a block's Visibility Rules panel, from Elementor → Advanced → Visigate, or with the `[visigate]` shortcode. 49 86 50 87 == Frequently Asked Questions == … … 52 89 = Does this plugin require Elementor or WooCommerce? = 53 90 54 No. Elementor support is included when Elementor is active. WooCommerce conditions are not part of this plugin. 91 No. Visigate works with the block editor on its own, and its Elementor support turns on when Elementor is active. WooCommerce conditions are part of Visigate Pro. 92 93 = Does it work with other page builders? = 94 95 Yes, through the `[visigate]` shortcode or the `visigate_visible()` PHP helper. Any builder or theme that can output a shortcode or run PHP can use them. 96 97 = Will it slow down my site? = 98 99 Visigate loads no CSS or JavaScript on the front end. Rules are checked on the server while the page is being built. 100 101 = Does it work with caching? = 102 103 For device and time rules, Visigate can flag the page with `DONOTCACHEPAGE`, which is on by default and can be changed under Visigate settings. Most page cache plugins respect this flag, but some server or CDN caches may not, so you may need to exclude those pages there. Login and role rules usually need no exclusion, because most page caches are bypassed for logged-in users. 104 105 = Which time zone do time rules use? = 106 107 Day, time and date rules use the time zone set under Settings → General. 108 109 = How is the device detected? = 110 111 Visigate uses the browser's user agent on the server, so it detects the device type rather than the screen width. Developers can adjust the result with the `visigate_device` filter. 112 113 = How can I test a rule? = 114 115 While logged in as an administrator, use the Visigate toggle in the admin bar on any front-end page. Hidden content appears faded and outlined in red. Only you see this preview. 116 117 = What happens when I delete the plugin? = 118 119 Visigate removes its settings but keeps your rule sets, so reinstalling won't break your pages. Blocks and shortcodes stop being filtered while it's inactive, so check any sensitive content before you deactivate it. 55 120 56 121 = Is there a premium version? = 57 122 58 Yes. Visigate Pro is a separate plugin sold outside WordPress.org. The copy hosted here does not require it. 123 Yes. Visigate Pro is a separate plugin sold outside WordPress.org. This plugin doesn't require it. 124 125 == Screenshots == 126 127 1. The visual rule builder, with AND/OR groups and a plain-English summary. 128 2. A close-up of a rule's condition groups and summary. 129 3. The Visibility Rules panel in the block editor sidebar. 130 4. Applying a saved rule set from Elementor's Advanced tab. 131 5. The Rule Sets list, showing each rule's summary and shortcode. 132 6. Cache safety, admin preview and developer reference on the settings screen. 59 133 60 134 == Changelog ==
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)