{"id":117548,"date":"2020-02-21T10:24:14","date_gmt":"2020-02-21T10:24:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/password-for-wp\/"},"modified":"2026-06-19T07:41:09","modified_gmt":"2026-06-19T07:41:09","slug":"password-for-wp","status":"publish","type":"plugin","link":"https:\/\/cn.wordpress.org\/plugins\/password-for-wp\/","author":17804808,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.8.1","stable_tag":"1.8.1","tested":"7.0","requires":"6.0","requires_php":"7.2","requires_plugins":null,"header_name":"Password for WP","header_author":"get3code","header_description":"Add password for wordpress. User must login to show content. Plugin is free for all.","assets_banners_color":"9c897d","last_updated":"2026-06-19 07:41:09","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/donate\/?hosted_button_id=CP33P6D3W42R4","header_plugin_uri":"","header_author_uri":"https:\/\/get3code.com","rating":0,"author_block_rating":0,"active_installs":200,"downloads":4209,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"get3code","date":"2020-02-25 10:26:37"},"1.1":{"tag":"1.1","author":"get3code","date":"2020-08-02 22:39:59"},"1.2":{"tag":"1.2","author":"get3code","date":"2021-05-05 20:16:00"},"1.3":{"tag":"1.3","author":"get3code","date":"2022-12-08 09:57:46"},"1.4":{"tag":"1.4","author":"get3code","date":"2023-03-06 08:23:10"},"1.5":{"tag":"1.5","author":"get3code","date":"2024-07-12 13:54:05"},"1.6":{"tag":"1.6","author":"get3code","date":"2025-01-03 12:36:07"},"1.6.1":{"tag":"1.6.1","author":"get3code","date":"2025-01-03 12:40:34"},"1.8.0":{"tag":"1.8.0","author":"get3code","date":"2026-06-19 07:26:40"},"1.8.1":{"tag":"1.8.1","author":"get3code","date":"2026-06-19 07:41:09"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":2248107,"resolution":"256x256","location":"assets","locale":"","width":128,"height":128}},"assets_banners":{"banner-1544x500-rtl.jpg":{"filename":"banner-1544x500-rtl.jpg","revision":3214176,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3214176,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250-rtl.jpg":{"filename":"banner-772x250-rtl.jpg","revision":3214176,"resolution":"772x250","location":"assets","locale":"","width":722,"height":250},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3214176,"resolution":"772x250","location":"assets","locale":"","width":722,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.6.1","1.8.0","1.8.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3576336,"resolution":"1","location":"assets","locale":"","width":553,"height":508},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3576336,"resolution":"3","location":"assets","locale":"","width":553,"height":508}},"screenshots":{"1":"Settings panel with password, cache and logged-in options.","2":"Background image picker with a live thumbnail preview.","3":"The front-end login screen with a background image."}},"plugin_section":[],"plugin_tags":[1281,1930,30794,17051,600],"plugin_category":[54],"plugin_contributors":[236184],"plugin_business_model":[],"class_list":["post-117548","plugin","type-plugin","status-publish","hentry","plugin_tags-maintenance-mode","plugin_tags-password","plugin_tags-password-protect","plugin_tags-restrict-content","plugin_tags-security","plugin_category-security-and-spam-protection","plugin_contributors-get3code","plugin_committers-get3code"],"banners":{"banner":"https:\/\/ps.w.org\/password-for-wp\/assets\/banner-772x250.jpg?rev=3214176","banner_2x":"https:\/\/ps.w.org\/password-for-wp\/assets\/banner-1544x500.jpg?rev=3214176","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/password-for-wp\/assets\/icon-256x256.png?rev=2248107","icon_2x":"https:\/\/ps.w.org\/password-for-wp\/assets\/icon-256x256.png?rev=2248107","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/password-for-wp\/assets\/screenshot-1.png?rev=3576336","caption":"Settings panel with password, cache and logged-in options."},{"src":"https:\/\/ps.w.org\/password-for-wp\/assets\/screenshot-3.png?rev=3576336","caption":"The front-end login screen with a background image."}],"raw_content":"<!--section=description-->\n<p>Password for WP locks your whole website behind one password. Visitors see a clean, full-screen login screen until they enter the correct password, while your WordPress admin area (wp-admin) stays fully accessible.<\/p>\n\n<p>It is perfect for sites in development, staging environments, private launches, client previews, or a simple maintenance mode. Setup takes less than a minute and the plugin is completely free.<\/p>\n\n<h4>Key features<\/h4>\n\n<ul>\n<li>Protect the entire front-end of the site with one password.<\/li>\n<li>Modern, responsive login screen with a clean, flat design.<\/li>\n<li>Choose a background image from the WordPress Media Library and display it stretched as a full cover, with a live thumbnail preview in the settings.<\/li>\n<li>Set a custom background color used as a fallback behind the image.<\/li>\n<li>Add your own headings (H2 and H3) to greet or inform visitors.<\/li>\n<li>Cache support: keeps the protection working when a page cache plugin is active (LiteSpeed Cache, WP Super Cache, W3 Total Cache and more).<\/li>\n<li>Skip the password for logged-in users with a single switch.<\/li>\n<li>CSRF-protected settings and hardened output escaping.<\/li>\n<li>Available in English, Polish, German and French, and fully translation ready.<\/li>\n<\/ul>\n\n<h4>How it works<\/h4>\n\n<p>When protection is enabled, every front-end request is checked for a valid access cookie. Visitors without the cookie are shown the login screen. After entering the correct password, a secure cookie is set for 30 days so they are not asked again. The WordPress login and admin panel are never blocked by the plugin.<\/p>\n\n<h3>Upgrading<\/h3>\n\n<p>For manual upgrades via FTP, deactivate and reactivate the plugin to ensure it works correctly.<\/p>\n\n<h3>Translations<\/h3>\n\n<p>Password for WP ships with English, Polish, German and French translations. Additional languages can be added using the included .po and .mo files in the \/languages folder.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to \/wp-content\/plugins\/, or install it from your WordPress admin under Plugins &gt; Add New.<\/li>\n<li>Activate the plugin through the Plugins menu in WordPress.<\/li>\n<li>Open the Password for WP menu in the admin sidebar.<\/li>\n<li>Set a password, turn protection ON, and save your changes.<\/li>\n<li>Optional: choose a background image, pick a background color, edit the on-screen texts, and configure cache and logged-in options.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20the%20password%20also%20protect%20the%20wordpress%20admin%20area%3F\"><h3>Does the password also protect the WordPress admin area?<\/h3><\/dt>\n<dd><p>No. The password only protects the public front-end of your site. The wp-admin area and the WordPress login page stay accessible so you can keep working normally.<\/p><\/dd>\n<dt id=\"how%20do%20i%20add%20a%20background%20image%3F\"><h3>How do I add a background image?<\/h3><\/dt>\n<dd><p>In the plugin settings, click Select image next to Background image, choose any image from your Media Library, and a thumbnail preview appears immediately. The image is shown stretched as a full-screen cover on the login screen. Use Remove to clear it.<\/p><\/dd>\n<dt id=\"i%20use%20a%20caching%20plugin.%20will%20protection%20still%20work%3F\"><h3>I use a caching plugin. Will protection still work?<\/h3><\/dt>\n<dd><p>Yes. Enable the Cache support option. The plugin then tells your cache not to store the login screen, varies cached pages by the access cookie, and clears the cache when you save the settings so protected pages are never served from an old cache.<\/p><\/dd>\n<dt id=\"can%20logged-in%20users%20skip%20the%20password%3F\"><h3>Can logged-in users skip the password?<\/h3><\/dt>\n<dd><p>Yes. Turn on Do not ask logged-in users for the password and any logged-in user will see the site without entering the password.<\/p><\/dd>\n<dt id=\"is%20the%20plugin%20compatible%20with%20wordpress%207%3F\"><h3>Is the plugin compatible with WordPress 7?<\/h3><\/dt>\n<dd><p>Yes. Password for WP is built and tested for WordPress 7 and remains backward compatible with WordPress 6.0 and above.<\/p><\/dd>\n<dt id=\"in%20which%20languages%20is%20the%20plugin%20available%3F\"><h3>In which languages is the plugin available?<\/h3><\/dt>\n<dd><p>English, Polish, German and French are included, and the plugin is fully translation ready via the bundled .po and .mo files.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.8.1<\/h4>\n\n<ul>\n<li>Fix CSS<\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<ul>\n<li>Added a background image picker using the WordPress Media Library, with a live thumbnail preview in the settings.<\/li>\n<li>The selected image is displayed stretched as a full-screen cover on the login screen.<\/li>\n<li>Confirmed compatibility with WordPress 7.<\/li>\n<li>Updated translations (EN, PL, DE, FR).<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Redesigned admin panel and login screen with a clean, flat, borderless design.<\/li>\n<li>Added cache support for page caching plugins (LiteSpeed, WP Super Cache, W3 Total Cache).<\/li>\n<li>Added an option to skip the password for logged-in users.<\/li>\n<li>Replaced the deprecated admin bar API with add_node().<\/li>\n<li>Hardened output escaping and switched to constant-time password comparison.<\/li>\n<li>Restricted admin assets to the plugin page only and added asset versioning.<\/li>\n<li>Tested on WordPress 6.9.<\/li>\n<\/ul>\n\n<h4>1.6.1<\/h4>\n\n<ul>\n<li>Added Changelog.<\/li>\n<li>Improved CSS for colorpicker.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Added CSRF protection.<\/li>\n<li>Tested on WordPress 6.7.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Improved translations.<\/li>\n<li>Tested on WordPress 6.x.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Added support for WordPress 6+.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Plugin tested on WordPress 6.0 and above.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Plugin tested on WordPress 5.7.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Plugin tested on WordPress 5.5.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release to the WordPress repository.<\/li>\n<\/ul>","raw_excerpt":"Protect your whole WordPress site with one password. Custom background image, message and colors, cache friendly. Compatible with WordPress 7.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/117548","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=117548"}],"author":[{"embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/get3code"}],"wp:attachment":[{"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=117548"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=117548"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=117548"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=117548"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=117548"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=117548"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}