• 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

Remove Leave a Comment Link From Genesis Post Info

The following PHP code enables you to remove the leave a comment link from posts like this :

genesis post info comments link
Before
genesis post info comments link removed
After

Copy & paste the code to the end of your child themes functions file.

Click here to access free downloads


To remove the Leave a Comment link from other pages, swap out the is_singular('post') conditional tag with any other conditional tag.

Another option is to add the code directly to a template file like a single.php, page_blog.php, archive.php or any other template file supported by the WordPress Template Hierarchy.

Related Code Snippets

  • 2 Ways To Modify The Leave a Comment Text in Genesis Post Info
  • Conditionally Remove Leave a Comment Link In Genesis
  • Conditional Genesis Post Info

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
 

Loading Comments...
 

You must be logged in to post a comment.