Add Widget After Site Title in Genesis Replacing Description

This code enables you to display a widgets content after the site title conditionally.

In this example, it only displays the widgets content ( search widget ) on any page using the landing page template.

widget-after-title

You can easily change the conditional tag to return a different result:

Simply add the following PHP code to the end of your child themes functions.php file.

Related Code

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.