bionbeer.blogg.se

Showhide wordpress
Showhide wordpress




showhide wordpress

It basically allows you to “mark” any comment with a “featured” or “buried” tag which adds a CSS class to that specific comment – it’s up to us to style it, or in our case bury it along with all subsequent comments in the same thread. I’ve talked about this plug-in in the past with regard to highlighting comments that are special. So let’s get started! Installing “Featured Comments” So this weekend, I cobbled together a new solution that’s much more scalable, requires the inclusion of just one JavaScript file, and one well-maintained plug-in. I’ve previously solved this problem using some trickery involving the Hikari Featured Comments plugin, but the add-on hasn’t been updated for years, was starting to throw various PHP errors, and was just behaving erratically in general.

showhide wordpress

This means that the existence of a single discussion is shutting down the creation of new ones. Moreover, if you have your comments reply box sitting at the end of your comment section as opposed to the beginning, a user has to scroll all the way down before they’re able to reach it.

#SHOWHIDE WORDPRESS HOW TO#

I’ve written in the past about how to implement infinite comment replies in WordPress so that’s definitely a contributing factor! Long comments threads in a blog discussion section can be very entertaining for those wishing to follow them, but they can be intimidating for someone just browsing through. Under normal circumstances, this would be a great thing – who doesn’t want comments on their blog right? The problem was that I was having an argument with someone and the comment thread just kept getting longer and longer. The other day I wrote a blog post that got quite a lot of comments. How to Show/Hide Comment Replies in WordPress Posted on Updated on March 18, 2019






Showhide wordpress