Edit URL on social media links - by Rita

This topic has 6 replies, 2 voices, and was last updated 8 years, 1 months ago ago by Robert Hall

  • Avatar: Rita
    Rita
    Participant
    March 15, 2016 at 02:17

    I have the child theme installed and activated on the site. I can’t figure out where to edit the links to the social media icons in the footer.

    5 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 15, 2016 at 08:22

    Hello,

    In this case you should copy etheme_share_shortcode(...){} function from wp-content/themes/woopress/framework/shortcode.php file (line 1923-2017) and paste it in function.php of the Child Theme.

    Please find // ! Share This Product section and you’ll see a function there.

    After this you can change the link for your social pages in a href attribute. For example:
    <a href="https://your link here" class="'.$tooltip_class.'" title="'.__('Twitter', ET_DOMAIN).'" target="_blank"></a>

    Regards,
    Robert Hall.

    Avatar: Rita
    Rita
    Participant
    March 17, 2016 at 01:56

    Thank you. I was able to edit the links. But have another question.

    I edited these:

    but I’m also seeing these:
    <?php if($twitter){?>
    ” target=”_blank” class=”icon twitter tip-top” data-tip=”Follow us on Twitter”><span class=”icon-twitter”></span>
    <?php }?>

    Where does the second set show up on the site?

    I do like the “share links” that were there… is there a way for me to place them somewhere else on the site to use them?

    thanks again.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 17, 2016 at 08:03

    Hello,

    In this case you should use a [share] shortcode.

    Regards,
    Robert Hall

    Avatar: Rita
    Rita
    Participant
    March 17, 2016 at 14:25

    Thanks Robert. Will give it a try.

    Avatar: Robert Hall
    Robert Hall
    Support staff
    March 17, 2016 at 14:35

    You’re welcome!

    Regards,
    Robert Hall

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

The issue related to '‘edit URL on social media links’' has been successfully resolved, and the topic is now closed for further responses

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