WordPress.org

Ready to get started?Download WordPress

Forums

Po.st: The Social Sharing Platform that Generates Revenue for Your Website
[resolved] PO.ST Social share buttons under each posts in a single page (8 posts)

  1. satyaki
    Member
    Posted 1 year ago #

    Hi,

    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.

    Please help.

    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>

    Please help

    http://wordpress.org/extend/plugins/post/

  2. satyaki
    Member
    Posted 1 year ago #

    Hi,

    Can you please help.
    As this is my primary concern and without this I won't be able to use your plugin.

    Please respond.

  3. Po.st
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Satyaki,

    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(); ?>">
    ...Po.st buttons...
    </div>

    Let us know if that works, thank you.
    Po.st Support

  4. satyaki
    Member
    Posted 1 year ago #

    Hi,

    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.
    Thanks again.

    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?

    Warm regards
    Roy

  5. Po.st
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Roy,

    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.

    Thank you,
    Po.st Support

  6. Po.st
    Member
    Plugin Author

    Posted 1 year ago #

    If you are continuing to experience problems, please email us directly at support@po.st.

    Thank you,
    Po.st Support

  7. satyaki
    Member
    Posted 1 year ago #

    Hi,

    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.

  8. satyaki
    Member
    Posted 1 year ago #

    I tried to post at support@po.st. and support@po.st.com but in both the cases mail delivery failed.

    Please let me know if you have any other Email ID.

Topic Closed

This topic has been closed to new replies.