シードプロッド最新ニュース

ビジネスの成長に役立つWordPressのチュートリアル、ヒント、リソース

パスワードで保護されたページをカスタマイズする

WordPressでパスワードで保護されたページをカスタマイズする方法 

執筆者 著者アバター ステイシー・コリン
著者アバター ステイシー・コリン
ステイシーはWordPressとデジタルマーケティングについて10年以上、その他のトピックについてはもっと長い間執筆している。また、ウェブデザイン、ユーザーエクスペリエンス、SEOにも造詣が深い。
     レビュー レビュアーアバター ターナー・ジョン
レビュアーアバター ターナー・ジョン
ジョン・ターナーはSeedProdの共同設立者です。彼は20年以上のビジネスと開発の経験があり、彼のプラグインは2500万回以上ダウンロードされています。

As a writer, I’ve always used WordPress’s password protection feature to lock pages with sensitive information I’m working on. It’s a useful way to keep drafts and confidential content away from the public. But I’ve often struggled with making that page look good.

The default password-protected page isn’t very appealing—it looks plain and might not leave the best impression if visitors stumble upon it. It doesn’t match the style or professionalism of your website, and that can be jarring.

It got me thinking about how you can make those pages more user-friendly and aligned with your site’s branding.

In this guide, I’ll show you how I was able to customize password protected page WordPress designs without touching any code. This way, your protected pages can look just as polished as the rest of your site.

Why Customize a Password Protected Page in WordPress?

If you’re offering exclusive content to members or clients, the built-in WordPress password protect page feature can come in handy. It lets you quickly lock a page or even your whole site with a simple password.

For example, I’ve used it to hide landing pages while they’re still being built. You might want to do the same for online courses, premium downloads, or other gated content.

But here’s the thing: the default password form isn’t the best-looking. It’s a plain box asking for a password, with no styling or branding:

