Remove Link From Site Title In Genesis

This code enables you to remove the hyperlink from the site title in Genesis child themes only.

It only removes the link when using the Site Title and not when using the Header Image via the WordPress customizer.

There’s many ways to do this using regular expressions however the code in this tutorial doesn’t use that method as it’s not very efficient.

You’ll find at least 3 different solutions to choose from which should give you a better understanding on how it works as well as more options to choose from if you want to modify the code.

Here’s the PHP code for all solutions:

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.