Title: Hide Content by User Role for WPBakery
Author: wpTerra
Published: <strong>26. november, 2019</strong>
Last modified: 28. marts, 2025

---

Søg plugins

![](https://ps.w.org/hide-content-by-role-for-wpbakery/assets/banner-772x250.png?
rev=2202631)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://ps.w.org/hide-content-by-role-for-wpbakery/assets/icon-256x256.png?rev
=2202559)

# Hide Content by User Role for WPBakery

 Af [wpTerra](https://profiles.wordpress.org/wpterra/)

[Download](https://downloads.wordpress.org/plugin/hide-content-by-role-for-wpbakery.1.2.3.zip)

 * [Detaljer](https://da.wordpress.org/plugins/hide-content-by-role-for-wpbakery/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/hide-content-by-role-for-wpbakery/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/hide-content-by-role-for-wpbakery/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/hide-content-by-role-for-wpbakery/#developers)

 [Support](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/)

## Beskrivelse

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 WPBakery 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.

## Skærmbilleder

[⌊Hide or show rows and columns with these settings in WPBakery⌉⌊Hide or show rows
and columns with these settings in WPBakery⌉[

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 display of checkbox (which are converted to switches) labels in Salient
Theme⌉[

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

[⌊Fixed tab in Uncode Theme⌉⌊Fixed tab in Uncode Theme⌉[

Fixed tab in Uncode Theme

## Installation

 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

## FAQ

### 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!

## Anmeldelser

![](https://secure.gravatar.com/avatar/d54bf40ad05c40b1d915c472b5295e54eda11056dc7082bab3307723f3dc5281?
s=60&d=retro&r=g)

### 󠀁[Little GREAT plugin!](https://wordpress.org/support/topic/little-great-plugin/)󠁿

 [cfrom](https://profiles.wordpress.org/cfrom/) 8. august, 2024

Very usefull!

![](https://secure.gravatar.com/avatar/cff364a3acf6e3586597953d088279ea1fe3da1997ab9f9623133af1706a1eb6?
s=60&d=retro&r=g)

### 󠀁[Awesome Plugin](https://wordpress.org/support/topic/awesome-plugin-6560/)󠁿

 [James Smith](https://profiles.wordpress.org/jmpippin/) 22. august, 2022

This adds great functionality for themes that use WPBakery. I hope this plugin continues
to be supported.

![](https://secure.gravatar.com/avatar/7c7cacf1e376ea2808a2bd61088bca3b5ac1cdba0946cb1ca57639fdad220f14?
s=60&d=retro&r=g)

### 󠀁[Perfect](https://wordpress.org/support/topic/perfect-9448/)󠁿

 [wwwireforks](https://profiles.wordpress.org/wwwireforks/) 18. august, 2022

This is one of those plugins that does exactly what you want it to, exactly as described.
Thank you so much!

![](https://secure.gravatar.com/avatar/077b2694c30f3a0e0ee0a2898f74f4da5d6014e3ab012467a1504bebe8adf0c7?
s=60&d=retro&r=g)

### 󠀁[Fantástico](https://wordpress.org/support/topic/fantastico-297/)󠁿

 [Marcelo Roberto](https://profiles.wordpress.org/markclarke/) 6. juli, 2022

Eu havia comprado um outro plugin para a mesma finalidade e mesmo assim não supriu
minhas necessidades como este. Parabéns aos desenvolvedores!

![](https://secure.gravatar.com/avatar/840eb3f1ff8defb1d069ec706649d6b1b037513f19de970203f58213d85bf5b2?
s=60&d=retro&r=g)

### 󠀁[Excelente y funcional 100% al día de hoy.](https://wordpress.org/support/topic/excelente-y-funcional-100-al-dia-de-hoy/)󠁿

 [raffaellabec](https://profiles.wordpress.org/raffaellabec/) 8. april, 2022

Es exactamente lo que necesitaba. Gracias! 🙂

![](https://secure.gravatar.com/avatar/2657f9379d523987b9d9822f4def7d08077f73b18c348f69bce3298ee40f4a7b?
s=60&d=retro&r=g)

### 󠀁[Great plugin!](https://wordpress.org/support/topic/great-plugin-33408/)󠁿

 [lunarmimi](https://profiles.wordpress.org/lunarmimi/) 12. februar, 2022

Superb!! I love this plugin so much. Thank you for creating this. It's my life saver.

 [ Læs alle 16 anmeldelser ](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/reviews/)

## Bidragsydere & udviklere

“Hide Content by User Role for WPBakery” er open source-software. Følgende personer
har bidraget til dette plugin.

Bidragsydere

 *   [ wpTerra ](https://profiles.wordpress.org/wpterra/)
 *   [ Ben ](https://profiles.wordpress.org/wpterrade/)
 *   [ Andreas Münch ](https://profiles.wordpress.org/andreasmuench/)

“Hide Content by User Role for WPBakery” er blevet oversat til 1 sprog. Tak til 
[oversætterne](https://translate.wordpress.org/projects/wp-plugins/hide-content-by-role-for-wpbakery/contributors)
for deres bidrag.

[Oversæt “Hide Content by User Role for WPBakery” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/hide-content-by-role-for-wpbakery)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/hide-content-by-role-for-wpbakery/),
tjek [SVN repository](https://plugins.svn.wordpress.org/hide-content-by-role-for-wpbakery/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/hide-content-by-role-for-wpbakery/)
via [RSS](https://plugins.trac.wordpress.org/log/hide-content-by-role-for-wpbakery/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 1.2.3

 * remove duplicate action hook

#### 1.2.2

 * fix tab in Uncode Theme

#### 1.2.1

 * fix issue with Impreza Theme not accepting 4 parameters for the hook ‘vc_shortcode_output’
 * fix display of checkbox labels in Salient Theme

#### 1.2

 * add settings to all WBBakery 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

## Meta

 *  Version **1.2.3**
 *  Senest opdateret **2 år siden**
 *  Aktive installationer **1.000+**
 *  WordPress-version ** 4.7.0 eller højere **
 *  Testet op til **6.7.11**
 *  PHP-version ** 5.6 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/hide-content-by-role-for-wpbakery/)
   og [Swedish](https://sv.wordpress.org/plugins/hide-content-by-role-for-wpbakery/).
 *  [Oversæt til dit sprog](https://translate.wordpress.org/projects/wp-plugins/hide-content-by-role-for-wpbakery)
 * Tags
 * [hide](https://da.wordpress.org/plugins/tags/hide/)[page](https://da.wordpress.org/plugins/tags/page/)
   [post](https://da.wordpress.org/plugins/tags/post/)[show](https://da.wordpress.org/plugins/tags/show/)
   [WPBakery](https://da.wordpress.org/plugins/tags/wpbakery/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/hide-content-by-role-for-wpbakery/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  16 5-stjernet anmeldelser     ](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/reviews/?filter=1)

[Din anmeldelse](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/reviews/#new-post)

[Se alle anmeldelser](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/reviews/)

## Bidragsydere

 *   [ wpTerra ](https://profiles.wordpress.org/wpterra/)
 *   [ Ben ](https://profiles.wordpress.org/wpterrade/)
 *   [ Andreas Münch ](https://profiles.wordpress.org/andreasmuench/)

## Support

Problemerne er løst inden for de sidste to måneder:

     0 ud af 1

 [Vis supportforum](https://wordpress.org/support/plugin/hide-content-by-role-for-wpbakery/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](https://wpterra.com)