內容簡介
此外掛擴展了 WordPress 內建的密碼保護和私人文章/頁面的設定,無需額外的密碼系統或付費升級,提供更高的自訂性和靈活性。
【主要功能】
• 隱藏或替換標題前綴
• 自訂密碼表單文字和顏色
• 設定密碼 Cookie 的有效期限
• 隱藏密碼保護文章於首頁和搜尋結果
• 透過自訂器進行即時預覽設定
外掛標籤
開發者團隊
② 後台搜尋「Customize Private & Protected: Password Form & Prefix」→ 直接安裝(推薦)
原文外掛簡介
Extends WordPress’s own built-in password-protected and private post/page settings — no second password system, no Pro tier, no upsells.
Title prefix
Hide the “Protected: ” / “Private: ” prefix WordPress adds to a password-protected or private post’s title
Or replace it with your own text
Password form
Rewrite the intro text, the password label, and the submit button text
Set the password field’s and submit button’s colors, and the button’s padding
Add widget areas before and after the form
Custom “Invalid password” text for a wrong attempt (WordPress 6.8+)
Custom excerpt text for protected posts in lists
Set how long the password cookie lasts, or make it a session-only cookie
Hide password-protected posts from your homepage, archives, search results, and feeds, while keeping them reachable at their own URL
Or keep your theme’s own password form (Divi supported) and just add the widget areas
Configure it through the Customizer (Appearance > Customize), which previews your changes as you type, or through Settings > Private & Protected, a plain settings page that works the same on every theme, block themes included. Both edit the same settings. Four options added in 1.6 (invalid password text, excerpt text, cookie lifetime, hide from lists) are on the settings page only.
Donations
If you’d like to support future development, buy me a tea!
