[share] shortcode doesn't work - by chshkt

This topic has 7 replies, 2 voices, and was last updated 8 years, 10 months ago ago by Robert Hall

  • Avatar: chshkt
    chshkt
    Participant
    January 27, 2016 at 17:04

    Hello,
    The [share] shortcode doesn’t work, it appears as [share] everywhere (header, under product etc) and not putting the social icons. What’s wrong? I’ve checked the framework/shortcodes.php file, its there, the share shortcode code is there, it’s registered (add_shortcode(‘share’, ‘etheme_share_shortcode’);) but strangely doesn’t work.
    We’re using your Royal theme.
    Thanks.

    Please, contact administrator
    for this information.
    6 Answers
    Avatar: Robert Hall
    Robert Hall
    Support staff
    January 27, 2016 at 17:45

    Hello,

    Please provide us with wp-admin and FTP credentials in Private Content.

    Regards,
    Robert Hall.

    Avatar: chshkt
    chshkt
    Participant
    January 27, 2016 at 17:52

    Logins

    Please, contact administrator
    for this information.
    Avatar: chshkt
    chshkt
    Participant
    January 28, 2016 at 12:47

    Any progress with this issue?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 1, 2016 at 13:01

    Hello,

    Sorry for a delay.
    As I see you’re already added the social icons to the top bar.

    Regards,
    Robert Hall.

    Avatar: chshkt
    chshkt
    Participant
    February 1, 2016 at 13:32

    Ya, did you fix it? Thanks.
    But actually this is social sharing and we wanted social icons with links to the company pages on the social sites. So link to the facebook page, twitter page, etc. This is just sharing the page. How can we do it?

    Avatar: Robert Hall
    Robert Hall
    Support staff
    February 1, 2016 at 14:24

    You can change the links in \themes\royal\framework\shortcodes.php file.
    Find // ! Share This Product section and you’ll see code for social icons there.

    Then look at the following code and edit href="" attribute with your link.
    <a href="https://twitter.com/share?url='.$permalink.'&text='.$post_title.'" class="'.$tooltip_class.'" title="'.__('Twitter', ET_DOMAIN).'" target="_blank">
    .

    Regards,
    Robert Hall.

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

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

Helpful Topics

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