Products
GG网络技术分享 2025-03-18 16:12 3
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!
图片转代码服务由CSDN问答提供
感谢您的意见,我们尽快改进~
功能建议我想实现一个函数来改变链接的颜色,如果在wordpress中读取了帖子,无论它是什么 是访客或注册用户。 我尝试了一些插件,但它们与我的期望不同。 </ p>
非常感谢您的帮助!</ p>
</ div>
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.
Demand feedback