Support » Plugin: NextGEN Gallery - WordPress Gallery Plugin » Permalink per picture

Viewing 1 replies (of 1 total)
  • Ok, so I fixed most buttons, giving each social icon it’s own url parameter. The only two that won’t work along are Facebook and Linkedin.
    Facebook is the most important, but I can’t get it to send out the exact link with the ?pid=0123. And linkedin for some reason won’t listen to the php coded url I ask him to send out, like Ive with the twitter button, a hard-coded link does work but is not what I want.

    Any ideas?

    This is my current social set-up:

    <div class="addthis_toolbox addthis_default_style ">
    <div id="fb-root"></div>
    <script>(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); = id;
    js.src = "//[removedid]";
    fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    <div class="fb-like" data-send="false" data-layout="button_count" data-width="80" data-show-faces="false"></div>
      <a class="addthis_button_tweet" tw:url="<?php echo the_permalink();?>?pid=<?php echo $image->pid;?>" tw:text="<?php echo $image->alttext ?>"></a>
      <a class="addthis_button_pinterest" pi:pinit:description="<?php echo $image->alttext ?>" pi:pinit:url="<?php echo the_permalink();?>?pid=<?php echo $image->pid;?>"></a>
       <a class="addthis_button_google_plusone" g:plusone:size="medium" g:plusone:count="false" g:plusone:href="<?php echo the_permalink();?>?pid=<?php echo $image->pid;?>"></a>
       <a class="addthis_button_linkedin_counter" li:counter="none" li:url="//////"></a><a class="addthis_counter addthis_pill_style"></a>

Viewing 1 replies (of 1 total)
  • The topic ‘Permalink per picture’ is closed to new replies.