Share Post – how to add/delete links

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

  • Avatar: qdesign
    qdesign
    Participant
    January 21, 2016 at 20:39

    ON Posts there is a Share Post feature featuring 5 social media icons with links. I would like to add a new icon and delete one icon. Have not been able to figure out where that can be done.

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    January 22, 2016 at 13:20

    Hello,

    You need edit the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Share This Product” in line 1918), comment out the code for icon you need and add your code for other icon.

    Regards,
    Eva Kemp.

    Avatar: qdesign
    qdesign
    Participant
    January 22, 2016 at 16:40

    Thx for your reply, just one clarifying question… If I make the changes as you describe, will those changes need to be made again when/if I update the theme?

    Avatar: Eva
    Eva Kemp
    Support staff
    January 22, 2016 at 17:38

    Hello,

    Yes, the changes will be lost after theme update.
    You can create child theme http://codex.wordpress.org/Child_Themes and make changes there.
    Copy function code into child functions.php file and edit it to your needs.

    Regards,
    Eva Kemp.

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