This plug in is showing the wrong facebook count and the wrong image to share in facebook and shows the wrong url instead of the permalink that it is suppose to show. However it works for twitter. It took a bid of modification to get the pinterest share to share the featured image. Ill post what I have done in the code below to get that to work. I tried the plug in and manual install and still no luck. There must be a problem with the .js file. The code below will show you what I am using and you dont have to insert the pinterest image every time in the post dashboard if you dont want to.
<div id="test"><?php $image_id = get_post_thumbnail_id(); $image_url = wp_get_attachment_image_src($image_id,'large', true); ?></div> <div class="pw-widget pw-share-popups" pw:url="<?php the_permalink(); ?>" pw:title="<?php the_title(); ?>" pw:image="<?php echo $image_url; ?>"> <a class="pw-button-googleplus pw-look-native"></a> <a class="pw-button-facebook pw-look-native"></a> <a class="pw-button-twitter pw-look-native"></a> <a class="pw-button-email pw-look-native"></a> <a class="pw-button-pinterest"></a> </div>
- The topic ‘VERY VERY BUGGY’ is closed to new replies.