• 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

Clickable Logo AND Clickable Site Title

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 › Clickable Logo AND Clickable Site Title

This topic is: resolved

Tagged: clickable, header, site title

  • This topic has 2 replies, 2 voices, and was last updated 9 years, 2 months ago by tomatillodesign.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • April 16, 2013 at 11:05 am #35770
    tomatillodesign
    Member

    I don't know if this is a Dynamik question or a Genesis question. I need to have 4 elements in my header: a clickable logo, clickable site title, site tagline, and a background image. How can I assemble these together? Seems like Genesis gives only an either/or option for logo vs. title. Thanks.

     

    May 3, 2013 at 5:10 am #39057
    cehwitham
    Member

    Hi,

    You can add extra things into the header using hooks and a custom function. You'll most likely need to hook into genesis_header.

    More information about Genesis hooks is available at: http://my.studiopress.com/docs/hook-reference/

    Do you have a link to your site so I can have a look and advise further?

    Chris


    Twitter: cehwitham Web: cehwitham.com

    September 30, 2014 at 4:27 am #126243
    tomatillodesign
    Member

    Got it - here's how:

    //* Defines Clickable Logo and adds Blog Info to title
    function special_site_logo() {?><a id="sitelogo" href="<?php bloginfo( 'url' ); ?>"><img src="http://www.example.com/wp-content/uploads/2014/05/logo.jpg" alt="<?php bloginfo('name')?>" title="<?php bloginfo('name')?>" /></a><?php ;
    	}
    add_action( 'genesis_site_title','special_site_logo',5,1);
  • 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

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