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

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

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.

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems