Social media icons - by Marcos - on WordPress WooCommerce support

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

  • Avatar: Marcos
    Marcos
    Participant
    April 10, 2016 at 11:31

    Hi.
    I’ve imported one of the demo xml footer files.
    I see that the social media links are share links.
    What I want is the icons to be links to my client’s Facebook, Twitter, etc., not share links.
    I see you use a [share] shortcode in the demo footer.
    Is there a shortcode to do what I mention above?
    On the other hand, where can I find a list of all available shortcodes that can be used in text blocks?
    Usually, in other Themes there is a dropdwon in the text block menu with all available shortcodes.

    Thanks.

    9 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    April 10, 2016 at 11:59

    Hello,

    You need edit the file wp-content/themes/classico/framework/shortcodes.php (find the section “! Share This Product” in line 460), to change links you need edit the code, for example for Twitter and replacehttps://twitter.com/share?url=’.$permalink.’&text=’.$post_title.’` with a link to your Twitter account.

    To find shortcodes please refer to our documentation https://www.8theme.com/classico-theme-documentation/ (“4.3. Classico Shortcodes”).

    Regards,
    Eva Kemp.

    Avatar: Marcos
    Marcos
    Participant
    April 10, 2016 at 12:14

    But what about future theme updates? That data will be overridden…
    Maybe I’ll have to duplicate that shortcode with a different name in my child theme.
    Is there really no other way in the theme to add links to Facebook, Twitter, etc?
    I think you should consider adding that in future updates. In my opinion its something every theme should have.
    Thanks.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 10, 2016 at 13:13

    Hello,

    You can place the file to your child theme and edit it there or Classico theme 1.6 version has a new widget “8theme – Social links” in Appearance > Widgets where you can enter your own social links. Create custom sidebar http://prntscr.com/aqggol and add “8theme – Social links” into there. To add to your pages you need use “Widgetised Sidebar” element in VC editor and select your custom sidebar that you created.

    Regards,
    Eva Kemp.

    Avatar: Marcos
    Marcos
    Participant
    April 10, 2016 at 13:15

    Can I use that in the footer?
    Thanks!

    Avatar: Marcos
    Marcos
    Participant
    April 10, 2016 at 14:32

    Sorry I should’ve looked at it closer before asking.
    I see VC includes a social media icons component.
    Thanks.

    Avatar: Eva
    Eva Kemp
    Support staff
    April 11, 2016 at 08:17

    Hello,

    Is your issue resolved?

    Regards,
    Eva Kemp.

    Avatar: Marcos
    Marcos
    Participant
    May 25, 2016 at 20:09

    Yes solved thanks!
    Sorry I forgot to reply sooner!

    Avatar: Robert Hall
    Robert Hall
    Support staff
    May 25, 2016 at 20:39

    Hello,

    You’re welcome!

    Regards,
    Robert Hall

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    May 25, 2016 at 20:40

    Hello,

    You’re welcome.

    Best regards,
    Jack Richardson.

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

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

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