wordpress添加媒体_如何在WordPress中添加内容锁定

wordpress添加媒体

Do you want to add content locking in your WordPress site? Many websites use content locking to boost their lead generation, increase sales, or build their email list. In this article, we will show you how to add content locking in WordPress without annoying users.

您是否要在WordPress网站中添加内容锁定? 许多网站使用内容锁定来增加潜在客户,增加销售量或建立电子邮件列表。 在本文中,我们将向您展示如何在WordPress中添加内容锁定而不烦扰用户。

Adding content locking in WordPress
什么是内容锁定?何时需要? (What is Content Locking & When You Need It?)

Content Locking is a technique used by site owners. It forces users to perform an action before getting access to your content.

内容锁定是网站所有者使用的一种技术。 它强制用户在访问您的内容之前执行操作。

Content lock example

If it is not used properly, then it could annoy your users. But when it is done right, it could be very effective in generating leads and achieving your marketing goals.

如果使用不当,可能会惹恼您的用户。 但是,如果操作正确,它可以非常有效地产生潜在客户并实现您的营销目标。

The best time to use content locking is when you are offering highly valuable content such as a free course, an ebook download, or something similar.

使用内容锁定的最佳时间是当您提供有价值的内容,例如免费课程,电子书下载或类似内容时。

It uses the same psychological trick as content upgrades. Users wouldn’t mind performing a little task in exchange of valuable content.

它使用与内容升级相同的心理技巧。 用户不介意执行一些小任务来交换有价值的内容。

Now that you know the use case, let’s see how you can easily add content locking in WordPress like a pro.

现在您已经知道了用例,让我们看看如何像专业人士一样轻松地在WordPress中添加内容锁定。

您需要在WordPress中进行内容锁定吗? (What Do You Need for Content Locking in WordPress?)

For this tutorial, we will be using OptinMonster. It is the best lead generation solution in the market. You will need a plus or pro plan of OptinMonster for content locking.

在本教程中,我们将使用OptinMonster 。 它是市场上最好的线索生成解决方案。 您将需要OptinMonster的正式或正式计划才能进行内容锁定。

WPBeginner users can get a 10% discount by using this OptinMonster coupon.

WPBeginner用户可以使用此OptinMonster优惠券获得10%的折扣。

影片教学 (Video Tutorial)

演示地址

If you don’t like the video or need more instructions, then continue reading.

如果您不喜欢该视频或需要更多说明,请继续阅读。

在WordPress中添加内容锁定 (Adding Content Locking in WordPress)

First thing you need to do is install and activate the OptinMonster plugin. For more details, see our step by step guide on how to install a WordPress plugin.

您需要做的第一件事是安装并激活OptinMonster插件。 有关更多详细信息,请参阅有关如何安装WordPress插件的分步指南。

This plugin is just a connector between your WordPress site and your OptinMonster account.

该插件只是您的WordPress网站和OptinMonster帐户之间的连接器。

Upon activation, click on the OptinMonster menu item in your WordPress admin bar. You will be asked to provide your OptinMonster API username and key.

激活后,单击WordPress管理栏中的OptinMonster菜单项。 系统将要求您提供OptinMonster API用户名和密钥。

Authentic OptinMonster account

You can find the API information under your account on the OptinMonster website. Simply login and then click on the API link.

您可以在OptinMonster网站上的帐户下找到API信息。 只需登录,然后单击API链接。

OptinMonster API Keys

Next, copy and paste the API username and key into the OptinMonster plugin page and then click on connect to OptinMonster button.

接下来,将API用户名和密钥复制并粘贴到OptinMonster插件页面中,然后单击“连接到OptinMonster”按钮。

Once you are successfully connected, you need to click on the create new optin button.

成功连接后,需要单击“创建新的选择”按钮。

New optin

This will take you to the OptinMonster website. You need to provide a title for your optin campaign and select your website from the drop down menu.

这将带您到OptinMonster网站。 您需要为您的optin广告系列提供标题,然后从下拉菜单中选择您的网站。

You also need to select ‘After post / Inline’ as your optin type. This will load some ready to use templates in the right column. Click on a template to use it as a starting point.

您还需要选择“发布后/内联”作为您的选择类型。 这将在右栏中加载一些准备使用的模板。 单击模板以将其用作起点。

Create new optin screen

It will open OptinMonster’s form builder where you can customize the appearance of your optin and configure its settings.

它将打开OptinMonster的表单生成器,您可以在其中自定义optin的外观并配置其设置。

Feel free to edit fonts, add text or images, change colors, etc.

随意编辑字体,添加文本或图像,更改颜色等。

OptinMonster's optin builder

Next you need to click on the ‘Optin’ Menu and scroll down to content blocking section. Turn on content blocking for this optin by clicking on the on/off switch.

