我需要从 wordpress 托管主题中删除作者和类别,唯一的问题是我如何用 css 隐藏文本“·by”和“·in”。我尝试使用 .published:after 没有成功。
<div class="byline">
<abbr class="published" title="November 13, 2013 2:05 pm">November 13, 2013</abbr> ·by
<span class="author vcard">
<a href="http:xxxx" title="xxxx" rel="author">xxxx</a>
</span> ·in <a href="http://xxx" title="xxx" rel="category tag">xxxx</a>
</div>// This is just a sample script.
在此处粘贴您的真实代码(javascript 或 HTML)。
if ('this_is'==/an_example/){of_beautifer();}else{var a=b?(c%d):e[f];}
有任何想法吗?谢谢