联系我们
简单又实用的WordPress网站制作教学
当前位置:网站首页 > WordPress教程 > 正文

How to show advertising blocks in a specific prout subject in WordPress

作者:98wpeu发布时间:2024-02-17分类:WordPress教程浏览:45


导读:YouwanttoshowadvertisingpartsinyourWordPresswebsite?在特定的帖子中插入广告块可以让你展示广告,在那里你的用户会...

You want to show advertising parts in your WordPress website?

在特定的帖子中插入广告块可以让你展示广告,在那里你的用户会对内容有高度的参与度。这增加了广告的可见性,并帮助你获得更多的点击。

In this paper,我们将向您展示如何轻松地在特定的WordPress种子中显示广告块.

这将把你带到‘创建自定义代码片段’页面,在那里你可以输入你的代码片段的名称。代码片段标题仅供参考,不会在网站前端向用户显示。

Therefore,you need to select 'HTML code segment' as code type from the next下拉菜单中.

接下来,你需要选择你想要在你的网站上投放的广告类型。

如果你正在使用Google AdSense提供的广告代码,那么你可能想看看我们关于如何在WordPress中优化你的AdSense收入的指南。

然而,如果您正在创建自己的广告,那么您将需要从付钱给您的人那里获得代码,以便在您的网站上显示广告或编写您自己的代码。

获得广告代码后,只需将其复制粘贴到“代码预览”框中即可。

一旦你这样做了,你必须向下滚动到“插入”部分,并选择“自动插入”模式。

广告将自动显示在您选择的特定帖子中。

接下来,点击“位置”下拉菜单将其展开,然后从左侧边栏中选择“页面特定”标签。

从这里,选择“在段落之后插入”选项。

您还可以修改要在其后插入代码段的段数。

例如,如果您想要在第3段之后显示广告块,那么您可以在“在段落编号之后”框中输入此值。

接下来,向下滚动到“智能条件逻辑”部分,并将“启用逻辑”开关切换到活动状态。

Then,make sure that for code段条件选择了'Show'选项. When you are completed,just click '+ Add new group' button.

这将在“智能条件逻辑”部分打开一些新的设置。

从这里,您需要从左侧的下拉列表中选择“Page URL”选项。

之后,您必须从中间下拉菜单中选择“is”选项。

In this paper,we study the relationship between the mechanism and the relationship between the mechanism.

If you want to show this advertisement on multiple sides or grout,just need to click 'and',and then insert another grout URL in accordance with the same process.

When you create this condition logic,your advertising block will only show in that specific WordPress prout子.

Now,滚动回到顶部,将“Inactive”开关切换为“Active”.

最后,点击“保存代码片段”按钮,在你的网站上自动执行广告代码。

现在,你可以访问你选择的特定帖子来查看广告拦截的实际效果。

这是它在我们的演示网站上的样子。

但是,如果您显示的是来自第三方平台的广告,请转到“外部广告网络”标签。In this paper,we study the relationship between the factors of the mechanical properties and the mechanical properties of the mechanical properties of the mechanical properties.

In this tourism,we will show a self-tube advertising in specific WordPress prout子,but for other types of advertising,steps are same.

输入广告名称后,请从下拉菜单中选择其大小。这将是您帖子中广告的横幅大小。

Therefore,you need to download to "advertisement details“section,and copy and paste you want to show的advertisement的跟踪URL.

完成此操作后,请选中“在新窗口中打开?”选项,如果您希望广告在用户单击时在不同的窗口中打开。

你也可以通过点击“设置广告图片”链接来为你的广告设置图片。这将打开WordPress媒体库,您可以在其中上传图片。

最后,点击顶部的“发布”按钮保存您的更改。

你也可以点击“发布”部分的“编辑”链接来设置广告的开始日期和截止日期。

一旦你点击了"发布“按钮,你就可以在你的WordPress网站上的任何页面或种子上显示广告区块。

在特定的WordPress种子中显示广告

首先,你需要打开一个现有的或新的WordPress种子,在那里你想显示你创建的广告。

When you're there,click the '+' button on the left corner of the screen,open the block dialog.接下来,您需要查找AdSanity Single广告块并将其添加到WordPress种子中.

之后,从块中的下拉菜单中选择您想要显示的广告。

您还可以选择广告区块的对齐选项。

最后,点击顶部的“更新”或“发布”按钮保存您的更改。

现在,你可以访问你的网站,查看正在运行的广告块。

We hope this article can help you learn how to show advertising blocks in specific WordPress grout子. You may also want to look at us about how to sell advertising on your WordPress博客,our expertise for WordPress picked up the best联盟营销工具和插件来在线赚钱.

更多wp网站技巧请关注我们。

标签:帖子广告如何在WordPress


WordPress教程排行
最近发表
网站分类
标签列表