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

WP SITES

2899

Original Genesis & WooCommerce Tutorials & 6000+ Guaranteed Code

Snippets

  • Try Premium
  • Log in

Unlink Comments Link On Archives In Genesis

The code in this tutorial unlinks the comment count which uses the get_comments_link() function inside the post_comments shortcode so it doesn’t link to single posts from archives. The link still works on single posts so you can click the link which scrolls to the comments list below the post content.

The demo video shows you exactly what the code does :

This code will also unlink the comments link from entries displayed using the Genesis Featured Posts widget.

Tested using the Metro Pro child theme by StudioPress.

Here’s the code for members which you can copy & paste to the end of your child themes functions.php file.

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.

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Contact
  • Terms
  • Genesis WP Tags
  • WooCommerce