douke6027 2018-12-13 22:37
浏览 31
已采纳

如果帖子已被读取wordpress,则更改链接颜色

I want to implement a function to change the color of the link if a post has been read in wordpress no matter it is Visitor or registered user. I tried some plugin, but they are different from my expectation.

I really appreciate your help!

  • 写回答

1条回答 默认 最新

  • doushuo1080 2018-12-13 22:46
    关注

    You can achieve this by using raw CSS, i.e:

        a:visited {
            color: red;
        }
    

    After the link is clicked the color will be set to red.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?