• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to user navigation

Designody

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account

Customize Site Header in Genesis

Last Updated on September 18, 2018Leave a Comment Favorited: 0 times

Remove the Site Title

//* Remove the site title
remove_action( 'genesis_site_title', 'genesis_seo_site_title' );

 

Remove the Site Description

//* Remove the site description
remove_action( 'genesis_site_description', 'genesis_seo_site_description' );

 

Remove the Header Widget Area

//* Remove the header right widget area
unregister_sidebar( 'header-right' );

 

Modify the Header URL

//* Modify the header URL
add_filter( 'genesis_seo_title', 'child_header_title', 10, 3 );
function child_header_title( $title, $inside, $wrap ) {
    $inside = sprintf( '<a href="http://example.com/" title="%s">%s</a>', esc_attr( get_bloginfo( 'name' ) ), get_bloginfo( 'name' ) );
    return sprintf( '<%1$s class="site-title">%2$s</%1$s>', $wrap, $inside );
}

 

Related Posts

  • Convert Search form into the widget area in Essence Pro theme
  • How to limit the site header to content width in Genesis Sample
  • Sticky site header having before site header widget section in Monochrome Pro
  • Left and Right Navigation Menu having title area in center to the site header in Genesis Sample
  • Left and Right widget section having title area in center to the site header in Genesis Sample

Categories: Free Content Tags: site header

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You should use these Shortcodes tag and attributes while sharing the code:
Example: [html]I <3 HTML[/html] → [html][css][php][js][java][json][raw]

Primary Sidebar

WPEngine WordPress Hosting, Perfected.

Hosting You are looking for?.
Perfect solution for small business to global enterprise.

Learn more

StudioPress Genesis Theme Framework

The No.1 Theme Provider.
Creative, SEO rich Theme for all niche projects.

Learn more

Categories

  • Free Content
  • Genesis Tutorials
  • Premium Content
  • Snippets
  • What's New?
  • WordPress Tutorials

Tag Cloud

Archive Background Section blog center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout Logo menu navigation Navigation Menu Nav Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Split Navigation Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service