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

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

Remove Clickable HTML Links in Comments

I received a request about how to make all clickable links left in comments to non clickable. They told me they’re using a plugin for this but wanted a simple code solution, so here it is.

Turns all hyperlinks like this:

clickable

Into non clickable links:

non-clickable
Just add this line of PHP code to the end of your child themes functions.php file using a code editor.

Register for full access

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.