How to Password Protect Parts of a WordPress Post

Today! Let's take a look at the most specific way to password protect a portion of a public WordPress post.

图片[1]-如何用密码保护 WordPress 帖子的部分内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

To set this feature, use theFree Passster Plugin on WordPress.orgThe

After installing and activating the plugin, go toSettings → PasssterGenerate short codes for restricting content.

Enter the password you want and selectGenerate Password::

图片[2]-如何用密码保护 WordPress 帖子的部分内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

Then, save the changes and copy the shortcode that Passster provided you with:

图片[3]-如何用密码保护 WordPress 帖子的部分内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

Then, add this short code to the content you want to use password protection for. Also, edit the "Your content is here" placeholder and replacing it with the placeholder to bePassword-protected content::

图片[4]-如何用密码保护 WordPress 帖子的部分内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

An example of the default password-protected form after publishing a post is shown below:

图片[5]-如何用密码保护 WordPress 帖子的部分内容-光子波动网 | 专业WordPress修复服务,全球范围,快速响应

To customize the appearance of this form, you can use the WordPress customizer (Appearance → Customize).

Find in WordPress CustomizerPassstersection. There, the text and colors of the form can be customized:

WordPress 定制器中的 Passster 样式选项

summarize

It's easy to password protect sections of content in WordPress by using the free Passster plugin. Simply generate short codes and customize the appearance of the form to secure the content.


Contact Us
Can't read the article? Contact us for free answers! Free help for personal, small business sites!
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: info@361sale.com
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
This article was written by Harry
THE END
If you like it, support it.
kudos0 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments