• 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

Remove the Header URL

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 › General Discussion › Remove the Header URL

This topic is: not resolved

Tagged: header

  • This topic has 7 replies, 3 voices, and was last updated 12 years, 4 months ago by JazzaJ.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • February 19, 2014 at 5:33 am #91110
    JazzaJ
    Member

    Hi,

    Id like to remove the header URL, that is so that the logo top left isn't clickable on my entire site (currently goes to homepage).

    I found this to amend it: http://my.studiopress.com/snippets/header/#modify-url , but doesnt remove it.

    Many thanks for your time.

    March 12, 2014 at 1:31 pm #94496
    JazzaJ
    Member

    Can anybody help?

    Thanks.

    March 12, 2014 at 2:09 pm #94503
    essaysnark
    Participant

    Without seeing your actual site it's a little tricky, but you could use that snippet that you linked to (modify header URL) and where it says "http://www.yourdomain.com" then instead just use the # character. It will still be clickable but it won't take you anywhere.

    March 12, 2014 at 2:11 pm #94504
    emasai
    Participant

    It is standard practice to have the logo link back to the homepage, so that you don't waste space in the navigation putting in a homepage link.

    However if you want to make it unclickable, as you did not provide a link I cannot tell you exactly how. At the moment your logo is probably in site-title a or title-area a, the a tag makes it clickable.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    March 12, 2014 at 2:14 pm #94505
    JazzaJ
    Member

    Hi,

    Thanks for your response. If I put a # instead of the url in:

    <?php
    //* Do NOT include the opening php tag
     
    //* 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.yourdomain.com" title="%s">%s</a>', esc_attr( get_bloginfo('name') ), get_bloginfo('name') );
    	$title = sprintf('<%s id="title">%s</%s>', $wrap, $inside, $wrap);
    	return $title;
    }

    The logo gets lost.

    Any ideas?

    Thanks.

    March 12, 2014 at 2:15 pm #94506
    JazzaJ
    Member

    Hello,

    Its a standard Executive Pro theme.

    Thanks.

    March 12, 2014 at 3:09 pm #94515
    emasai
    Participant

    Sorry, but I don't have all the themes set up on test sites. As I said look to put your logo outside of the a link in the css file.


    Need Website Customization or a Responsive CSS fix? Contact Me
    Lynne emasai.com

    March 14, 2014 at 2:15 am #94818
    JazzaJ
    Member

    Hello,

    Thanks for your input and if it helps, this has solved the issue.

    .site-title a {
    background: none !important; 
    width: 0px !important;
    }
  • Author
    Posts
Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘General Discussion’ 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

© 2026 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