Differenze tra le versioni di "WordPress plugin: Ultimate Member"
Riga 1: | Riga 1: | ||
[[Plugin WordPress|← Plugin WordPress]] | [[Plugin WordPress|← Plugin WordPress]] | ||
− | |||
− | |||
== Accesso == | == Accesso == | ||
Riga 9: | Riga 7: | ||
fonte: https://wordpress.org/support/topic/how-to-disable-registration-and-loigin-but-leave-permissions/ | fonte: https://wordpress.org/support/topic/how-to-disable-registration-and-loigin-but-leave-permissions/ | ||
+ | |||
+ | == Shortcodes == | ||
+ | === Restrict content === | ||
+ | Show content to specific roles | ||
+ | [um_show_content roles='member'] <!-- insert content here --> [/um_show_content] | ||
+ | [um_show_content not='member'] <!-- insert content here --> [/um_show_content] | ||
+ | Show content for logged in users | ||
+ | [um_loggedin] This text can only be seen by logged in users [/um_loggedin] | ||
+ | Show content for logged out users | ||
+ | [um_loggedout] This text can only be seen by logged out users [/um_loggedout] | ||
+ | |||
+ | fonte: https://docs.ultimatemember.com/article/210-ultimate-member-shortcodes#restrict_content |
Versione attuale delle 08:05, 25 giu 2021
Accesso
Disabilitazione registrazione
Non è possibile, ma si può convertire la pagina di registrazione nelle istruzioni per come fare o a chi chiedere per registrarsi.
fonte: https://wordpress.org/support/topic/how-to-disable-registration-and-loigin-but-leave-permissions/
Shortcodes
Restrict content
Show content to specific roles
[um_show_content roles='member'] [/um_show_content] [um_show_content not='member'] [/um_show_content]
Show content for logged in users
[um_loggedin] This text can only be seen by logged in users [/um_loggedin]
Show content for logged out users
[um_loggedout] This text can only be seen by logged out users [/um_loggedout]
fonte: https://docs.ultimatemember.com/article/210-ultimate-member-shortcodes#restrict_content