文章前言/文章引入
很多人网站流量已经足以去接广告了,但是很多的Wordpress主题都没有广告位小工具,这时候我们就需要去百度找个广告位代码,今天就分享下我另一个站点在用的广告位代码,这个也是非常的简洁好看,目前测试了5 6款Wordpress主题,都是可以正常使用的没有任何报错,行了直接说下教程吧。
演示图
教程
- 进入后台,找到 外观—自定义
- 点击小工具
- 点击 {论坛}首页-顶部全部宽度
- 点击添加小工具 下滑找到 自定义html
- 点击展开刚添加的自定义html,将下方代码填入
- 或者根据自己的需求放到需要的位置也可以,然后自己改一下代码中的替换成自己的地址即可。
代码
<div class="textwidget custom-html-widget"><table style="width:100%;font-weight:700;text-align:center;" cellspacing="0" cellpadding="0" bordercolor="#640EF6" border="1">
<tbody>
<tr>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53333;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;" height="24">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53333;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;" height="24">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#337FE5;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;" height="24">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53333;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;" height="24">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53333;">文字广告位10/月</span></a>
</td>
</tr>
<tr>
<td style="width:20%;vertical-align:middle;">
<a href="/" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;" height="24">
<a href="/" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53333;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;" height="24">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53333;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">文字广告位10/月</span></a>
</td>
</tr>
<tr>
<td style="width:20%;vertical-align:middle;">
<a href="/" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;" height="24">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;" height="24">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">文字广告位10/月</span></a>
</td>
</tr>
<tr>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;">文字广告位10/月</span></a>
</td>
</tr>
<tr>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53343;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53343;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;">文字广告位10/月</span></a>
</td>
<td style="width:20%;vertical-align:middle;">
<a href="http://wpa.qq.com/msgrd?v=3&uin=33076460&site=qq&menu=yes" target="_blank" rel="noopener"><span style="font-size:13px;">文字广告位10/月</span></a>
</td>
</tr>
<tr>
<td colspan="5" style="font-size:15px;" height="28">
<p>
<script type="text/javascript">(function(){document.write(unescape('%3Cdiv id="bdcs"%3E%3C/div%3E'));var bdcs = document.createElement('script');bdcs.type = 'text/javascript';bdcs.async = true;bdcs.src = 'http://znsv.baidu.com/customer_search/api/js?sid=1152302146349204199' + '&plate_url=' + encodeURIComponent(window.location.href) + '&t=' + Math.ceil(new Date()/3600000);var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(bdcs, s);})();</script></p><div id="bdcs"></div><marquee scrollamount="3" behavior="alternate">温馨提示:请在上面搜索| 查找更多免费资源,如需广告位请联系站长QQ </marquee>
<p></p>
</td>
</tr>
</tbody>
</table></div>
没有回复内容