Share short code in footer - by stey06 - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 9 years ago ago by Robert Hall

  • Avatar: stey06
    stey06
    Participant
    December 11, 2015 at 15:40

    hello,
    share shortcodes are working fine, but how to change the link ref for the footer icon ? i.e. it should point to the site URL instead of the current page URL.
    Thanks for your support,

    1 Answer
    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 11, 2015 at 16:08

    Hello,

    You can change url in \themes\woopress\framework\shortcodes.php file.
    Find // ! Share This Product section and you’ll see the code
    For example:

    <a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ET_DOMAIN).'" target="_blank">
     <i class="ico-twitter"></i>
    <svg width="38" height="38" xmlns="http://www.w3.org/2000/svg" class="circle">
    <circle cx="19" cy="19" r="18" fill="rgba(255,255,255,0)" stroke="#000000"></circle>
    </svg>
    </a>

    You need to change the link in href attribute.

    Regards,
    Robert Hall.

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

You must be logged in to reply to this topic.Log in/Sign up

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