Цей плагін не перевірявся з останніми 3-ма основними випусками WordPress. Можливо, він більше не може розроблятися або підтримуватися, і він може мати проблеми сумісності при використанні з більш новими версіями WordPress.

WooCommerce Category Locker

Опис

General Info & Features:

  • WooCommerce versions support – 2.2.0 and later
  • WordPress version support – 3.5 and later
  • Products under locked category are excluded from the main shop loop
  • Passwords are fully encrypted and saved as a cookie
  • Password cookie lasts for 30 minutes by default
  • Ability to customise password template by copying it in to woocommerce theme folder
  • No Ads
  • No Paid Upgrades
  • Regular updates and maintenance

Having trouble? Please read FAQ first, if you need any assistance, contact us.

Development on GitHub
The development of WooCommerce Category Locker takes place on GitHub. Bugs and pull requests are welcomed there.

Hooks

List of available actions and filters:

Дії

  • wcl_before_passform – runs before Password Form
  • wcl_after_passform – runs after Password Form

Фільтри

  • wcl_passform_classes – Password <form> classes
  • wcl_passform_submit_label – Password form submit button label
  • wcl_passform_submit_classes – Password form submit button classes
  • wcl_passform_input_classes – Password form input classes
  • wcl_passform_input_placeholder – Password form input placeholder
  • wcl_passform_description – Password form description shown above input and submit button
  • wcl_password_form – Entire form markup
  • wcl_password_expires – Password expiry when entered (default 30min)

Скріншоти

  • Category page using TwentySixteen theme.
  • Category page using Storefront theme by WooCommerce.
  • Edit product category page in the admin area.
  • Add product category page in the admin area.

Встановлення

  1. Upload wc-category-locker to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To activate password for category, navigate to Products -> Categories then either create or edit existing category, tick “Password Protected” -> Enter password you wish to use and hit “Update”
  4. To disable password, simply untick “Password Protected”

Часті питання

None yet

Installation Instructions
  1. Upload wc-category-locker to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. To activate password for category, navigate to Products -> Categories then either create or edit existing category, tick “Password Protected” -> Enter password you wish to use and hit “Update”
  4. To disable password, simply untick “Password Protected”

Відгуки

11.11.2018
I install the plugin and set a password to one category. When I try and fill in the correct password, I always have the same page "Enter the password"
12.10.2018
I also experienced this. Installs ok and locks the category in WooCommerce but it does not display the password box to be able to log into the page
03.10.2018
Installs ok and locks the category in WooCommerce but it does not display the password box to be able to log into the pages. Total waste of time.
27.09.2018
Plugin doesn't work - entering the passwords just reloads the page and asks for the password again. Issue was reported 2 weeks by one user and 7 months ago by another - neither have been answered.
20.03.2018
I like how quickly this was to upload and get a no-nonsense clickable box to toggle a category on or off. However, this seems to disable other sections or pages that may be password-protected, so they can't all work simultaneously. When testing, I am able to deactivate and reactivate the plugin and get it working again, but visitors to my site are not able to do that so it simply stops working.
Прочитати всі 10 відгуків

Учасники та розробники

“WooCommerce Category Locker” — проект з відкритим вихідним кодом. В розвиток плагіну внесли свій вклад наступні учасники:

Учасники

Перекладіть “WooCommerce Category Locker” на вашу мову.

Цікавитесь розробкою?

Перегляньте код, перегляньте сховище SVN або підпишіться на журнал розробки за допомогою RSS.

Журнал змін

1.0.3

  • change pre_get_posts action prioriry to default (10) for better theme support. Thanks @marcs84

1.0.2

  • Tidy up, minor updates and corrections in code

1.0.1

  • Fixed issue where users were not able to remove plugin if they didn’t have WooCommerce plugin installed.

1.0

  • First release.