Page Visibility by Group

Starting with B2BKing Pro v4.7.0 it is now possible to directly set the visibility of each page.

It was already possible to control visibility for the content inside each page, using the content visibility shortcode. This allows showing different content to different users, or restricting certain areas of a page based on the user's group.

Now we've added the option to control the visibility of the page itself.

How to set page visibility #

When editing each page you can see a list of groups, as well as logged out / b2c users. You can disable or enable each option by ticking the respective checkbox:

How visibility works #

If a page is hidden, it will be hidden from menus. If a user tries to access the page directly, they will be redirected to the 'my account' page instead.

The plugin may not be able to hide the page in all menus / sidebars / widgets, etc. It depends a lot on how each element is created. If you're having any issues with this feature, let us know and we can look into it.

Powered by BetterDocs