WordPress主题网站文字表格广告位代码美化

本站使用7b2主题,其他主题设置方法基本一样,放入随意代码位置都可以

示例图

代码

<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="https://huayidw.cn/" 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="https://huayidw.cn/" 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="https://huayidw.cn/" 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="https://huayidw.cn/" 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="https://huayidw.cn/" 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="https://huayidw.cn/"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="https://huayidw.cn/"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="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53333;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" 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="https://huayidw.cn/"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="https://huayidw.cn/" 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="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;color:#640EF6;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" 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="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;">广告位10/月</span></a> 
</td>
</tr>
<tr>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53343;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;color:#E53343;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" target="_blank" rel="noopener"><span style="font-size:13px;">广告位10/月</span></a> 
</td>
<td style="width:20%;vertical-align:middle;">
<a href="https://huayidw.cn/" 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>

代码出处:WordPress网站表格广告位代码美化(B2主题为例) – 奇它论坛 (qitabbs.com)(感谢大佬分享)

部分文章/资源来源于网络,文章标题下部均已标注来源,如有侵权,请点击此处联系客服进行删除,本站将会在第一时间内进行处理! 

如果您要搬运本站文章,请在文章底部标注

图床支持:https://cos.bheo.cn/

如果文章帮助到您,还请您点击一下广告支持本站一下!

给TA鼓励
共{{data.count}}人
人已鼓励
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索