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 :
Was This Tutorial Helpful?