How To Toggle (Show/Hide) Comments In WordPress?

Comment toggle option not only improves your page loading time but Haris Tonjoo, a WordPress plugin developer says that this way you can keep your readers more focused on your post content.

There are many website owners who have noticed an increase in their Adsense income after hiding comments with a toggle button. It means that it also increases the focus on your after content advertisements.

Hide Show Comment 3

Likewise we have already discussed that there are some disadvantages of displaying large number of comments after posts.

The common reason is comments section loads slower in comparison to other post content and also a long list of comments makes navigation long and difficult.

Earlier we have discussed about paginating comments i.e breaking comments into multiple pages. Now in this tutorial we will be showing you how you can add a toggle button on comments section and allow the user to view and hide comments.

How To Use Hide Show Comment?

Install and activate Hide Show Comment plugin. The plugin auto creates hide show comment toggle button.

Hide Show Comment 1

After activation visit your admin area dashboard Settings -> Hide Show Comment page and select your customization options.

Hide Show Comment 2

You can align text (Left, Right, Center), use a custom button text and size, you can use custom css field. Also there is a premium version of this plugin which extends it with more feature like 40 + read more button themes, custom button template with comment count and custom button text font family etc.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.