Hide This
Hide This provides a [hide] shortcode that lets you hide some parts of the content from your posts and pages. You can easily manage inclusions and exclusions for hidden content in three levels: absolute, groups and…
Utiliser avec prudence
Hide This works, but test it on a staging site before relying on it in 2026. It runs on 2K+ sites, is rated 5/5 and was last updated 9 years ago, and scores 45/100 on our health check.
- Loved by users — 5/5 from 49 reviews
- Pas de mise à jour dans 8 ans
- Uniquement testé jusqu'à WordPress 4,9 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Hide This stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| capability | >100 |
| content | >100 |
| cacher | >100 |
| rôle | >100 |
| utilisateur | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★★★★★★ 5 from 49 reviews
About Hide This
À partir du Lisez-moi officiel · v1.1.3Description
Hide This provides a [hide] shortcode that lets you hide some parts of the content from your posts and pages. You can easily manage inclusions and exclusions for hidden content in three levels: absolute, groups and capabilities, and specific user.
Maybe some part of your post should not be published yet? Or maybe you want to show some specific parts of your content to a certain group or users, let’s say your logged in users or your clients? This plugin may be the solution you need.
It’s very important to note that the content wrapped within the shortcode won’t even be printed as HTML. It will be really, really hidden. There are a lot of great plugins that hide the content via CSS and Javascript, but this is not the case. If you want your content to not be visible, but still printed as HTML, you should try one of those.
Basic usage:
[hide]Lorem ipsum dolor sit amet.[/hide]
This example will hide that content for all the site visitors. But you can be more specific by using attributes.
Accepted attributes:
- for: (optional) your rules to hide content. You can use absolute rules (
all,none,[!]logged), rules by roles and capabilities ([!]{role},[!]{role}:[!]{capability},:[!]{capability}), and rules by specific user (userid:[!]{ID},useremail:[!]{email},username:[!]{username}). - exclude: (optional) your rules to show the hidden content to some specific visitor/s. As in for, you can use absolute rules (
all,none,[!]logged), rules by roles and capabilities ([!]{role},[!]{role}:[!]{capability},:[!]{capability}), and rules by specific user (userid:[!]{ID},useremail:[!]{email},username:[!]{username}). - test: (optional) for debugging purposes. The kind of output you expect. Accepts
contentandempty. Use it wisely, because it prints a message with the result of the test.
Some useful examples:
Hide your content to all visitors:
[hide]Lorem ipsum dolor sit amet.[/hide]
Hide your content to all visitors, except for a specific user:
[hide for="all" exclude="username:foo"]Lorem ipsum dolor sit amet.[/hide]
Hide your content to all non-logged visitors:
[hide for="!logged"]Lorem ipsum dolor sit amet.[/hide]
Hide your content to all logged in visitors:
[hide for="logged"]Lorem ipsum dolor sit amet.[/hide]
Hide your content to all logged in visitors, except for a specific user:
[hide for="logged" exclude="username:foo"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for some specific role:
[hide for="contributor"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for two specific roles:
[hide for="editor, contributor"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for all visitors except for a specific role:
[hide for="!administrator"]Lorem ipsum dolor sit amet.[/hide]
[hide for="all" exclude="administrator"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for all visitors except for two specific roles:
[hide for="!administrator, !editor"]Lorem ipsum dolor sit amet.[/hide]
[hide for="all" exclude="administrator, editor"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for users with a specific role and a specific capability:
[hide for="some_role:do_a_barrel_roll"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for users with a specific role, not having a specific capability:
[hide for="some_role:!do_a_barrel_roll"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for users with a specific capability:
[hide for=":do_a_barrel_roll"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for a specific user by user name:
[hide for="username:foo"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for a specific user by user ID:
[hide for="userid:42"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for a specific user by user email:
[hide for="useremail:foo@mail.com"]Lorem ipsum dolor sit amet.[/hide]
Hide your content for everyone except for a specific user by user name:
[hide for="username:!foo"]Lorem ipsum dolor sit amet.[/hide]
You should get the idea by now. Notice how you can use ! to deny values such as login status, roles, capabilities and user values.
Extending
This plugin offers hooks for filters, so you can modify its functionality or add your own.
hide_this_attributes: Modify the attributes that the shortcode receives.hide_this_content: Modify the full content that the shortcode prints.hide_this_hide_rules: Modify rules for hiding content.hide_this_show_rules: Modify rules for showing content.
Contribuer
You can make suggestions and submit your own modifications to this plugin on Github.
Installation
- Unzip
hide-this.zipand upload thehide-thisfolder to your/wp-content/plugins/directory. - Activate the plugin through the “Plugins” menu in WordPress.
- Start using the
[hide]shortcode to hide the content you want.
Journal de modifications
1.1.3
- Fix: A bug was causing contents always showing for all users when applying negations to roles.
1.1.2
- Fix: Multiple role assignation wasn’t working in some scenarios.
1.1.1
- Improvement: Parsing shortcodes into
[hide]and[hidethis].
1.1
- Object oriented code.
- New filter hooks.
1.0
First release!
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Hide This alternatives
All capability plugins →FAQ
Hide This: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Hide This free?
Yes. Hide This is free to download and use from the official WordPress.org plugin directory.
Is Hide This safe to use in 2026?
Hide This works, but test it on a staging site before relying on it in 2026. It runs on 2K+ sites, is rated 5/5 and was last updated 9 years ago, and scores 45/100 on our health check.
How many websites use Hide This?
Hide This is active on 2K+ WordPress websites and has been downloaded 50,543 times since it launched in October 2013. It was downloaded 370 times in the last 30 days.
Does Hide This work with WordPress 7.1?
Hide This is officially tested up to WordPress 4.9.36, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Hide This last updated?
The latest version, 1.1.3, was released on February 12, 2018 (9 years ago).
Who makes Hide This?
Hide This is developed and maintained by Andrés Villarreal.
What are the best alternatives to Hide This?
The most popular alternatives to Hide This are Controlled Admin Access (10K+ installs), User Role by BestWebSoft (3K+ installs) and Access Areas for WordPress (300+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
