WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
How to change logo url (3 posts)

  1. sabadil
    Member
    Posted 1 year 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?

    http://wordpress.org/extend/plugins/woocommerce/

  2. ManusH
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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

About this Topic

Tags

No tags yet.