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

Dynamic Programming Algorithm to Compute the Max Dot Product of 7 Tips Freelancers Can Leverage Email Marketing Best Blogging Advice for Marketing Your Product 5 Business Backgrounds for a Blogging Career Things To Keep in Mind When Starting a Wedding Blog Best Topics and Themes for Driving Traffic to Your Blog Want to Start a Blog For Your Family Tree? Here’s How Anyone Can Tips for Local Business Blogs 5 Tips to Drive Traffic to Your Blog Ideas to Help You Set Up the Home Office of Your Dreams
- 评论列表
-
- 添加评论