设置wordpress文章标题高亮的代码
- 时间:2020-05-23 15:34:29
- 分类:网络文摘
- 阅读:130 次
wordpress的文章标题能够识别html代码,可以据此对需要高亮的文章标题(如置顶文章)进行颜色设置,代码如下:
- <span style="color:#ff0000;">文章标题</span>
可替换其中的#ff0000为你需要的颜色代码。
代码参考:http://www.color-hex.com/
效果示例:

3 Easy Ways to Improve Writing Skills Explaining The Perfect Website Design to Non-Designers Clear Skies Ahead – The Shift to Cloud Computing Content Creation Versus Content Sharing How Bloggers Can Help During Times of Tragedy 5 Best Online Interviews About Blogging You Haven’t Read Yet 5 Ways To Transform Your Blogger Outreach Don’t Feed The Trolls: How to Stop Haters from Infiltrating Your 50 Blogging Tips From the Experts Algorithm to Compute the Length of the Longest Palindrome String
- 评论列表
-
- 添加评论