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 :
- The 1st code snippet removes the URL in the link so the link is still clickable but isn’t linked to any URL.
- 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
You must be logged in to post a comment.