Canvas: Change logo link to different page

Home Pootlepress Academy Support Forums Academy Support Forum WordPress themes Canvas: Change logo link to different page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9506
    Kevin Allenby
    Participant

    Have a Canvas site that has a ‘splash’ page, ie it auto refreshes after 3 seconds to an internal page. (client insisted….)
    My problem is that clicking the logo on any internal page, takes you back to this splash page. I would like to make the logo link to the internal ‘home’ page;
    ie instead of linking to;
    londonbutterflies.com
    would like logo to link to
    londonbutterflies.com/home/

    Hopefully it makes sense when you see page;
    londonbutterflies.com

    Any ideas?
    Thanks
    Kevin

    #9536
    Jamie Marsland
    Keymaster

    Hi Kevin,

    Lovely looking website :)

    Here’s a link that should help you http://wordpress.org/support/topic/changing-link-url-of-blog-site-logo

    Let me know if you get it working,

    Jamie

    #9558
    Kevin Allenby
    Participant

    Have managed to do it by changing this code in the header.php;

    /*———————————————————————————–*/
    /* Optionally load custom logo. */
    /*———————————————————————————–*/

    if ( ! function_exists( ‘woo_logo’ ) ) {
    function woo_logo () {
    $settings = woo_get_dynamic_values( array( ‘logo’ => ” ) );
    // Setup the tag to be used for the header area (h1 on the front page and span on all others).
    $heading_tag = ‘span’;
    if ( is_home() || is_front_page() ) { $heading_tag = ‘h1’; }

    // Get our website’s name, description and URL. We use them several times below so lets get them once.
    $site_title = get_bloginfo( ‘name’ );
    $site_url = home_url( ‘/’ );
    $site_description = get_bloginfo( ‘description’ );
    ?>

    <end>

    changed the bold line of code to;
    $site_url = home_url( ‘/home/’ );

    #19548
    Member

    Can anyone help me with this on the current version of canvas 5.9?

    I would only like to change the URL link for the custom logo?

    I do not want it to go to the home page?

    #19554
    Jamie Marsland
    Keymaster

    Hi Adam,

    Have you tried this https://wordpress.org/support/topic/changing-link-url-of-blog-site-logo

    I wouldn’t recommend doing this though – it’s a bit strange :)

    Jamie

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Scroll to Top