Support » Plugin: Po.st: The Social Sharing Platform that Captures 100% of your sites Social Activity! » PO.ST Social share buttons under each posts in a single page
I am using the ‘blog-in-blog’ plugin to insert posts from a particular category in a single page.
Now under each of the posts in the page I wish to insert social sharing buttons.
How can I do that?
At present if I am inserting social sharing buttons in each posts of the page on sharing them I am getting the entire page shared instead of the single post.
In the plugin ‘blog-in-blog’ I have a post template as shown below, in which I am inserting the Po.St code……………
<!-- fragment of html for post template. This file will be deprecated... --> <!-- blog-in-blog Version: %bib_version% --> <div class="post"> <!-- Post Headline --> <div class="post-headline"> <h2> <a title="Permanent Link to %post_title%" rel="bookmark" href="%post_permalink%" target="_blank" id="%post_id%" >%post_title%</a> </h2> <small>%post_date%</small> </div> <!-- Post Body Copy --> <div class="post-bodycopy clearfix">%post_content%</div> [ The code for Po.st here ] <hr style="height: 2px; width: 100%; border-width: 1px; border-style: solid; border-color: #CCCCCC; color: #ffffff;" noshade="noshade" size="2" width="100%" /> </div>
Can you please help.
As this is my primary concern and without this I won’t be able to use your plugin.
For your Po.st code, we have two parameters you can add that will pull the unique URL and Title of the post instead of the page. Here are the two you need to add to your po.st <div>
pw:url=”<?php the_permalink(); ?>” pw:title=”<?php the_title(); ?>”
It would look something like this:
<div class=”pw-widget” pw:url=”<?php the_permalink(); ?>” pw:title=”<?php the_title(); ?>”>
Let us know if that works, thank you.
Thanks for your great support.
Finally I am able to do what I required with the modified code that you provided.
I feel elated as I know nothing of coding and could still achieve the feat with your help.
There are 2 more questions…………..
I want the Po.st share to be activated in my photo pages, where all my shareable pictures are. I am easily doing this with the code provided by you.
Hence I do not need to install the wordpress plugin for ‘Po.st’ in my website. Is this the correct approach? or do I need to install the plugin as well?
Secondly, when I am sharing in Facebook, I wish a thumbnail image of the photo or the website icon to appear as well. How can I do it?
For the first question, you are correct, you do not need to also install the plugin to your site.
For the second question, you can use the Facebook Open Graph Meta Tags in the <head> of your page.
This is the tag specifically that you can use:
<meta property=”og:image” content=”Image URL Here”/>
Our widget should pick up that code.
If you are continuing to experience problems, please email us directly at email@example.com.
Thanks for your reply.
Sorry for my delayed response, as I was on vacation.
I returned to my desk today.
I am extremely happy with your plugin and all my problems are solved as per your suggestions.
Thanks once again and a belated merry Christmas wishes to you.
I however do have a few questions regarding the revenue sharing model and will mail you directly.
- The topic ‘PO.ST Social share buttons under each posts in a single page’ is closed to new replies.