Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Arjun Jain

    (@arjunjain08)

    Hi,

    I will fix this in next version. You can fix this by updating the plugins/wp-social-sharing/includes/class-public.php file. First take the backup and than edit the file
    Change line no: 108 to 111

    Current code:

    case 'l':
    if(in_array('linkedin', $social_options)){?><a <?php echo $loadjs;?> rel="external nofollow" class="<?php echo $ssbutton_linkedin;?>" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo substr($url,0,1024);?>&title=<?php echo substr($title,0,200);?>" target="_blank" ><?php echo $linkedin_text; ?></a><?php
    } break;

    New Code:

    case 'l':
    if(in_array('linkedin', $social_options)){?><a <?php echo $loadjs;?> rel="external nofollow" class="<?php echo $ssbutton_linkedin;?>" href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo substr($url,0,1024);?>&title=<?php echo substr(urldecode($title),0,200);?>" target="_blank" ><?php echo $linkedin_text; ?></a><?php } break;
    Thread Starter Asjad

    (@asjad)

    Hi Thanks for your speedy reply.

    I implemented the code and it fixed the linkedin share. I hadn’t realised that the issue was there with the linkedin share aswell.

    I think you may have missed that the original issue was with the twitter share. Can you provide the code for that?

    Plugin Author Arjun Jain

    (@arjunjain08)

    Please revert back the old changes and make only following changes:

    Current Code.
    Line number: 62

    $title = urlencode( get_the_title() );

    New Code:

    $title = get_the_title();

    Thread Starter Asjad

    (@asjad)

    Perfect!
    Thank you for taking the time to sort out my problem.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘twitter popup using html code for link’ is closed to new replies.