Private Content Wordpress Plugin is used by 46 websites. Among 46, 0 site is within top 10,000 and 0 site is within top 100,000 websites.

Wordpress Plugin Information of

Plugin Meta Name Plugin Meta Information
Plugin Name
Plugin Description Display a portion of a post content only to users of a specific role.
Detail Plugin Description

This plugin provides a shortcode to display a portion of a post content only to users of a specific role. For example, you can show the hidden text to Editors or to Authors or to any other WordPress role.

Please, note that an Administrator can read an Editor private content or a Subscriber private content, and so on. Same thing for Editor, Author, Contributor, and Subscriber: a higher role can read a lower role content.

Also you can show the hidden text only to a certain role. For example, you can mark a text as visible only to Contributors and hide it to higher roles, such as Administrators or Editors and so on.

Usage

Display this text only to Administrators:

[private role="administrator"]Text for Administrators[/private]

Display this text only to Administrators and Editors:

[private role="editor"]Text for Editors[/private]

Display this text only to Administrators, Editors, and Authors:

[private role="author"]Text for Authors[/private]

Display this text only to Administrators, Editors, Authors, and Contributors:

[private role="contributor"]Text for Contributor[/private]

Display this text only to Administrators, Editors, Authors, Contributors, and Subscribers:

[private role="subscriber"]Text for Subscribers[/private]

Text only for specific roles

If you want to show a note only to a certain role, you have to use a <role>-only option. In this way, for example, an Administrator or an Editor (roles higher than Author) cannot read a note only for Authors.

These are all the cases:

[private role="editor-only"]Text for Editors only[/private]
[private role="author-only"]Text for Authors only[/private]
[private role="contributor-only"]Text for Contributors only[/private]
[private role="subscriber-only"]Text for Subscribers only[/private]
[private role="visitor-only"]Text for Visitors only[/private]

Alternate text for non-targeted users

If you want to show an alternate text in case the reader can't read, you can use:

[private role="author" alt="You have not rights to read this."]Text for authors only[/private]

Container for the text

Starting from version 2.4, the user can choose the container element for the text:

  • p is the default value;
  • div is another option. This element lets you use HTML elements like lists, headings, and more.
  • span is the final option. This element allows you to add private content inline.

Usage:

[private container="div"]This is the text[/private]
I met with a friend[private container="span"] (Jenny, from ninth grade)[/private] for lunch.

Standard WordPress user roles

WordPress roles in descending order:

  • Administrator
  • Editor
  • Author
  • Contributor
  • Subscriber
More Information Wordpress Official Plugin Repository
Google

Top 46 Websites built with Wordpress plugin

