• Skip to content

StudioPress

Customer Portal

  • Genesis Pro
  • Genesis Blocks
  • Genesis Custom Blocks
  • Genesis Framework
  • Genesis Themes
    • Get Started
    • Genesis Pro
    • Showcase
    • FAQ
  • Login
Get Help / Code Snippets / Header /

Modify the Header URL

Unless otherwise indicated, the code snippets you see below should be placed into your theme’s functions.php file.

Below is the code to modify the header URL of your site with an HTML5 (Pro) Child Theme:

Below is the code to modify the header URL of your site with an XHTML Child Theme:

Below is the code to modify the header URL of your site when using a logo image:

Replace http://yourdomain.com with the current site URL and then replace http://example.com with the URL you’d like the logo to link to.

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop Theme Packages

Footer

StudioPress

© 2021 WPEngine, Inc.

Products
  • All-In-One with WP Engine
  • Shop Theme Packages
  • Theme Features
  • Getting Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Acceptable Use Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Developer Documentation
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble