Este plugin não foi testado com as 3 últimas grandes versões do WordPress. Pode já não ser suportado e pode ter problemas de compatibilidade quando usado com versões mais recentes do WordPress.

Restrict Lite

Descrição

An easy way to limit what data is shown to users with a simple a shortcode. Any content placed inside the shortcode will be restricted to users with the correct capabilities.

Usage

To restrict just a section of content within a post or page, you may use shortcodes like this:

[restrict capability=”editor”] restricted content goes here [/restrict]

Ecrãs

  • Using a shortcode with multiple roles in the WYSIWYG editor.

Instalação

  1. Manual Installation: Upload restrict-lite to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Perguntas frequentes

Where can i get a list of roles & capabilities?

View what roles are specific to what user here: https://codex.wordpress.org/Roles_and_Capabilities

An example use would be

[restrict capability=”editor”] restricted content goes here [/restrict]

Avaliações

Este plugin não tem avaliações.

Contribuidores e programadores

“Restrict Lite” é software de código aberto. As seguintes pessoas contribuíram para este plugin:

Contribuidores

Traduza o “Restrict Lite” para o seu idioma.

Interessado no desenvolvimento?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Registo de alterações

1.3

  • Fixed a bug with capability not working correctly.
  • Tested with latest WordPress.

1.2

  • Updates to readme

1.1.0.3

  • Upgrade notice included.

1.102

  • Fixed Syntax error introduced in 1.1

1.1

  • Important change, role is now capability to better reflect is true name.
  • role will be removed in future builds. Please make changes to your shortcodes!
  • Removed default “read”.

1.0

  • Initial release