Social shortcodes - by Estudio EntreDos - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 8 years, 4 months ago ago by Jack Richardson

  • Avatar: EntreDos123
    Estudio EntreDos
    Participant
    December 14, 2015 at 20:03

    Hi, do you have any shortcode or widget to insert the social icons to go, not to share, in this style? (I caught from another theme)

    [icon name= “icon-facebook” size= “tiny” style= “circle” bg_color= “#3b5998” hover_bg_color= “#323232” color= “#fff” hover_color= “#ffffff” border_width= “0” alignment= “none” href= “” animation_type= “fadeIn”][icon name= “icon-twitter” size= “tiny” style= “circle” bg_color= “#0c9aca” hover_bg_color= “#323232” color= “#fff” hover_color= “#ffffff” border_width= “0” alignment= “none” href= “” animation_type= “fadeIn”][icon name= “icon-pinterest” size= “tiny” style= “circle” bg_color= “#e4100f” hover_bg_color= “#323232” color= “#fff” hover_color= “#ffffff” border_width= “0” alignment= “none” href= “” animation_type= “fadeIn”]

    Thank you.

    1 Answer
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 15, 2015 at 08:53

    Hello,

    Sorry, but we have only shortcode [share] that allow to share information.
    But you can edit the code to change the links for social icons.
    You need edit the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Share This Product”), to change links you need edit the code,
    for example for Twitter <a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ETHEME_DOMAIN).'" target="_blank">
    and replace https://twitter.com/share?url='.$permalink.'&text='.$post_title.' with a link to your Twitter account.

    Best regards,
    Jack Richardson.

  • 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.