Logo link - by Roobinda - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 6 years, 5 months ago ago by Rose Tyler

  • Avatar: Roobinda
    Roobinda
    Participant
    July 6, 2018 at 17:24

    Hi there. I need to edit the URL visited when clicking on the header logo. How do i do this again?

    Also, is it possible to edit the URL navigated to when clicking ‘sign out’?

    Thanks in advance!

    1 Answer
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 9, 2018 at 08:58

    Hello,

    1. You need to edit this function http://prntscr.com/k46gke from classico/framework/theme-functions.php via child theme (functions.php file).
    2. You may try to implement this by additional customization only if you have PHP skills.
    To check if user logged in or not, use wp function https://developer.wordpress.org/reference/functions/is_user_logged_in/
    and in php file write the condition – if ( is_user_logged_in() ) { echo ‘your-url’; } else { echo ‘other-url’; }

    Regards

  • Viewing 2 results - 1 through 2 (of 2 total)

The issue related to '‘Logo link’' has been successfully resolved, and the topic is now closed for further responses

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.