Is There A Way To Control The Look Of The Screen For A Password Protected Wordpress Page?
Themeisle content is free. When you purchase through referral links on our site, we earn a committee. Learn More
Need to password protect WordPress? Whether you need to password protect your unabridged site or just a few private posts (or something in betwixt!), I've got the solutions for you in this post.
Once you stop reading, y'all'll know how to countersign protect:
- Your unabridged WordPress site
- Specific categories of your site
- Private posts or pages
- Individual WooCommerce products
- Specific content within an otherwise public WordPress mail
And then whether you want the whole kit and kaboodle or just a single post, you'll learn it here. Let's leap in…
How to countersign protect your entire WordPress site
If you want to password protect your entire WordPress site, y'all'll need a third-party plugin to get things done. Later playing around with a number of unlike ones, I've settled on Password Protected by Ben Huson:
To use information technology, install and activate the plugin like you would any other WordPress plugin. Then, head to Settings → Password Protected.
All y'all need to do is configure the following page to countersign protect WordPress:
Here's what everything means:
- Password Protected Status – when enabled, your site is password protected.
- Protected Permissions – if you check one of these boxes, visitors with those permissions will not need to enter a password. They'll merely see your site like normal.
- New Password – enter the password you want to use for your site.
- Permit IP Accost – if yous enter an IP address here, anyone visiting your site from that IP address volition not demand to enter a countersign.
Once you click Salve Changes, anyone who doesn't fit i of the access rules you defined will see this screen before they tin access your site:
If you'd like to customize this page's styling, you can do information technology the same way y'all'd customize the normal WordPress login page.
Annotation – if someone has a direct link to an image or file on your server, they'll still exist able to admission that file. The countersign protection just affects your actual WordPress site.
How to password protect WordPress categories
Not set to password protect your entire site? If you lot want something a niggling less drastic, you can use a dissimilar plugin to password protect specific categories of posts on your site. For this approach, you tin can use Access Category Password:
Once y'all've installed and activated the plugin, head to Settings → Admission Category Password.
Like Countersign Protected, in that location's just one folio of settings:
Here's what everything ways:
- The password – cocky-explanatory! The password users will use to admission restricted categories.
- Impacted categories – check the box for each category you want the password to apply to.
- Granting users – user roles for which you bank check the box volition not need to enter a password.
- Only single post – if yous check this box, post content will still brandish on your archive pages or your homepage. Only the single postal service page of posts in the restricted categories will be password protected. The default should exist to leave this unchecked.
And below those options, yous tin can also configure the various messages that will appear on the Enter countersign form. Speaking of which, here's what users will meet if they try to access a post from a restricted category:
How to password protect WordPress posts or WooCommerce products
If you desire to password protect individual WordPress posts, pages, or WooCommerce products, you don't need any third-party plugins. WordPress actually has a born office to help you lot accomplish this.
Merely head to the WordPress Editor for a post, page, or WooCommerce product you want to restrict. Then, nether Publish, click Edit for the Visibility option:
Choose Password protected and enter your desired countersign. And then click OK:
When you lot Publish or Update your post, information technology will exist password protected and look like this:
Considering this is a core WordPress part, the process is identical for pages, WooCommerce products, or pretty much any other custom post type.
One neat fox is to use the same password for multiple posts. If you exercise that, a user will only need to enter the password once to gain access to all the posts using that specific password.
How to countersign protect part of WordPress post
If you merely want to add countersign protection to a specific scrap of content within an otherwise public WordPress mail service or page, y'all'll demand to turn dorsum to third-party plugins for help. This time, you can use ane chosen Passster – Password Protection:
As usual, install and actuate the plugin to get started. Then go to Settings → Passster and create a shortcode with your countersign or with an automatically generated ane.
Next, head to the WordPress Editor for the post you lot want to add password protected content to. Then, simply paste the shortcode where you want in your Editor and write your protected content:
At present, visitors will be able to see all of your normal content. But annihilation you put inside the shortcode will be password protected like this:
Wrapping things up
And that finishes up our guide to password protect WordPress in all kinds of ways. If you only need to restrict individual WordPress posts, you can use WordPress' congenital-in password functionality. Otherwise, to password protect other parts of WordPress, you'll demand to employ i of the tertiary-party plugins I referenced in a higher place.
If yous have whatever other questions virtually how to password protect WordPress, leave them in the comments and nosotros'll try to aid out!
Free guide
five Essential Tips to Speed Up
Your WordPress Site
Reduce your loading time by even l-80%
just by following simple tips.
Download gratuitous guide
Is There A Way To Control The Look Of The Screen For A Password Protected Wordpress Page?,
Source: https://themeisle.com/blog/password-protect-wordpress/
Posted by: richterpospaland1960.blogspot.com
0 Response to "Is There A Way To Control The Look Of The Screen For A Password Protected Wordpress Page?"
Post a Comment