Hide Content by User Role for WPBakery

Descriere

This plugin adds settings to all elements in WPBakery page builder to hide/show the content elements on your website based on user roles. This way you can easily restrict content in WPBakery pages and posts.

For example you can hide a specific column element on your page or post for all users but editors or only show it to logged-out users.

By default (with no checkboxes checked) the content will be visible for all users.

The hidden content will also be removed from the HTML.

Features

  • can hide content in the frontend for specific user roles and logged out users
  • works with all visual composer elements
  • removes hidden content from HTML Code
  • also works with added custom roles
  • no hidden costs, completely free plugin

Issues with specific Themes / Plugin versions

There are alot of themes that are using modified versions of WPBakery Page Builder. Some may not work together well with this plugin.

Uncode Theme

The Uncode WPBakery version did not show the tab Visible for roles at all. We fixed this by changing the hook when to add the our tab.

Salient Theme

The Salient Theme transforms checkboxes to switches and removes the labels. We fixed that in 1.2.1 and put the labels back there.

Capturi ecran

  • Hide or show rows and columns with these settings in WPBakery

  • Fixed display of checkbox (which are converted to switches) labels in Salient Theme

  • Fixed tab in Uncode Theme

Instalare

  1. Upload the zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Set the roles for which to hide the content in the WPBakery rows or columns settings

Întrebări frecvente

What about feature X

Just go to the support forums and kindly ask for it, then we´ll see what we can do. Thank you!

Verificări

20 octombrie 2020
although it shows the option in every single element in WP Bakery, and doesn't work on all, reading the docs, is clear that is good for columns and rows.
17 septembrie 2020
The plugin was not working with PHP 7.4 due to a conflict with the theme. They worked through the problem and the plugin is now working as expected with the current PHP version. Appreciated the response and the diligence to resolve the issue.
7 aprilie 2020
Thank you very much for this plugin! Everything works perfectly and very well integrated with p WPBakery. Keep up the work!
Citește toate cele 6 recenzii

Contributori și dezvoltatori

„Hide Content by User Role for WPBakery” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori

Istoric modificări

1.2.2

  • fix tab in Uncode Theme

1.2.1

  • fix display of checkbox labels in Salient Theme

1.2

  • add settings to all visual composer elements

1.1

  • add option to show content only for guests (not logged in users)

1.0.1

  • add setting description
  • add assets

1.0.0

  • Initial release