优雅而又不有失风范的文字广告位代码适用于所有WordPress区块主题

文章前言/文章引入

很多人网站流量已经足以去接广告了,但是很多的Wordpress主题都没有广告位小工具,这时候我们就需要去百度找个广告位代码,今天就分享下我另一个站点在用的广告位代码,这个也是非常的简洁好看,目前测试了5 6款Wordpress主题,都是可以正常使用的没有任何报错,行了直接说下教程吧。

教程讲解/使用教程

1.进入我们的Wordpress后台然后点击外观→小工具→自定义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 33076460</marquee>
          <p></p>
        </td>
      </tr>
    </tbody>
  </table></div>

20220502160822542

20220502160904552

20220502161123661

使用效果/效果截图

20220502160119705

特此说明

代码无原创可说,一切的灵灵感均来源于互联网,本教程并不会代表我个人立场也不会代表子比主题官网的立场,对了使用本教程和我写的其他教程别忘记将联系方式代码里面的改掉,不然我又得帮你们处理售后!

请登录后发表评论