接下来,您需要点击“选择”菜单,然后向下滚动至内容阻止部分。 通过单击开/关开关,为该选择打开内容阻止功能。

Turn on content blocking for this optin

Turning it on will show you the options to determine how you want content blocking to work. First you need to choose a content blocking method.

启用它会为您显示确定内容阻止工作方式的选项。 首先,您需要选择一种内容阻止方法。

You can use obfuscation which blurs content, or removal which totally removes the content below optin.

您可以使用模糊处理来模糊内容,或使用删除来完全删除optin以下的内容。

Content blocking options

You also need to change success cookie duration to 0. This will prevent cookie from being set until users submits the optin.

您还需要将成功cookie的持续时间更改为0。这将阻止在用户提交optin之前设置cookie。

After that go through the Integration setting to connect your email marketing service and also configure the analytics setting.

之后,通过“集成”设置来连接您的电子邮件营销服务,并配置分析设置。

Once you are done, click on the Save button on the top right corner of the builder to save your settings.

完成后,单击构建器右上角的“保存”按钮以保存设置。

Save your optin and get the embed code

Now you need to visit your WordPress site and click on the OptinMonster menu.

现在,您需要访问WordPress网站并单击OptinMonster菜单。

You will see your content lock optin under the list of optins. If you don’t see it, then click on refresh optins button.

您将在optins列表下看到您的内容锁定optin。 如果看不到,请单击“刷新选择项”按钮。

Edit optin output settings

Take your mouse to the optin title and then click on ‘Edit optin output settings’ link.

将鼠标移至optin标题,然后单击“编辑optin输出设置”链接。

On the next page, click on the checkbox below ‘Enable optin on site’ option.

在下一页上,单击“启用站点上的选项”选项下面的复选框。

Enable optin on site

Don’t forget to click on the save settings button at the bottom of the page.

不要忘记单击页面底部的“保存设置”按钮。

Next, you need to click on the OptinMonster menu again to go back to Optins overview page. This time you need to copy the optin slug.

接下来,您需要再次单击OptinMonster菜单以返回到Optins概述页面。 这次您需要复制optin插件。

Copy the optin slug

Now you need to edit the post or page where you want to enable content locking and add this shortcode before any other content in your post (or after the first paragraph).

现在,您需要编辑要启用内容锁定的帖子或页面,并在您帖子中的任何其他内容之前(或第一段之后)添加此短代码。

Replace your-optin-slug with the optin slug you copied earlier.

用您先前复制的optin弹头替换您的optin弹头。

OptinMonster Shortcode

Now you can save and publish your post or page. Visit the post or page in a new browser window to see content locking in action.

现在,您可以保存和发布您的帖子或页面。 在新的浏览器窗口中访问帖子或页面,以查看正在执行的内容锁定。

如何向所有WordPress帖子添加内容锁定 (How to Add Content Lock to All WordPress Posts)

If you want to automatically add content locking to all your WordPress posts, then there is an easier way to do this.

如果您想自动为所有WordPress帖子添加内容锁定,那么有一种更简便的方法。

Simply install and activate the Insert Post Ads plugin.

只需安装并激活Insert Post Ads插件即可。

Upon activation, you need to visit Post Adverts » Settings to configure the plugin settings.

激活后,您需要访问发布广告»设置来配置插件设置。

Post ad settings

Select where you want to enable post ads plugin posts or pages and then click on save settings button.

选择要启用邮政广告插件帖子或页面的位置,然后单击“保存设置”按钮。

Now you need to visit Post Adverts » Add New page. Provide a title for this content locking script and then add your content lock optin shortcode in the advert code section.

现在,您需要访问发布广告»添加新页面。 为此内容锁定脚本提供一个标题,然后在广告代码部分中添加您的内容锁定选择短代码。

Site wide content lock in WordPress

Under ‘Display the advert’ dropdown menu, you can select before the content or choose to add this after the first paragraph and click on the publish button.

在“显示广告”下拉菜单下,您可以在内容之前选择,也可以选择在第一段之后添加内容,然后单击“发布”按钮。

That’s all, the plugin will now enable content locking for all your WordPress posts.

就是这样,该插件现在将为所有WordPress帖子启用内容锁定。

Pro Tip: The reason why you may want to add it after the first paragraph is because you can use the first paragraph as a teaser to tell users why they really need to read the rest.

专家提示:之所以要在第一段之后添加它,是因为您可以将第一段用作预告片来告诉用户为什么他们确实需要阅读其余内容。

We hope this article helped you add content locking in WordPress. You may also want to see this 63-point checklist for creating the ultimate optin form (with examples).

我们希望本文能帮助您在WordPress中添加内容锁定。 您可能还需要查看此63点清单,以创建最终的optin形式 (包含示例)。

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视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-add-content-locking-in-wordpress/

wordpress添加媒体

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值