How to Highlight New Comments for Returning Visitors in WordPress

To get started, just install and activate the comments since last visit plugin and that’s all you need to do.

The plugin just works out of the box. What it does behind the scenes is it sets a cookie in the user’s browser that when they visit any page on your site and the next time they visit the cookie matches the comment dates and adds a css class new-comment to the comments posted after the cookie date.

I hope you liked this article and found it helpful.

Оставьте комментарий

Ваш адрес email не будет опубликован.