How to change logo url (3 posts)

  1. sabadil
    Posted 3 years ago #

    I'm using Canvas theme with WooCommerce installed.

    I've uploaded a logo image, and now I want to change the logo link url to go to a particular page. The code in header.php is beyond me to decipher! Any Canvas users here that can help?


  2. ManusH
    Posted 3 years ago #

    This is not a WooCommerce related issue, this is basically a theme issue.

    As you mentioned, the URL for the logo is defined in the header.php :

    // Website heading/logo and description text.
    echo '<a href="' . esc_url( $site_url ) . '" title="' . esc_attr( $site_description ) . '"><img src="' . esc_url( $logo_url ) . '" alt="' . esc_attr( $site_title ) . '" /></a>' . "\n";

    You can change that ' . esc_url( $site_url ) . ' part with your own link

  3. sabadil
    Posted 3 years ago #

    Thank you! Yes, I realize it's a theme issue. Just hoping someone here could quickly help :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.