• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2785

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

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 :

Register for full access

Related Code Snippets

  • 2 Ways To Modify The Leave a Comment Text in Genesis Post Info

Comments Entry Meta

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags