在wordpress后台选择外观→小工具→侧边栏,然后点击添加小工具选择增强文本添加,将下面代码放在增强文本的内容里面即可。
<html>
<head></head>
<body>
<div style="position: relative;">
<a rel="external nofollow noopener" target="_blank" href="https://wparticle.cn" data-original-title="预留位广告" title="预留位广告"><img class=" aligncenter" src="../370x245.jpg" alt="侧边栏广告位" style=" margin-left: 0px; padding: 1px;margin-bottom: 1px; border-radius: 4px;" width="360" height="120" /></a>
<span style="position: absolute;bottom:-1px;right:-1px;"><img src="../370x245.jpg" /></span>
</div>
</body>
</html>
<head></head>
<body>
<div style="position: relative;">
<a rel="external nofollow noopener" target="_blank" href="https://wparticle.cn" data-original-title="预留位广告" title="预留位广告"><img class=" aligncenter" src="../370x245.jpg" alt="侧边栏广告位" style=" margin-left: 0px; padding: 1px;margin-bottom: 1px; border-radius: 4px;" width="360" height="120" /></a>
<span style="position: absolute;bottom:-1px;right:-1px;"><img src="../370x245.jpg" /></span>
</div>
</body>
</html>