Header Social Icons Royal - by kaha - on WordPress WooCommerce support

This topic has 15 replies, 4 voices, and was last updated 9 years, 1 months ago ago by Eva Kemp

  • Avatar: kaha
    kaha
    Participant
    September 25, 2015 at 18:29

    Hi, I think I found where to update the social icons in the header on the Royal theme.
    I found the [share] option in theme options> header but not sure what and how I change it.

    Thanks,

    14 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    September 28, 2015 at 08:52

    Hello,

    Please clarify what exactly you want to change.

    Thank you.
    Best regards,
    Jack Richardson.

    Avatar: kaha
    kaha
    Participant
    September 28, 2015 at 16:22

    I’m not sure yet which social icons I want to use but will need to remove at least one or maybe two. I also would like to update them to link to correct pages.
    But maybe I can’t do it myself and you need to do it for me if that is the case I will get back to you with exactly what I need.

    Thanks,

    Avatar: stan
    Stan Russell
    Participant
    September 29, 2015 at 07:52

    Hello kaha,

    we will wait for your reply. Feel free to ask if any help needed.

    Regards,
    Stan Russell.

    Avatar: kaha
    kaha
    Participant
    November 17, 2015 at 21:46

    Ok I have the exact links now. I would prefer to learn how to do this myself so if you could tell me how that would be great. If not, my links are in the private section.

    Thanks,

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    November 17, 2015 at 21:57

    Hello,

    You need edit the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Share This Product” in line 1918), 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.

    Avatar: kaha
    kaha
    Participant
    November 17, 2015 at 22:45

    Great, thanks! However I don’t see an instagram icon/section

    Avatar: kaha
    kaha
    Participant
    November 17, 2015 at 22:54

    Oooops!! I removed too much trying to switch out the subject on the email short code.

    Now I can’t go back to fix it…help!

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    November 18, 2015 at 09:59

    Hello,

    I’ve changed the code to default.

    To add Instagram icon you need edit the file wp-content/themes/royal/framework/shortcodes.php (find the section “! Share This Product”) and add this code after line 2010:

    if($instagram == 1) {
    $html .= '
    <li>
    <a href="http://url_to_your_Instagram_page" class="'.$tooltip_class.'" title="'.__('Instagram', ET_DOMAIN).'" target="_blank">
    <i class="ico-instagram"></i>
    <svg width="38" height="38" xmlns="http://www.w3.org/2000/svg" class="circle">
    <circle cx="19" cy="19" r="18" fill="rgba(255,255,255,0)" stroke="#000000"></circle>
    </svg>
    </a>
    </li>
    ';
    }

    and
    'instagram' => 1 after line 1927.

    Regards,
    Eva Kemp.

    Avatar: kaha
    kaha
    Participant
    November 18, 2015 at 17:13

    Thanks! Maybe I should just have you fix all the links for me so I don’t mess it up again?
    I wanted to change the email to not say Home (and instead say Hi) in the subject line and that is what broke the code.

    The links are all above and the email is below

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    November 18, 2015 at 19:15

    Hello,

    I’ve added Instagram code and edited mail text.
    Please check icons now.

    Regards,
    Eva Kemp.

    Avatar: kaha
    kaha
    Participant
    November 18, 2015 at 19:23

    Thank you so much!!

    Would you mind removing that link that shows up in the email that says check this out__________ (and if not too much, move the letter icon to the far right (inside the social box))

    Thanks!!!

    Where do I leave a review for you guys?

    Avatar: Eva
    Eva Kemp
    Support staff
    November 18, 2015 at 19:48

    Hello,

    Done as requested.
    Please check.

    You can leave a comment on the site http://themeforest.net/item/royal-multipurpose-wordpress-theme/8611976/comments .

    Regards,
    Eva Kemp.

    Avatar: kaha
    kaha
    Participant
    November 18, 2015 at 20:18

    Thanks a million!!

    Avatar: Eva
    Eva Kemp
    Support staff
    November 18, 2015 at 20:23

    Hello,

    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Header Social Icons Royal’' 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.