wordpress谷歌字体_如何使用Google匹配内容在WordPress中显示相关帖子

wordpress谷歌字体

Did you know that you can use Google AdSense to also show related posts in WordPress? Matched Content is a Google AdSense feature that allows you to show related posts in WordPress while also make money by displaying ads alongside. In this article, we will show you how to easily use Google Matched Content to show related posts in WordPress.

您是否知道可以使用Google AdSense在WordPress中显示相关帖子? 匹配内容是Google AdSense的一项功能,可让您在WordPress中显示相关帖子,同时通过在旁边展示广告来获利。 在本文中,我们将向您展示如何轻松使用Google匹配内容来显示WordPress中的相关帖子。

Using Google Matched Content to show related posts in WordPress
什么是Google AdSense匹配内容? (What is Google AdSense Matched Content?)

Google AdSense Matched Content is a native ad unit that allows you to show related posts from your website. You also have the option to monetize this unit with relevant ads that are shown alongside your related posts.

Google AdSense匹配内容是一种原生广告单元,可让您显示网站中的相关帖子。 您还可以选择使用与相关信息一同显示的相关广告来通过该单元获利。

Here’s how the Matched Content unit looks like:

匹配内容单元的外观如下:

Google AdSense Matched Content Unit

You can customize the look and feel of the widget to match your website layout, and it is 100% responsive (mobile-friendly).

您可以自定义窗口小部件的外观和风格以匹配您的网站布局,并且它具有100%的响应速度(适用于移动设备)。

You might be wondering what are the Pros and Cons of using Google Matched Content unit?

您可能想知道使用Google匹配内容单元的利与弊是什么?

Pros:

优点:

  • Less Server Resources – By default, WordPress related posts plugins are resource intensive. By using Matched Content widget from Google, you’re offloading the server load to them.减少服务器资源 –默认情况下,与WordPress相关的帖子插件占用大量资源。 通过使用Google的“匹配内容”小部件,您可以将服务器负载分担给他们。
  • Better Related Posts Algorithm – Google’s sophisticated algorithm shows a post that’s more relevant to the person viewing.更好的相关帖子算法 -Google复杂的算法显示的帖子与查看者更相关。
  • Monetization – This is another way for you to make money from your blog.
  • 获利 –这是您通过博客 获利的另一种方法。

Cons:

缺点:

  • Powered by Logo – Google displays a powered by link in Matched Content Unit which some might find unattractive.技术支持徽标-Google在匹配内容单元中显示技术支持链接,有些链接可能没有吸引力。

Now that you know what is Google Matched Content, let’s take a look at how to add it in your WordPress site.

现在您知道什么是Google匹配内容,让我们看一下如何将其添加到WordPress网站中。

Google匹配内容入门 (Getting Started with Google Matched Content)

First thing you will need to do is sign up with Google AdSense program if you haven’t already done so.

您需要做的第一件事就是注册Google AdSense计划(如果尚未注册)。

Google AdSense allows you to make money online from your WordPress blog. You can see our guide on how to properly add Google AdSense in WordPress for detailed instructions.

Google AdSense使您可以从WordPress博客在线赚钱 。 您可以查看有关如何在WordPress中正确添加Google AdSense的指南,以获取详细说明。

Google Matched Content feature is available for websites meeting a certain traffic requirement.

Google匹配内容功能可用于满足一定流量要求的网站。

To see if your website meets the requirement, you need to visit your Google AdSense dashboard and click on Settings » My Sites from the left menu.

要查看您的网站是否符合要求,您需要访问Google AdSense信息中心,然后从左侧菜单中单击设置»我的网站

If you can see the ‘Matched Content’ option there, then you are good to go. Otherwise, your site or sites do not meet the requirements for matched content.

如果您可以在此处看到“匹配的内容”选项,那就很好了。 否则,您的一个或多个站点不符合匹配内容的要求。

Matched Content in AdSense

That being said, let’s see how to easily add Google Matched Content to show related posts in WordPress.

话虽如此,让我们看看如何轻松添加Google匹配内容以显示WordPress中的相关帖子。

在WordPress中添加Google匹配内容 (Adding Google Matched Content in WordPress)

First, you need to login to your Google AdSense account, click on My Ads from the left menu, and then click on the ‘New Ad’ button.

首先,您需要登录到您的Google AdSense帐户,从左侧菜单中单击我的广告,然后单击“新广告”按钮。

Creating a new ad unit in Google AdSense

Next, you need to select ‘Matched Content’ as your ad type.

接下来,您需要选择“匹配内容”作为您的广告类型。

Select Google Matched Content

On the next screen, you will see a preview of your Matched Content box with the ad settings. On the right hand side, you will see the option to customize the unit settings.

在下一个屏幕上,您将看到“匹配内容”框的预览以及广告设置。 在右侧,您将看到自定义单位设置的选项。

You will also see the option to monetize the matched content unit with ads, so you can make money. Of course, you can choose not to show ads and only use Matched Content for related posts.

您还将看到将匹配的内容单元与广告一起获利的选项,从而可以赚钱。 当然,您可以选择不显示广告,而只将匹配内容用于相关帖子。

Matched Content unit settings

Once you are done with the settings, simply click on the ‘Save and Get Code’ button.

设置完成后,只需单击“保存并获取代码”按钮。

You need to copy your ad code and paste it in a plain text editor like Notepad or TextEdit because you will need it in the next step.

您需要复制广告代码并将其粘贴到纯文本编辑器(如记事本或TextEdit)中,因为下一步将需要它。

在WordPress中显示匹配的内容相关帖子 (Displaying Matched Content Related Posts in WordPress)

The most effective place to display related posts is below your individual posts. Many WordPress themes already come with a widget area or sidebar that appears below post content and before comments area.

显示相关帖子的最有效位置是您各个帖子的下方。 许多WordPress主题已经带有一个小部件区域或侧边栏,出现在帖子内容下方和评论区域之前。

However, if your theme does not have a widget area below single post content, then you can add one by following our guide on how to easily add after post widget area in any WordPress theme.

但是,如果您的主题在单个帖子内容下方没有窗口小部件区域,则可以按照我们的指南轻松添加任何一个主题中的帖子后窗口小部件区域

After that, you need to visit Appearance » Widgets page and drag the ‘Custom HTML’ widget to the after post widget area. Inside the widget, you need to paste your Matched Content ad code that you copied in the previous step.

之后,您需要访问外观»窗口小部件页面,并将“自定义HTML”窗口小部件拖到发布后窗口小部件区域。 在小部件内,您需要粘贴在上一步中复制的匹配内容广告代码。

Add Matched Content code here

Don’t forget to click on the save button to store your widget settings. You can now visit your website to see the Matched Content related posts in action.

不要忘记单击“保存”按钮来存储您的小部件设置。 现在,您可以访问您的网站以查看与“匹配内容”相关的帖子。

Matched Content preview

You can now visit your website to see the Matched Content box in action.

现在,您可以访问您的网站以查看匹配内容框。

We hope this article helped you learn how to easily add Google Matched Content related posts in WordPress. If you are looking for a different WordPress related posts option, then you may want to check out our list of the best related posts plugins for WordPress.

我们希望本文能帮助您学习如何轻松地在WordPress中添加与Google匹配内容相关的帖子。 如果您正在寻找其他与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视频教程。 您也可以在TwitterFacebook上找到我们。

翻译自: https://www.wpbeginner.com/wp-tutorials/how-to-use-google-matched-content-to-show-related-posts-in-wordpress/

wordpress谷歌字体

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值