设置wordpress文章标题高亮的代码

  • 时间:2020-05-23 15:34:29
  • 分类:网络文摘
  • 阅读:141 次

wordpress的文章标题能够识别html代码,可以据此对需要高亮的文章标题(如置顶文章)进行颜色设置,代码如下:

  1. <span style="color:#ff0000;">文章标题</span>

可替换其中的#ff0000为你需要的颜色代码。

代码参考:http://www.color-hex.com/

效果示例:

wordpress文章标题高亮演示

推荐阅读:
Recursive Algorithm to Construct Binary Tree from Preorder and P  10 Common Reasons Why Your Blog Doesn’t Make Money  Trial Run During COVID: Tips for Transitioning to a Full-time Fr  Why You Need Multiple Streams of Income  What You Should Know About Being A Freelance Blogger  When a Blogger Needs a Lawyer  Fitness Tips for Busy Bloggers and Other E-Professionals  How to Use Goals to Keep on Blogging  So You Want To Be A Blogger?  How You Can Earn More With Bitcoins On Your Blog 
评论列表
添加评论