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

DIY Site Audit: Possible or Not? SEO and Blogging: 5 Beginner Tips for Small Projects or Business Online writing: How to be a Successful Freelancer 5 Types of Tools Every Fast-Growing E-commerce Business Should C 5 Simple Steps to Create Great Video Content for a Blog Best Practices for Blogging Securely 5 Tips to Make Sure Your Blogs Works on Every Browser Learn from Business Entrepreneurs Who Take the Time to Train Oth The Story Of Aaron Swartz And How His Death Could Change Compute Smart Finance Tips for Bloggers
- 评论列表
-
- 添加评论