Support » Plugin: WP Social Sharing » Custom URL to share

  • Hello,

    I modified the file: wp-social-sharing/includes/class-public.php to allow custom Url to share.
    The reason of that: I put the social share plugin on my Thankyou page, I’d like the visits can share the original post instead the thankyou page.

    So included the parameter url on creation of plugin.

    if($atts['url'] == "")
        $url = urlencode( get_permalink() );
        $url = $atts['url'];

    [wp_social_sharing url=’’]

Viewing 1 replies (of 1 total)
  • KrissieV


    Thank you so much for this! This is exactly what I was looking for. In my instance I’m putting the share button on the page where the member can edit their own profile, but want to share a link to their public profile.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.