Support » Plugin: Sharedaddy » [Plugin: Sharedaddy] Adding this manually

Viewing 15 replies - 1 through 15 (of 25 total)
  • Plugin Author John Godley

    (@johnny5)

    There isn’t, but that’s a good suggestion – I’ll add a template tag in the next version.

    Plugin Author John Godley

    (@johnny5)

    In 0.2.5 you can use:

    echo sharing_display();

    Will I be adding this code in my Single.PHP file?

    echo sharing_display();

    I added above said code, it did not work for me :(. I am wordpress newbie. so not sure whether I am doing it correct.

    Also how do I add Twitter, facebook on front page and all other options in my Post. Can I have 2 settings on Front page and POST?

    Also I would like to have the icons displayed at the top of the POSt, but this allowing me to add only at the end of POST šŸ™‚

    Please reply

    Thanks and regards

    SiRu

    Plugin Author John Godley

    (@johnny5)

    Yes, it can go in single.php

    Do you have the sharing option enabled to show on single posts?

    There is currently no option to show above posts, but if you use the template tag you can position it anywhere you want.

    im running wordpress 3.0.1 will the echo work?
    see the site here
    http://rapfactz.com/site/

    the background of each post is going to be a thought bubble and along the bottom is where i wanted to place the buttons

    right now when i add a background the buttons go into the thought bubble

    Plugin Author John Godley

    (@johnny5)

    Yes, it will work in WP 3.0.1 – the 0.2.5 above was referring to the version of the plugin.

    Thanks for the cool work, but unfortunately I can not insert sharedaddy via the “echo sharing_display();” manually on a single.php file. Sharedaddy even doesn’t show up on a single.php without inserting it manually.
    Can anyone please give me a hint why sharedaddy works fine with the 2010-standard theme but doesn’t work correctly in my theme?
    Sharedaddy shows up on index.php but not in single posts.

    Plugin Author John Godley

    (@johnny5)

    Not sure I understand – you say you cannot insert it manually, but then say it doesn’t show up unless inserted manually.

    Sharedaddy still needs to be configured to appear on posts or index pages, and the template function only works when inside the loop.

    Hi John!

    Thanks for your quick response. That’s exactly the point where I got stuck. Adding the plugin manually ( echo sharing_display(); ) works perfect in my index.php or home.php file but the plugin output doesn’t show up on my single.php.

    I’ve even got the same problem when I don’t insert the plugin manually.
    It’s so confusing because your plugin rocks.

    Thanks for all your help.

    Using
    <?php echo sharing_display(); ?>

    I have been trying to add it below my content like this.

    <div class="entry-content">
    <p>lorem ipsum dolor sit amet...</p>
    </div>
    <div class="entry-meta">
    <p>yada yada yada</p>
    </div>
    <?php echo sharing_display(); ?>

    But I never get past the closing </div> from <div class=”entry-content”>

    It works perfectly fine to add it above.

    Anyone got a clue?

    Plugin Author John Godley

    (@johnny5)

    fonkyflo, have you tried another theme?

    hixen, the function must be called inside the WordPress loop.

    John, i have it inside the loop.

    Here is my code

    [Code moderated as per the Forum Rules. Please use the pastebin]

    The echo sharing_display() always get printed out before my attachment stuff. If your wondering what that is, here is a link:
    http://www.tgrayimages.com/automate-file-attachments-on-your-wordpress-posts/

    It’s like plugin looks for the the_content() and prints it right after it. But if it founds sharing_display() before the_content() it happily prints it out, but not after.

    Is there any way I can fix this?

    infected

    (@infected)

    Having the same problem. ItĀ“s not possible for me to display the share buttons somewhere after the_content(). My themeĀ“s containing a div to display some postinfos like author, rss, trackback etc. ThatĀ“s the place i want to add the share buttons but it doesnĀ“t work. ItĀ“s always displayed directly after the_content().

    URL: http://www.be-infected.de

    [Code moderated as per the Forum Rules. Please use the pastebin]

    I would like to place the buttons at the end of div underpost.

    hixen

    (@hixen)

    I did never find a solution to this, but since it worked fine to place it above the the_content() i did that and then wrapped it up in a container and absolute positioned it where I wanted it. It was not pretty but it worked for me.

    Just to give you an example what i did:

    <div id="content" style="position:relative;">
        <div class="sharing" style="position:absolute; bottom:0px;">
            <?php echo sharing_display(); ?>
        </div>
        <?php the_title(); ?>
        <?php the_content(); ?>
    </div> <!-- #content -->

    As I said its not pretty, but it did work for me.

    infected

    (@infected)

    Hi!

    Thanks for your reply but it isnĀ“t useful for me. Any other ideas?

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘[Plugin: Sharedaddy] Adding this manually’ is closed to new replies.