• 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

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.

Register for full access

Related Code

  • Add Social Icons After Site Title in Genesis
  • Call PHP Function In Your Site Description

Site Description

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