Title: Hide/Show Post/Page Content
Author: sosidee
Published: <strong>21 Luglio 2020</strong>
Last modified: 30 Dicembre 2024

---

Ricerca i plugin

![](https://ps.w.org/hideshow-postpage-content/assets/banner-772x250.jpg?rev=2344581)

Questo plugin **non è stato testato con le ultime 3 versioni principali (major releases)
di WordPress**. Potrebbe non essere più mantenuto, o supportato, e potrebbe presentare
problemi di compatibilità se utilizzato con versioni più recenti di WordPress.

![](https://ps.w.org/hideshow-postpage-content/assets/icon-256x256.gif?rev=2344198)

# Hide/Show Post/Page Content

 Di [sosidee](https://profiles.wordpress.org/sosidee/)

[Scarica](https://downloads.wordpress.org/plugin/hideshow-postpage-content.1.5.4.zip)

 * [Dettagli](https://it.wordpress.org/plugins/hideshow-postpage-content/#description)
 * [Recensioni](https://it.wordpress.org/plugins/hideshow-postpage-content/#reviews)
 * [Sviluppo](https://it.wordpress.org/plugins/hideshow-postpage-content/#developers)

 [Supporto](https://wordpress.org/support/plugin/hideshow-postpage-content/)

## Descrizione

It permits to **hide** or **show** part of the content of posts or pages to users
that are _logged_ or _not_.
 It’s also possibile to select the role(s) or the username(
s) of logged users.

The content to be hidden or displayed must be included in a _shortcode_ tagged as‘**
soshsc**‘.

La pagina informativa è disponibile nel menu **Strumenti**.

È compatibile con **Elementor** dalla versione 2.0.
 Il widget si trova nella categoria
_generale_.

**Shortcode parameters**

hide=”guest”
 _hides content to guests_

hide=”logged”
 _hides content to legged users_

show=”guest”
 _displays content to guests_

show=”logged”
 _displays content to legged users_

role=”subscriber”
 _enables the action (show/hide) only to users with the ‘Subscriber’
role_

role=”subscriber,editor”
 _enables the action (show/hide) only to users with the‘
Subscriber’ or ‘Editor’ role_

user=”foo”
 _enables the action (show/hide) only to the user with username ‘foo’_

user=”foo,bar”
 _enables the action (show/hide) only to the users with username ‘
foo’ or ‘bar’_

Esempi:

 1. Nasconde il contenuto agli utenti non connessi:
     [soshsc hide=”guest”]_Questo contenuto
    è nascosto solo agli utenti non connessi._[/soshsc]
 2. Nasconde il contenuto agli utenti connessi:
     [soshsc hide=”logged”]_Questo contenuto
    è nascosto solo agli utenti connessi._[/soshsc]
 3. Mostra il contenuto solo agli utenti non connessi:
     [soshsc show=”guest”]_Questo
    contenuto è mostrato solo agli utenti non connessi._[/soshsc]
 4. Show content only to logged users:
     [soshsc show=”logged” role=”administrator”]
    _This content is displayed only to administrators._[/soshsc]

## Screenshot

 * [[
 * La pagina informativa (menu Strumenti)
 * [[
 * Il widget di Elementor (categoria generale)

## Recensioni

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

### 󠀁[Convenient and very helpful](https://wordpress.org/support/topic/convenient-and-very-helpful/)󠁿

 [trialho61](https://profiles.wordpress.org/trialho61/) 22 Febbraio 2023

I have been looking for a plugin with similar functionality for a long time. Very
happy that I found it. That’s what I need!

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

### 󠀁[Instructions](https://wordpress.org/support/topic/instructions-40/)󠁿

 [denchik35](https://profiles.wordpress.org/denchik35/) 14 Settembre 2020 1 risposta

No instructions. Инструкцию надо добавлять

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

### 󠀁[Good job](https://wordpress.org/support/topic/good-job-1303/)󠁿

 [gorinileonardo](https://profiles.wordpress.org/gorinileonardo/) 1 Agosto 2020

The solution I was looking for. Simple intuitive and fast

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

### 󠀁[Very useful and simple to use](https://wordpress.org/support/topic/very-useful-and-simple-to-use-7/)󠁿

 [massimorigoni](https://profiles.wordpress.org/massimorigoni/) 28 Luglio 2020

If I can afford a suggestion I would add the possibility of distinguishing the different
roles. Anyway it was useful to me.

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

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

 [Jose Mortellaro](https://profiles.wordpress.org/giuse/) 27 Luglio 2020

Perfect when you don’t need a complicated membership plugin, but in the same time,
you want to display different content for logged-in users. Good job!

 [ Leggi tutte le recensioni di 5 ](https://wordpress.org/support/plugin/hideshow-postpage-content/reviews/)

## Contributi e sviluppo

“Hide/Show Post/Page Content” è un software open source. Le persone che hanno contribuito
allo sviluppo di questo plugin sono indicate di seguito.

Collaboratori

 *   [ sosidee ](https://profiles.wordpress.org/sosidee/)

“Hide/Show Post/Page Content” è stato tradotto in 1 lingua. Grazie a [chi traduce](https://translate.wordpress.org/projects/wp-plugins/hideshow-postpage-content/contributors)
per il contributo.

[Traduci “Hide/Show Post/Page Content” nella tua lingua.](https://translate.wordpress.org/projects/wp-plugins/hideshow-postpage-content)

### Ti interessa lo sviluppo?

[Esplora il codice](https://plugins.trac.wordpress.org/browser/hideshow-postpage-content/)
segui il [repository SVN](https://plugins.svn.wordpress.org/hideshow-postpage-content/),
segui il [log delle modifiche](https://plugins.trac.wordpress.org/log/hideshow-postpage-content/)
tramite [RSS](https://plugins.trac.wordpress.org/log/hideshow-postpage-content/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.5.4

 * Updated the custom library

#### 1.5.3

 * Added a workaround to load the core file ‘pluggable.php’ before using the cache_users()
   function [WordPress 6.1 bug]

#### 1.5.2

 * Updated the internal php library

#### 1.5.1

 * Fixed a PHP notice in the info page
 * Updated the internal php library

#### 1.5

 * Added the do_shortcode() function to allow nested shortcodes
 * Minor fixes and changes

#### 1.4

 * Added shortcode parameters to select logged users by role or username
 * Minor changes

#### 1.2

 * Configurate le impostazioni per la localizzazione
 * Aggiunta la traduzione italiana

#### 1.1

Implementata la compatibilità con Elementor 2.x

#### 1.0

Primo rilascio

## Meta

 *  Versione **1.5.4**
 *  Ultimo aggiornamento **1 anno fa**
 *  Installazioni attive **100+**
 *  Versione WordPress ** 5.9 o superiore **
 *  Testato fino alla versione **6.7.5**
 *  Versione PHP ** 8.0 o superiore **
 *  Lingue
 * [English (US)](https://wordpress.org/plugins/hideshow-postpage-content/) e [Italian](https://it.wordpress.org/plugins/hideshow-postpage-content/).
 *  [Traduci nella tua lingua](https://translate.wordpress.org/projects/wp-plugins/hideshow-postpage-content)
 * Tag
 * [hide content](https://it.wordpress.org/plugins/tags/hide-content/)[hide text](https://it.wordpress.org/plugins/tags/hide-text/)
   [show content](https://it.wordpress.org/plugins/tags/show-content/)
 *  [Visualizzazione avanzata](https://it.wordpress.org/plugins/hideshow-postpage-content/advanced/)

## Valutazioni

 4.6 su 5 stelle.

 *  [  4 recensioni a 5-stelle     ](https://wordpress.org/support/plugin/hideshow-postpage-content/reviews/?filter=5)
 *  [  0 recensioni a 4-stelle     ](https://wordpress.org/support/plugin/hideshow-postpage-content/reviews/?filter=4)
 *  [  1 3- recensioni a stelle     ](https://wordpress.org/support/plugin/hideshow-postpage-content/reviews/?filter=3)
 *  [  0 recensioni a 2-stelle     ](https://wordpress.org/support/plugin/hideshow-postpage-content/reviews/?filter=2)
 *  [  0 recensioni a 1-stelle     ](https://wordpress.org/support/plugin/hideshow-postpage-content/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/hideshow-postpage-content/reviews/#new-post)

[Vedi tutte le recensioni](https://wordpress.org/support/plugin/hideshow-postpage-content/reviews/)

## Collaboratori

 *   [ sosidee ](https://profiles.wordpress.org/sosidee/)

## Supporto

Hai qualcosa da dire? Ti serve aiuto?

 [Chiedi nel forum di supporto](https://wordpress.org/support/plugin/hideshow-postpage-content/)