Free Tutorials Genesis Tutorials

Remove Link From Post Author Link In Post Info

This code removes the link from the post author name which is linked to the author page in the post info.

There’s 2 code snippets included :

  1. The 1st code snippet removes the URL in the link so the link is still clickable but isn’t linked to any URL.
  2. The 2nd snippet removes both the URL and href tag so the link isn’t clickable.

Here’s the code you can paste at the end of your child themes functions file.

You can also modify the code like this so the link isn’t clickable.

Tested using the Metro Pro child theme by StudioPress.

Leave a Reply

Your email address will not be published. Required fields are marked *