102,869 favicon of ACOSMIN.COM ACOSMIN.COM
Acosmin - Premium WordPress Themes
118,203 favicon of LCWEB.IT LCWEB.IT
LCweb - Premium wordpress plugins and developer resources
Koenigsegg
uno de piera - Tutoriales sobre desarrollo web y móvil
Home - SilencerCo
Centro de Maestros |1807 | Tepic Nayarit |
H2S Safety, Gas Drilling Safety, H2S Protection Equipment, Industrial Safety
Bangkok Escorts Service | Outcall Girls & Outcall Massage Agency
Singapore Blog Awards Best Lifestyle Blog Finalist | Darren's Blogosphere™
Mitsubishi India | Discover Effortless Power
The Adventure Junkies - Adventure Travel Blog
BoothPix Photo Booth Hire for Weddings, Events & Parties
Super Afiliados - Marketing de Afiliação
Preventure Corporate Wellness Home - Preventure Corporate Wellness
674,289 favicon of AGETEC.ORG AGETEC.ORG
agetec.org | ASOCIACIÓN DE GESTORES Y TÉCNICOS CULTURALES DE LA COMUNIDAD DE MADRID
E-tourisme
988,200 favicon of BLPOLAND.COM BLPOLAND.COM
Business Link | Ogólnopolska sieć akceleratorów biznesu | Business Link to miejsce, w którym na jednej przestrzeni spotykają się pomysłodawcy wizji startupowych, zespoły pracujące nad innowacyjnymi projektami, topowi inwestorzy i największe marki wspierające startupy. Każdy jest na innym etapie, ale idąc razem w tym samym kierunku tworzymy unikalną społeczność, dzięki której każdy skuteczniej realizuje swoje cele.
30,000,000 favicon of GITMASIVO.COM GITMASIVO.COM
gitmasivo
30,000,000 favicon of TOSHIBA-AIRE.ES TOSHIBA-AIRE.ES
Toshiba Aerotermia I Calefaccion & Aire Acondicionado
Escort Berlin - Escortservice München Hamburg Düsseldorf Köln
30,000,000 favicon of NEWTEAM.BIZ NEWTEAM.BIZ
Consulenza contabile fiscale e societaria Milano New Team Lombardia
30,000,000 favicon of VPSOLAR.COM VPSOLAR.COM
VP Solar, distributore per l’efficienza energetica e il fotovoltaico
30,000,000 favicon of INBET.GR INBET.GR
Τα καλύτερα προγνωστικά | inBet.gr
30,000,000 favicon of LAMEZIAAIRPORT.IT LAMEZIAAIRPORT.IT
Lamezia Airport | SACAL S.p.A.
30,000,000 favicon of AGENT4STARS.COM AGENT4STARS.COM
Agent4stars.com -> Connecting People >Agent4Stars.com
30,000,000 favicon of VORONINSTUDIO.COM VORONINSTUDIO.COM
Website Development & Website Optimization. Web Design Studio - Canada
Rigenerazione Cartucce - Automation System
COMCE Noreste C-TPAT | Iniciativa privada para el comercio exterior
30,000,000 favicon of B1-SOFTWARE.DE B1-SOFTWARE.DE
SAP Business One: ERP Software für den Mittelstand testen.
30,000,000 favicon of 3EGROUP.FR 3EGROUP.FR
Filière 3e - L'information des professionnels de l'écoefficacité énergétique
30,000,000 favicon of DESIGN-SPOT.DE DESIGN-SPOT.DE
My Slide Collection - Kai Bommersheim Photography
30,000,000 favicon of HOLLYHOCK.CA HOLLYHOCK.CA
Welcome to Hollyhock
30,000,000 favicon of ARTESYWEB.COM ARTESYWEB.COM
ARTESYWEB, PAGINAS WEB EN CALI, BOGOTA, MEDELLIN
30,000,000 favicon of QUASISPOSI.COM QUASISPOSI.COM
QUASI SPOSI IL STO DEL TUO MATRIMONIO
30,000,000 favicon of AIUGLOBAL.COM AIUGLOBAL.COM
Alliance International University | The center of Excellance !
30,000,000 favicon of KOREANFANS.NET KOREANFANS.NET
Korean entertainment news and web cam girls
La Grande Truffa del Forex - Come creare ricchezza per generazioni
30,000,000 favicon of TEMANA.FR TEMANA.FR
Centre de formation Massages et Techniques de Bien-Etre
Revisione Curriculum Vitae | Servizio Professionale di Scrittura e Revisione CV in Italiano e Inglese | Trovareunlavoro.it
Home - Professionals Australia
30,000,000 favicon of BLODGETT.COM BLODGETT.COM
Blodgett Oven
Intro - www.hornetsecurity.com
30,000,000 favicon of BARNOWL.CO.ZA BARNOWL.CO.ZA
Risk Management and Compliance Software | BarnOwl Software
Plantec Distribuidora - Telecom, Segurança Eletrônica e Infraestrutura
30,000,000 favicon of REFLEXOLOGYUK.ORG REFLEXOLOGYUK.ORG
ReflexologyUK.org Training School
ReflexologyUK.org Training School