デフォルトのWordPressパスワード保護ページ(カスタマイズなし

By giving it a more custom design, you can:

  • Offer a better user experience
  • Keep your site’s branding consistent
  • Help users know exactly what to do

So if you’re wondering how to style WordPress password protected page content, you’re in the right place.

Let me walk you through the options I’ve tried.

WordPressのページをパスワードで保護する方法

You can password protect WordPress pages using the default WordPress visibility settings by following these steps:

  1. 保護したいページまたは投稿を開く
  2. Publishメタボックスで、Visibilityオプションをクリックします。
  3. ドロップダウンメニューからパスワード保護を選択します。
  4. 保護されたコンテンツにアクセスするためにユーザーが入力するパスワードを入力します。
  5. 青いPublishボタンをクリックして変更を保存します。

You now know how to password protect WordPress page content. After saving your changes, you can visit your site and see the password protected page working:

Default password protected page example

Now, let’s go over some ways to customize WordPress password protected page content so it matches the rest of your site:

Method 1. Customize Specific Password Protected Pages

Let’s explore how to edit password protected page designs for specific pages. Making these pages look professional and match the rest of your site creates a better experience for your visitors and reinforces your brand.

I like to use SeedProd for customizing individual password-protected pages. It’s a WordPress website builder with a visual editor that makes design easy.

SeedProd ドラッグ&ドロップWordPressウェブサイトビルダー

It also includes Access Controls, which are helpful for restricting access to certain pages. This makes it so that only authorized people can see your content. You can then use SeedProd’s customization options to style the page.

Here’s how to customize your password-protected page with SeedProd:

Alternatively, you can follow these written instructions:

First, get started with SeedProd here. Then follow these instructions for installing the SeedProd page builder plugin.

次に、近日公開またはメンテナンスモードのランディングページを作成します。これらはウェブサイトを制限するための特別なアクセスコントロールページです。

To do that, click the SeedProd icon from your WordPress admin. This takes you to the SeedProd dashboard, where you can add new pages and edit them in the customizer.

seedprodランディングページ・ダッシュボードの概要

その後、「Set Up a Coming Soon Page」ボタンをクリックします。

SeedProdでパスワードで保護された近日公開ページを設定する

次に、ページデザインの出発点として使用するカスタムテンプレートがいくつか表示されます。

wordpressパスワード保護ページカスタムテンプレート

この例では、Swipecoming soonテンプレートを使用します。テンプレートを起動するには、サムネイルにマウスカーソルを合わせ、ティックアイコンをクリックします。

チェックアイコンをクリックすると、ドラッグ&ドロップページビルダーで近日公開のページテンプレートが起動します。

Your coming soon page template will appear in the drag-and-drop page builder. Here, you can begin to customize the password protected page to suit your brand.

SeedProd coming soon ランディングページ・ビルダー

SeedProdのページビルダーはWordPressのカスタマイザーのようにリアルタイムで変更が可能です。

It also has WordPress blocks. These blocks make it easy to customize the password-protected page without prior design experience.

見出し、ボタン、画像、動画、仕切りなどの標準ブロックから選択できます。

SeedProdの標準コンテンツ要素

また、ランディングページのブロックを使って、リードやコンバージョンを増やすこともできる:

  • 景品- RafflePressの景品ブロックをあなたのページに追加しましょう。
  • コンタクトフォーム- WPFormsで作られたコンタクトフォームをランディングページに追加します。
  • オプチンフォーム- カスタムのテンプレートとスタイルを備えたサインアップフォームでリードを増やす
  • カウントダウンタイマー- ライブカウントダウンで緊迫感を演出。
  • ソーシャルボタン- ソーシャルプロフィールと共有ボタンでソーシャルメディアのフォロワーを増やしましょう。
  • 他にもいろいろある。
ランディングページ専用のブロックを使用して、ウェブサイトのコンバージョンを増やします。

左から右のライブページプレビューにドラッグすることで、これらの機能をページに追加することができます。

次に、任意の要素をクリックしてコンテンツを編集します。カスタムブロックテンプレートを選択し、高度な変更を加えることもできます。

あなたのページにパスワード入力フィールドを含めることができます。ユーザーは、保護されたコンテンツにアクセスするために、送信をクリックする前にパスワードを入力する必要があります。

これを行うには、カスタムHTMLブロックをライブページエディタにドラッグします。

カスタムHTMLランディングページ・ブロックを追加する

次に、ブロックをクリックしてコンテンツを編集します。次に、このショートコードseed_bypass_formをコンテンツエディターに角括弧で囲んで貼り付けます。

seedprodのパスワード・フィールド・ショートコードを入力する。

You won’t see the password input field until you preview your live page. It will, however, give you a custom password form WordPress visitors can use to unlock the page.

Set Up Password Protection on Specific Pages

After customizing your page with the bypass form shortcode, you’ll want to set up password protection for specific pages of your WordPress site.

To do this, click the Page Settings tab at the top of the builder and select the Access Controls heading. Next, add a password in the ‘Bypass URL’ field. This acts as a password for your page, and also a link clients and team members can use to get past the password protection and access the page.

SeedProdのアクセス制御

You can also exclude pages from password protections, such as your dashboard, admin, and login, so you don’t get locked out of your site.

Now, you need to decide which pages will be password protected. This could be pages with members-only content, lead magnets, or even an unfinished landing page.

Simply find the ‘Include URLs’ heading and add the WordPress password protected page you want to restrict in the text box. For example, you can add specific landing pages and posts, or even use this feature for password protected categories.

password protect specific pages in WordPress

保護されたWordPressページのカスタマイズが完了したら、いよいよ公開です。

パスワードで保護されたページを公開するには、「保存」ボタンの隣にある下向き矢印をクリックし、「公開」をクリックします。

パスワードで保護されたランディングページをWordPressで公開する

ページが公開されたことを知らせるライトボックスのポップアップが表示されます。そして、「ライブページを見る」ボタンをクリックして、変更をプレビューすることができます。

パスワードで保護されたカスタムページをプレビューする

ページをライブにするには、SeedProdダッシュボードに戻ります。Coming Soon Modeセクションで、InactiveトグルをActiveに切り替えます。

パスワードで保護された近日公開のカスタムページを有効にする

パスワードで保護されたカスタムページが公開されました!

WordPressでカスタマイズしたパスワード保護ページの例

ページを再度変更したい場合は、SeedProdのページ編集ボタンをクリックしてください。すると、ページのメッセージ、コンテンツ、スタイルを再度変更することができます。

Method 2. Customize Default Password-Protected WordPress Page

When you password protect a WordPress page from the WordPress editor, your page inherits the styling from your WordPress theme.

To customize it, you can use a visual editor plugin like CSS Hero. It lets you edit the CSS of any page without editing the code.

This is a great option if you’re looking for a simple way to WordPress edit password protected page styles without installing a full page builder. You can also use it to tweak the design of your customize WordPress reset password page or other login-related screens.

First, get CSS Hero here and install the plugin on your website. Then, navigate to your password-protected page in WordPress.

ページ上部のWordPress管理バーから、CSSヒーローでカスタマイズオプションをクリックします。

CSSヒーローでパスワード保護ページをカスタマイズする

これは、あなたのWordPressページを編集し、カスタマイズするためのシンプルなポイントアンドクリックのビジュアルエディタを明らかにする。

WordPressのパスワード保護ページをカスタマイズするためにCSSヒーローエディタを使用する

With CSS Hero, you can customize various elements of your password-protected page, including:

  • Typography: Change font styles, sizes, and colors for the page title, form labels, and other text elements.
  • Form Elements: Modify the appearance of the password input field, including its border, background color, and placeholder text.
  • Button Design: Customize the submit button with different colors, hover effects, rounded corners, or even add icons.
  • Layout Adjustments: Alter the positioning and spacing of elements, add padding or margins, and adjust the overall layout of the form.
  • Background Effects: Beyond simple colors, you can add gradients, patterns, or even background images to the entire page or specific sections.
  • Responsive Design: Make sure your customizations look good on all devices by adjusting styles for different screen sizes.

ヘッダーをクリックすると、左側にオプション・パネルが開きます。次に、カラーピッカーツールから色を選択することができます。

ヘッダーのCSSをカスタマイズする

Click your page’s background. You can change it by choosing a color or gradient from the list, or you can add your own background image.

パスワード保護されたページに背景グラデーションを追加する

CSS Heroを使うことの欠点は、コンタクトフォーム、サインアップフォーム、ソーシャルボタンなどの要素を追加できないことです。それらについては、以下のSeedProdメソッドを使用することをお勧めします。

ページのカスタマイズを続け、さまざまな要素をクリックし、カスタムカラーやフォントを追加します。

デザインに満足したら、Save and Publishボタンをクリックします。その後、画面右上の終了アイコンをクリックします。

Save Changes をクリックし、quit をクリックしてページデザイナーを終了します。

これで、新しく編集されたロックされたページデザイン(パスワードフォーム付き)が表示されます。

CSS HeroでカスタマイズされたWordPressのパスワード保護ページ

Method 3. Show a Custom Protected Page on Your Entire Website

You can also use SeedProd to customize and show a password protected page on every page of your website. That way, users will need to enter a password to access any of your content.

The steps to password protect your WordPress website are the same as above. Go to SeedProd » Landing Pages, and in the Coming Soon panel, click Edit Page.

edit coming soon page

From there, click the Page Settings tab and find the Access Controls heading. Here, scroll to the ‘Include/Exclude URLs’ area and click the ‘Show on the Entire Website’ radio button.

Password protect entire WordPress site

Once you’ve saved the changes, your custom password page will appear on every page of your entire site.

With this method, it’s easy to create a WordPress style password protected page that looks great and covers your whole site.

よくある質問

Can I password protect a page on WordPress?
Yes, you can lock a WordPress page with a password. Edit the page, find “Visibility” in the “Publish” section, and choose “Password protected.” Enter a password and update the page. Only people with the password can see it.
What is the difference between password protected and private pages in WordPress?
The main difference between password-protected and private pages in WordPress is who can see them. A password-protected page needs a password to open. A private page is only for logged-in users with special roles, like admins or editors.
Are password protected pages indexed?
No, password-protected pages in WordPress do not show up in search engines. Search engines cannot see the content behind a password. If the page was already in search results, it may stay there until search engines update their listings.

そうだ!

WordPressパスワード保護のヒント

Customizing protected pages in WordPress doesn’t have to be complicated. Whether you’re using SeedProd or CSS Hero, you can get your WordPress customize password protected page setup looking just the way you want.

You don’t need to edit any code or mess with theme files. Just pick the approach that works best for your site and goals.

何を待っているんだい?

WordPressサイトのパスワード保護に関するさらに詳しいヒントは、以下のエキスパートガイドをご覧ください:

お読みいただきありがとうございました!ご質問やご意見がありましたら、お気軽にコメントをお寄せください。

また、YouTubeX(旧Twitter)Facebookでも、ビジネスの発展に役立つコンテンツを配信しています。

著者アバター
ステイシー・コリン ライター
ステイシーはWordPressとデジタルマーケティングについて10年以上、その他のトピックについてはもっと長い間執筆している。また、ウェブデザイン、ユーザーエクスペリエンス、SEOにも造詣が深い。

情報開示私たちのコンテンツは読者支援型です。つまり、あなたが私たちのリンクをクリックした場合、私たちはコミッションを得る可能性があります。私たちは、読者に付加価値をもたらすと信じる製品のみを推薦します。