Clickable Logo AND Clickable Site Title

Community Forums Forums Design Tips and Tricks Clickable Logo AND Clickable Site Title

This topic is: resolved

This topic contains 2 replies, has 2 voices, and was last updated by  tomatillodesign 7 hours, 40 minutes ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #35770

    tomatillodesign
    Participant
    Post count: 17

    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.

     

    #39057

    cehwitham
    Participant
    Post count: 396

    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

    #126243

    tomatillodesign
    Participant
    Post count: 17

    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);
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.