Social Icons on Header - by macinmade - on WordPress WooCommerce support

This topic has 3 replies, 3 voices, and was last updated 8 years, 4 months ago ago by Brian Johnson

  • Avatar: macinmade
    macinmade
    Participant
    December 7, 2015 at 11:20

    Hello,

    The social media icons, instead of ‘Sharing’ the content, I would like the each icon to direct to a specific URL. How do I do this?

    Thanks

    2 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    December 7, 2015 at 11:24

    Hello,

    In this case you need edit \themes\royal\framework\shortcodes.php file.

    Please find there // ! Share This Product section and you’ll see code for social icons.

    Regards,
    Robert Hall.

    Avatar: Brian Johnson
    Brian Johnson
    Member
    December 7, 2015 at 11:31

    Hello

    Please find in wp-content/royal/framework/shortcodes.php “share” word and change following line:
    <a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ETHEME_DOMAIN).'" target="_blank">
    to <a href="yoursite.com" class="yourclass" target="_blank">
    You may also check VC icon element.

    Regards,
    Brian Johnson

  • Viewing 3 results - 1 through 3 (of 3 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.