內容簡介
傳統上,所有受密碼保護的文章都包含一個慣用的密碼表單,沒有任何提示。因為無法更改字串,必須在另一篇文章中提供提示,這有點笨拙。更不用說,只查看單一保護的文章的人將無法查看提示。使用這個外掛,保護的文章更容易使用。
密碼提示來自保護文章中的某個自訂欄位,鍵名為“password_hint”。如果這個鍵存在,則鍵的值立即作為密碼提示。如果沒有該鍵,則再次顯示標準的密碼表單。
外掛標籤
開發者團隊
② 後台搜尋「Protected Post Password Hint」→ 直接安裝(推薦)
原文外掛簡介
Traditionally all password protected posts contain a boiler-plate password form without any hints. Without any capability to change the string, one must provide the hint in another post, which is a bit clumsy. Not to mention, people viewing the single protected post only will be unable to see the hint at all. With this plugin protected posts are more usable.
The password hint is taken from a certain custom field within the protected post, with key name ‘password_hint’. If this key is present, the value of key is immediately taken as the password hint. Without the key, the standard password form is shown again.
