• 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 home page link from logo in header?

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 › remove home page link from logo in header?

This topic is: not resolved

Tagged: home page, link, Logo

  • This topic has 6 replies, 2 voices, and was last updated 11 years, 7 months ago by Brad Dalton.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • April 26, 2014 at 10:50 am #102445
    irishfan
    Member

    Hey guys,

    I want to remove the clickable link on my logo in the header so that my logo is not a link back to the home page. I would really prefer to be able to select only certain pages/posts that have this feature but doubt that is possible.

    Any ideas on how to do this? I am using the magazine pro theme.

    Thanks!

    April 26, 2014 at 11:43 am #102477
    Brad Dalton
    Participant

    Try http://my.studiopress.com/snippets/


    Tutorials for StudioPress Themes.

    April 26, 2014 at 6:04 pm #102519
    irishfan
    Member

    Thanks! Would that be the child or parent theme? I checked both and cant find that code in the functions.php file...

    April 26, 2014 at 7:57 pm #102522
    Brad Dalton
    Participant

    Its in WordPress and/or Genesis so you need to filter the function which adds the link conditionally.


    Tutorials for StudioPress Themes.

    April 27, 2014 at 11:03 am #102619
    irishfan
    Member

    Thanks Brad! Ok so I figured out I need to add that code which I did to the functions.php file in the magazine pro theme. However the code allowed me to modify the url but it also removed my logo image. So I fixed one problem to get another lol

    Here is the code i added:

    //* Modify the header URL
    add_filter('genesis_seo_title', 'sp_seo_title', 10, 3);
    function sp_seo_title($title, $inside, $wrap) {
    $inside = sprintf( '%s', esc_attr( get_bloginfo('name') ), get_bloginfo('name') );
    $title = sprintf('<%s id="title">%s</%s>', $wrap, $inside, $wrap);
    return $title;

    Its pulling the 'name' of blog instead of logo...

    Is there a way to keep my logo image and still change the url?

    Thanks!

    April 28, 2014 at 8:10 pm #102839
    irishfan
    Member

    Anyway to keep my logo image and still remove the url link?

    Thanks!

    April 29, 2014 at 11:34 am #102954
    Brad Dalton
    Participant

    Can't test that code unless its embedded in a Github Gist as its broken now.


    Tutorials for StudioPress Themes.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 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