Do you want to create a paywall on your WordPress site to publish paid content?
您是否要在WordPress网站上创建付费专区以发布付费内容?
Adding a paywall allows you to monetize some or all of your content with a subscription plan. This freemium model is already used by top publications like the NYTimes and the Washington Post.
添加付费专区可让您通过订阅计划将部分或全部内容获利。 这种免费增值模式已被《纽约时报》和《华盛顿邮报》等顶级刊物使用。
In this article, we’ll show you how to easily create a paywall on your WordPress site without hiring developers.
在本文中,我们将向您展示如何在不雇用开发人员的情况下轻松地在WordPress网站上创建付费专区。
什么是收费墙,为什么要使用? (What is a Paywall and Why Use One?)
A paywall is a way of hiding or locking your content until the reader pays for accessing it. This is normally done through an ongoing subscription.
付费墙是一种隐藏或锁定您的内容的方式,直到读者为访问内容付费为止。 这通常通过正在进行的订阅来完成。
If you want, you can also set a one-off fee for access to all paid content. Some websites also use the paywall to grow their email list by asking users to subscribe to their newsletter or by creating a free account.
如果需要,您还可以设置一次性费用来访问所有付费内容。 一些网站还通过要求用户订阅其新闻通讯或创建免费帐户来使用付费专区来扩展其电子邮件列表 。
Many newspapers have introduced paywalls to their websites. Here’s an example from the UK newspaper The Daily Telegraph:
许多报纸在其网站上引入了付费专区。 这是英国报纸《每日电讯报》的一个例子:
And here’s the New York Times paywall which only requires an email subscription:
这是《纽约时报》的付费专区,仅需订阅电子邮件即可:
In many cases, paywalls let readers access a limited amount of free content. For instance, readers might be able to view up to 5 articles before needing to enter their email address or purchase a subscription.
在许多情况下,付费墙可让读者访问数量有限的免费内容。 例如,读者可能需要阅读最多5篇文章,然后才需要输入他们的电子邮件地址或购买订阅。
A paywall can be a great way to monetize if you provide lots of high-quality content. It’s suitable for sites that don’t want to make money online through other methods like running advertising or selling products.
如果您提供大量高质量的内容,付费墙可能是一种很好的获利方式。 它适用于不想通过广告或销售产品等其他方式在线赚钱的网站 。
在您的WordPress网站上创建付费专区 (Creating a Paywall on Your WordPress Site)
For this tutorial, we’ll be using the MemberPress. It is the best WordPress membership plugin that allows you to easily sell subscription-based products on your website.
在本教程中,我们将使用MemberPress 。 它是最好的WordPress会员插件 ,可让您轻松在网站上出售基于订阅的产品。
First, you need to install and activate the MemberPress plugin. For more details, see our step by step guide on how to install a WordPress plugin.
首先,您需要安装并激活MemberPress插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。
Once you’ve activated the plugin, go to MemberPress » Settings » License page to enter your license key. You can find this information under your account on the MemberPress website.
激活插件后,请转到MemberPress »设置»许可证页面以输入许可证密钥。 您可以在MemberPress网站上的帐户下找到此信息。
Simply copy and paste your license key and click on the Activate button.
只需复制并粘贴您的许可证密钥,然后单击“激活”按钮。
After that, you will need to set up a way to receive payments. MemberPress supports several popular payment gateways like PayPal, Stripe, and Authorize.Net.
之后,您将需要设置一种接收付款的方式。 MemberPress支持几种流行的支付网关,例如PayPal,Stripe和Authorize.Net。
You can add your payment method by going to the MemberPress » Settings page, switching to the ‘Payments’ tab, and then clicking on the (+) button.
您可以通过以下方法添加您的付款方式:进入MemberPress»设置页面,切换到“付款”标签,然后单击(+)按钮。
You will need to provide a name for this payment method and then select your payment gateway from the dropdown menu.
您需要为此付款方式提供一个名称,然后从下拉菜单中选择您的付款网关。
MemberPress will prompt you to fill in details for that payment method. For instance, for standard PayPal payments, you’ll need to enter your PayPal email address:
MemberPress将提示您填写该付款方式的详细信息。 例如,对于标准的贝宝付款,您需要输入贝宝电子邮件地址:
You can also add multiple payment options by simply clicking the (+) button and repeating the process.
您还可以通过单击(+)按钮并重复此过程来添加多个付款方式。
Once you are satisfied with payment settings, don’t forget to click on the ‘Update Options’ button to store your changes.
对付款设置感到满意后,请不要忘记单击“更新选项”按钮来存储您的更改。
为您的付费专区创建订阅计划 (Creating a Subscription Plan for Your Paywall)
Now that you have completed the initial setup, it is time to create the paywall itself. To do that, you will need to create a membership level in MemberPress.
现在,您已经完成了初始设置,是时候创建付费专栏本身了。 为此,您将需要在MemberPress中创建一个会员级别。
Simply visit the MemberPress » Memberships page and then click the ‘Add New’ button at the top.
只需访问MemberPress»成员资格页面,然后单击顶部的“添加新”按钮。
On the next screen, you need to first give your membership plan a name (title) and then set a price under the ‘Membership Terms’ box. Here, we’ve called our membership ‘Premium Subscription’ and set the price to $5/month:
在下一个屏幕上,您需要首先给您的会员计划命名(标题),然后在“会员条款”框中设置价格。 在这里,我们将会员资格称为“高级订阅”,并将价格设置为每月5美元:
You can set your membership terms to match your requirements. For instance, If you want to create a free membership, then you can leave the price at 0.00.
您可以设置您的会员资格以符合您的要求。 例如,如果要创建免费会员资格,则可以将价格保留为0.00。
You can also choose between ‘Recurring’ and ‘One-time’ billing type. For recurring payments, you can choose from monthly, yearly, weekly, quarterly, or custom interval options.
您还可以在“定期”和“一次性”结算类型之间进行选择。 对于定期付款,您可以选择每月,每年,每周,每季度或自定义间隔选项。
Optionally, you can provide a description for your membership plan in the text editor or customize it further under ‘Membership Options’ box.
(可选)您可以在文本编辑器中为您的会员计划提供描述,也可以在“会员选项”框中进一步对其进行自定义。
The default settings would work for most cases, but you can still review them and see if you would like to change something.
默认设置适用于大多数情况,但是您仍然可以查看它们,看看是否要更改某些内容。
Once you are finished, just click on the ‘Publish’ button to create the membership plan.
完成后,只需单击“发布”按钮以创建会员计划。
You can create multiple membership plans with different subscription levels. For instance, you can create a premium plan and a VIP plan which gives your users access to even more exclusive content and features.
您可以创建具有不同订阅级别的多个会员计划。 例如,您可以创建一个高级计划和一个VIP计划,使您的用户可以访问更多专有内容和功能。
在付费墙后面添加内容 (Adding Content Behind The Paywall)
Now that you have created a membership plan, it is time to choose which content you want to restrict with a paywall in WordPress.
现在,您已经创建了会员计划,是时候选择要通过WordPress的付费专区限制哪些内容了。
MemberPress gives you powerful rules which provide multiple ways to restrict content to specific membership plans.
MemberPress为您提供了强大的规则,这些规则提供了多种方法来将内容限制为特定的会员计划。
To set up a rule, you need to visit MemberPress » Rules page and click on the ‘Add New’ button at the top.
要设置规则,您需要访问MemberPress»规则页面,然后单击顶部的“添加新”按钮。
Next, you need to select the content that you want to restrict. Simply click on the first drop down to select the content that matches the specific conditions.
接下来,您需要选择要限制的内容。 只需单击第一个下拉菜单,即可选择符合特定条件的内容。
You can select content by category, tags, child pages, individual posts, pages, and more. We choose ‘All content tagged premium’ for this example.
您可以按类别,标签,子页面,单个帖子,页面等选择内容。 在此示例中,我们选择“所有内容标记为高级”。
Below that, you need to select the membership plan or individual member. We choose ‘Membership’ and then the plan we created earlier.
在此之下,您需要选择会员计划或个人会员。 我们选择“会员资格”,然后选择我们之前创建的计划。
You can now click on the Save Rule button to store your changes.
现在,您可以单击“保存规则”按钮来存储您的更改。
Now, if someone tries to view the content tagged ‘premium’ without a subscription, they’ll see this message:
现在,如果有人尝试查看没有订阅的标记为“高级”的内容,他们将看到以下消息:
Tip: You can customize that message when adding or editing your rule. Simply scroll down to the Unauthorized Access section. There, you need to select Custom from the Unauthorized Message dropdown and type in the message you want to use.
提示:您可以在添加或编辑规则时自定义该消息。 只需向下滚动到“未经授权的访问”部分。 在那里,您需要从“未经授权的消息”下拉列表中选择“自定义”,然后键入要使用的消息。
You can add links, images, and format text here. You can also hide the login form and replace it with a link. Here is how the paywall looked on our test website.
您可以在此处添加链接,图像和格式文本。 您也可以隐藏登录表单,并用链接替换它。 这是付费墙在我们测试网站上的外观。
If you go back to Posts » All Posts in your dashboard, you’ll see that all posts that match that criteria have their access marked with the membership plan.
如果您返回仪表板中的“ 帖子”»“所有帖子” ,则会看到所有符合该条件的帖子都具有用会员计划标记的访问权限。
For more help with setting up MemberPress, check out our ultimate guide to creating a membership site.
有关设置MemberPress的更多帮助,请查看我们有关创建会员网站的最终指南 。
给非会员有限数量的免费观看次数 (Giving Non-Members a Limited Number of Free Views)
What if you want to let non-members see a certain amount of your content for free? This can be a great marketing tool.
如果您想让非会员免费看到一定数量的内容,该怎么办? 这可能是一个很好的营销工具。
You can enable this in MemberPress by going to MemberPress » Settings » General in your WordPress dashboard:
您可以通过在WordPress仪表板中转到MemberPress»设置»常规来在MemberPress中启用此功能:
Here, you’ll need to scroll down to the ‘SEO & PayWall’ section and check the ‘Enable PayWall’ option. You then need to enter the number of free views you want to provide.
在这里,您需要向下滚动到“ SEO和PayWall”部分,然后选中“启用PayWall”选项。 然后,您需要输入要提供的免费视图的数量。
Note: You can also give search engines access to your protected content here. This lets your paywalled content rank in search engine’s results, but it requires turning off any caching plugins. This may slow down your WordPress site.
注意:您还可以在此处向搜索引擎授予访问受保护内容的权限。 这样一来,您的付费专栏内容就可以在搜索引擎的结果中排名,但是需要关闭所有缓存插件 。 这可能会使您的WordPress网站变慢。
Make sure you click the Update Options at the bottom of the page to save your changes.
确保单击页面底部的“更新选项”以保存更改。
That’s all.
就这样。
We hope this article helped you learn how to create a paywall on your WordPress site and add free views option. You may also want to see our guide on how to create an email newsletter and must have WordPress plugins to grow your traffic.
我们希望本文能帮助您学习如何在WordPress网站上创建付费专区并添加免费视图选项。 您可能还想查看有关如何创建电子邮件新闻稿的指南,并且必须具有WordPress插件才能增加流量。
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
如果您喜欢这篇文章,请订阅我们的YouTube频道 WordPress视频教程。 您也可以在Twitter和Facebook上找到我们。
翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-create-a-paywall-in-wordpress/