Genesis Tutorials

Conditionally Remove Leave a Comment Link In Genesis

This code enables you to remove the leave a comment link based on the comment count. In this example, the comment link is removed from the blog page template if the comment count is 0.

Here’s the demo video showing how it works :

#Demo Video

Shows how the “leave a Comment” link is removed on the blog page template only.

Tested using the Genesis Sample child theme by StudioPress.

Register or login to access the code :

Related Code Snippets

Leave a Reply

Your email address will not be published. Required fields are marked *