You should place that call inside The Loop, you can create a custom query for a specific post very easily, look at the examples on that page.
Thread Starter
nimh
(@nimh)
http://bloggingpaws.com/
Please view my website… sharing from the home page, when user chooses share (I use FB as an example) it shows the general page info.
Once I chose to share it showed up correctly on my fb feed.
If I share from another page
http://bloggingpaws.com/category/product-review/
The right image/description etc show in the share box for the first post, but if attempting to share the 2nd, it only shares the general page info.
The links look correct.
The code is put inside the loop, here is the code example from the product-review page above.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<div class="post">
<div class="editThis"><?php edit_post_link(); ?></div>
<h1 class="postTitle"><a href="<?php echo get_post_permalink(); ?>"><?php the_title(); ?></a></h1>
<div class="postdate">Posted: <?php the_time('F j, Y') ?></div>
<div class="postdate">Reviewed by: <?php the_author_posts_link(); ?></div>
<br clear="both">
<div class="reviewPreview"><?php echo cwppos_show_review(); ?></div>
<div class="thumbnail" style="float: left; padding: 25px;"><?php the_post_thumbnail('medium'); ?></div>
<?php the_excerpt(); ?>
<?php the_tags( '<div class="tagsFront">Tags: ', ', ', '</div>' ); ?>
<div style="clear:both; float: right;"><?php echo synved_social_share_markup(); ?></div>
<div style=" clear:both; float: right;"><?php comments_popup_link('Be the first to comment!', '1 comment.', '% comments already!'); ?></div><br clear="both">
</div>
<hr class="postHR">
<?php endwhile; else : ?>
<p><?php _e( 'Sorry, no posts matched your criteria.' ); ?></p>
<?php endif; ?>
To me all the buttons on the right of the posts (the ones above “Be the first to comment!”) seem to point correctly to each of the individual posts’ URLs, which post is showing you a URL to the main page?