• 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 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:

Register for full access

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