This topic has 6 replies, 2 voices, and was last updated 8 years, 1 months ago ago by Robert Hall
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.
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.
Thank you. I was able to edit the links. But have another question.
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.
Hello,
In this case you should use a [share]
shortcode.
Regards,
Robert Hall
Thanks Robert. Will give it a try.
You’re welcome!
Regards,
Robert Hall
The issue related to '‘edit URL on social media links’' has been successfully resolved, and the topic is now closed for further responses