• Resolved himycool

    (@himycool)


    Hi,

    My site has 3 languages including English. share URL different from post URL(showing another post URL). am using the WPML plugin for translation. any idea?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Heateor Support

    (@heateor)

    Hi,

    If you post the URL of the web page that is giving you problems, I would be able to check what’s wrong.

    Thread Starter himycool

    (@himycool)

    Thread Starter himycool

    (@himycool)

    Clue: social share get last post of related post link.

    Plugin Author Heateor Support

    (@heateor)

    I need the URL to check what’s wrong.

    Thread Starter himycool

    (@himycool)

    I already sent the URL,
    “Your post is being held for moderation by our automated system and will be manually reviewed by a volunteer as soon as possible.

    No action is needed on your part at this time, and you do not need to resubmit your message.”

    This is showing only me.

    Plugin Author Heateor Support

    (@heateor)

    Now I can see the URLs you posted. If you enable the social share icons, I would be able to check what’s wrong.

    Thread Starter himycool

    (@himycool)

    see the second link I posted. left side social share icon “LinkedIn”

    Plugin Author Heateor Support

    (@heateor)

    I can see you have customized the plugin. I need more details about the same. Please shoot an email to support[at]heateor[dot]com so that I could help you out.

    Thread Starter himycool

    (@himycool)

    Found a solution

    function fix_heateor_sss_social_share_url($post_url) {
    if (is_main_query() && is_single()) {
    $post_url = get_permalink(get_queried_object_id());
    }
    return $post_url;
    }
    add_filter(‘heateor_sss_target_share_url_filter’,’fix_heateor_sss_social_share_url’);

    Plugin Author Heateor Support

    (@heateor)

    Glad to know it worked for you.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Share button showing different post URL work with WPML’ is closed to new replies.