Plugin Directory

Changeset 3779704


Ignore:
Timestamp:
11/02/2026 11:58:04 AM (33 hours ago)
Author:
jaypeeperos
Message:

Improve readme: fix shortcode formatting, expand description and FAQ, add screenshot captions and promo video

Location:
visigate
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • visigate/tags/1.3.1/readme.txt

    r3779452 r3779704  
    1313== Description ==
    1414
    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.
     15Visigate 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.
    1616
    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`.
     17Rules 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
     19https://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.
    2139
    2240= Included conditions =
    2341
    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
    2545
    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
     48Use 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
     52Or set the conditions directly. All of them must match:
     53
     54    [visigate logged_in="yes" roles="customer" device="mobile"]Content goes here[/visigate]
     55
     56Attributes:
     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
     66Check a rule set in a theme template:
     67
     68    if ( visigate_visible( 12 ) ) {
     69        // Show your content.
     70    }
     71
     72PHP 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
     74JavaScript filters: `visigate.builder.extras`, `visigate.panel.extras`.
     75
     76= Visigate Pro =
     77
     78Visigate 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.
    2779
    2880== Installation ==
    2981
    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`.
     821. In your WordPress admin, go to Plugins → Add New and search for "Visigate".
     832. Click Install Now, then Activate.
     843. Go to Visigate → Add Rule Set and create your first rule.
     854. Apply it from a block's Visibility Rules panel, from Elementor → Advanced → Visigate, or with the `[visigate]` shortcode.
    4986
    5087== Frequently Asked Questions ==
    … …  
    5289= Does this plugin require Elementor or WooCommerce? =
    5390
    54 No. Elementor support is included when Elementor is active. WooCommerce conditions are not part of this plugin.
     91No. 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
     95Yes, 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
     99Visigate 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
     103For 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
     107Day, time and date rules use the time zone set under Settings → General.
     108
     109= How is the device detected? =
     110
     111Visigate 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
     115While 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
     119Visigate 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.
    55120
    56121= Is there a premium version? =
    57122
    58 Yes. Visigate Pro is a separate plugin sold outside WordPress.org. The copy hosted here does not require it.
     123Yes. Visigate Pro is a separate plugin sold outside WordPress.org. This plugin doesn't require it.
     124
     125== Screenshots ==
     126
     1271. The visual rule builder, with AND/OR groups and a plain-English summary.
     1282. A close-up of a rule's condition groups and summary.
     1293. The Visibility Rules panel in the block editor sidebar.
     1304. Applying a saved rule set from Elementor's Advanced tab.
     1315. The Rule Sets list, showing each rule's summary and shortcode.
     1326. Cache safety, admin preview and developer reference on the settings screen.
    59133
    60134== Changelog ==
  • visigate/trunk/readme.txt

    r3779452 r3779704  
    1313== Description ==
    1414
    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.
     15Visigate 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.
    1616
    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`.
     17Rules 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
     19https://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.
    2139
    2240= Included conditions =
    2341
    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
    2545
    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
     48Use 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
     52Or set the conditions directly. All of them must match:
     53
     54    [visigate logged_in="yes" roles="customer" device="mobile"]Content goes here[/visigate]
     55
     56Attributes:
     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
     66Check a rule set in a theme template:
     67
     68    if ( visigate_visible( 12 ) ) {
     69        // Show your content.
     70    }
     71
     72PHP 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
     74JavaScript filters: `visigate.builder.extras`, `visigate.panel.extras`.
     75
     76= Visigate Pro =
     77
     78Visigate 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.
    2779
    2880== Installation ==
    2981
    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`.
     821. In your WordPress admin, go to Plugins → Add New and search for "Visigate".
     832. Click Install Now, then Activate.
     843. Go to Visigate → Add Rule Set and create your first rule.
     854. Apply it from a block's Visibility Rules panel, from Elementor → Advanced → Visigate, or with the `[visigate]` shortcode.
    4986
    5087== Frequently Asked Questions ==
    … …  
    5289= Does this plugin require Elementor or WooCommerce? =
    5390
    54 No. Elementor support is included when Elementor is active. WooCommerce conditions are not part of this plugin.
     91No. 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
     95Yes, 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
     99Visigate 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
     103For 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
     107Day, time and date rules use the time zone set under Settings → General.
     108
     109= How is the device detected? =
     110
     111Visigate 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
     115While 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
     119Visigate 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.
    55120
    56121= Is there a premium version? =
    57122
    58 Yes. Visigate Pro is a separate plugin sold outside WordPress.org. The copy hosted here does not require it.
     123Yes. Visigate Pro is a separate plugin sold outside WordPress.org. This plugin doesn't require it.
     124
     125== Screenshots ==
     126
     1271. The visual rule builder, with AND/OR groups and a plain-English summary.
     1282. A close-up of a rule's condition groups and summary.
     1293. The Visibility Rules panel in the block editor sidebar.
     1304. Applying a saved rule set from Elementor's Advanced tab.
     1315. The Rule Sets list, showing each rule's summary and shortcode.
     1326. Cache safety, admin preview and developer reference on the settings screen.
    59133
    60134== Changelog ==
Note: See TracChangeset for help on using the changeset viewer.