Usage


  1. Settings → Fields → New field, create a Password field, then add it to the field layouts you want to protect.
  2. Set a password on an element to protect it. Clear it to make it public again.

Anonymous visitors get the unlock screen. Elements sharing the same password unlock together.

To flag protected elements in your own templates, test the field for a value: set is truthy, empty is null:

Twig
{% if entry.<handle> %}🔒{% endif %}

This never reveals or decrypts the password, it only checks whether one is set.