Content Hider WordPress Plugin
This light weight plugin can be used to hide posts and pages from specified user roles. All you have to do is wrap the target content in the shortcode [lock_content]. The plugin also adds a new button to the default WordPress editor so you can lock content quickly and effortlessly.
Features:
Custom error messages: You can specify the error message while hiding the content. Just add an error attribute to the shortcode. For instance:
[lock_content error="You need to log in first"]Some text[/lock_content]
Also, you can add a default error message in the control panel that will be displayed in case the error attribute of the shortcode is absent.
User levels: By specifying a role in the shortcode you can decide which members see the hidden content. For instance:
<
Sites running Content Hider, click to open one
Plugins with a similar footprint
Ranked by how many sites run them — a quick way to compare alternatives.
Usage of Content Hider over time
June 2023 — July 2024Between June 2023 and July 2024 the number of sites running this plugin went from 17 to 11 — down 6 (-35.3%).
| Month | Sites | Change |
|---|---|---|
| July 2024 | 11 | +0 |
| June 2024 | 11 | +0 |
| May 2024 | 11 | +0 |
| April 2024 | 11 | +0 |
| March 2024 | 11 | -1 |
| February 2024 | 12 | -1 |
| January 2024 | 13 | -3 |
| December 2023 | 16 | +0 |
| November 2023 | 16 | +0 |
| October 2023 | 16 | +0 |
| September 2023 | 16 | -1 |
| August 2023 | 17 | +0 |
| July 2023 | 17 | +0 |
| June 2023 | 17 | — |
Sites running Content Hider
All sites in the collection11 examples from the collection. Open any site to see the theme and plugins we found on it.