• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

link header image to multiple locations

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › link header image to multiple locations

This topic is: not resolved

Tagged: associates, header, image, link, theme

  • This topic has 2 replies, 1 voice, and was last updated 11 years, 7 months ago by andrei808.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 25, 2014 at 9:50 pm #96681
    andrei808
    Member

    I'm setting up a site using the Associates theme here: http://tianmu.tv

    I have set a custom full sized header (960x120) using the Appearance > Header function.

    As you will notice, the header contains multiple elements, including two logos. I would like the two logos to link to different locations, but I have no idea where to begin.

    Hope you can help!

    http://tianmu.tv
    March 26, 2014 at 8:47 pm #96882
    andrei808
    Member

    Anyone have any ideas? I realize this will involve some css, but as a newbie I don't really have a clear grasp of where to begin the process.

    I am working on getting it running in two languages. English version here: http://tianmu.tv/?lang=en

    March 26, 2014 at 9:46 pm #96884
    andrei808
    Member

    I made some progress. I linked the logo on the left side by adding a code snippet to functions.php

    
    //* Modify the header URL
    add_filter('genesis_seo_title', 'sp_seo_title', 10, 3);
    function sp_seo_title($title, $inside, $wrap) {
    	$inside = sprintf( '<a href="http://www.southchina.biz" title="%s">%s</a>', esc_attr( get_bloginfo('name') ), get_bloginfo('name') );
    	$title = sprintf('<%s id="title">%s</%s>', $wrap, $inside, $wrap);
    	return $title;
    }
    

    Then modified the title area css to roughly the size of the logo.

    So far, so good.

    I would still like to link the logo on the right to the homepage of the site. Right now it is not linked at all, but it is (or can be) inside the right header widget area. How could I set up that link?

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble