• I’m using v5.13 and the sociable_html() function doesn’t work like it used to in previous non WP 3.0 versions.

    I did a search through all the plugin’s code and can’t find the function anywhere – has it been removed/renamed?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter joesmalley

    (@joesmalley)

    I took a further look into the code, seems it’s been changed to use classes. I fixed by changing this:

    <?php if(function_exists('sociable_html')) echo sociable_html(); ?>

    to:

    <?php if(method_exists($sociable,'get_links')) echo $sociable->get_links(); ?>

    This should be documented somewhere.

    Where was this that you changed these?

    Thread Starter joesmalley

    (@joesmalley)

    In my WP template where I wanted the sociable links to appear (this method allows you to specify the exact position, not just the default end of post)

    Thanks so much joesmalley!

    Hi, quick question, is $sociable defined globally somewhere or you define it yourself and if yes how, because i’m getting an undefined variable error

    EDIT: nevermind i just tried the sociable_html() function and it works on the latest wordpress version

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘sociable_html() function no longer in Sociable for WordPress 3.0 ?’ is closed to new replies.