• 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 URL from Header Logo in Magazine Pro Theme

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 URL from Header Logo in Magazine Pro Theme

This topic is: not resolved

Tagged: header, Magazine Pro

  • This topic has 4 replies, 3 voices, and was last updated 10 years, 8 months ago by Gregg Davis.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • August 26, 2015 at 11:52 am #163593
    healthegy
    Member

    How do i remove the Link from my header logo? I don't want the logo to link back to the home page. Any Help is appreciated!

    August 26, 2015 at 4:04 pm #163636
    Victor Font
    Moderator

    Add this to your functions.php file. It should do the trick. Change the name of images/logo.png to the point to your logo image.

    remove_action( 'genesis_site_description', 'genesis_seo_site_title' );
    add_action( 'genesis_site_description', 'vmf_seo_site_title_logo' );
    
    /**
     * Filter genesis_seo_title to use an image for the logo instead of a background image
     * 
     * The genesis_seo_site_title function is located in genesis/lib/structure/header.php
     * @link http://victorfont.com/genesis-site-title-logo
     *
     */
    function vmf_seo_site_title_logo() {
    
    	//* Set what goes inside the wrapping tags
    	$inside = sprintf( '<img src="'. get_stylesheet_directory_uri() .'/images/logo.png" title="%s" alt="%s"/>', get_bloginfo( 'name' ), get_bloginfo( 'name' ) );
    
    	//* Determine which wrapping tags to use
    	$wrap = is_home() && 'title' === genesis_get_seo_option( 'home_h1_on' ) ? 'h1' : 'p';
    
    	//* A little fallback, in case an SEO plugin is active
    	$wrap = is_home() && ! genesis_get_seo_option( 'home_h1_on' ) ? 'h1' : $wrap;
    
    	//* And finally, $wrap in h1 if HTML5 & semantic headings enabled
    	$wrap = genesis_html5() && genesis_get_seo_option( 'semantic_headings' ) ? 'h1' : $wrap;
    
    	//* Build the title
    	$title  = genesis_html5() ? sprintf( "<{$wrap} %s>", genesis_attr( 'site-title' ) ) : sprintf( '<%s id="title">%s</%s>', $wrap, $inside, $wrap );
    	$title .= genesis_html5() ? "{$inside}</{$wrap}>" : '';
    
    	//* Echo (filtered)
    	echo apply_filters( 'genesis_seo_title', $title, $inside, $wrap );
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    August 27, 2015 at 9:24 am #163738
    healthegy
    Member

    Victor, i Appreciate you taking the time to reply. This solution doesn't work for me. in my site I'm presently using the "unique Headers Plugin" to change the header on different part of my site on a per page/ post basis. so the solution you provided didn't work for me. I need ta function to remove tag that's associated with the header logo.

    September 16, 2015 at 10:42 am #165782
    healthegy
    Member

    For anyone who needs this, simply add this to the css:

    .header-image .site-title a  {
        
       pointer-events: none;
       cursor: default;
    }
    October 3, 2015 at 5:09 pm #167320
    Gregg Davis
    Participant

    Thank you @healthegy! I used it without the .header-image for my site which was just using the text title. Works beautifully.

    /* Unlink Site Title */
    .site-title a  {
        
       pointer-events: none;
       cursor: default;
    }

    Gregg Davis
    http://greggdavis.com

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