• andy-hawkins

    (@andy-hawkins)


    I have installed Sociable and played around with it for a while. I’ve found out that this wonderful plug-in meet my needs. I have only one major problem in which I have spend a lot of hours to resolve. Unfortunately I could not find any solution. Maybe this is the right place to ask some experts 🙂

    Problem: I want to have The Sociable to appear only on single posts in my blog. That is no problem. But the real challenge is to decide where it should be placed on the page. I want it to appear just below the post meta where I have my tags but it always appear above. I have reviewed all the details under the settings for the plugin but can’t figure it out. I have played around with these two codes from the developer’s Web site hoping to find a solution:

    <?php if (function_exists('sociable_html')) {
        echo sociable_html();
    } ?>
    <?php if (function_exists('sociable_html')) {
        echo sociable_html(Array("Reddit", "del.icio.us"));
    } ?>

    I tried them on Single.php (In which I guess must be the template for single posts), but without the expected results. It shows up, but its appear twice. How can I get rid of that?

    Here is a single post on my blog:
    Sir Alex Ferguson to step down/

    If anyone can see what mistakes I may have done, I’ll appreciate if I can get a solution with some short recipe.

    Thanks in advance!

    Andy

Viewing 2 replies - 1 through 2 (of 2 total)
  • heidipj

    (@heidipj)

    Actually I have a similar problem… The sociable icons appear at the bottom of the page/post as expected but also in a widgetised area specifically the Gravity forms mail chimp widget! When I remove the mail chimp widget the second lot of icons disappear… If anyone has thoughts – it would also be appreciated. In the meantime I have just hidden the rouge ones with css.

    @andy, I was having the same issue. The way I solved it was this: leave the sociable code in your single.php template. Then in the Sociable Options admin page, uncheck the “Individual blog posts” checkbox under the Position center. Now the Sociable markup will only appear once and exactly where you echo it out in the template.

    Hope that helps!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Sociable show up twice in my single post page. Help!!!’ is closed to new replies.