WordPress.org

Ready to get started?Download WordPress

Forums

Sociable
how do you insert the sociable links manually? (4 posts)

  1. Dwenaus
    Member
    Posted 3 years ago #

    the page linked from the plugin says to do this, but it produces an error, because that function does not exist:

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

  2. sociable
    Member
    Plugin Contributor

    Posted 3 years ago #

    Hi, do you have the sociable plugin installed and active? where are you call the function?

  3. Litso
    Member
    Posted 3 years ago #

    If you use Sociable3, use this:

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

  4. orlafitz
    Member
    Posted 3 years ago #

    Hi All,

    I've tried inserting both of these pieces of code into my index.php page as I want to get sociable to move above my adsense plugin but nothing at all happens! I don't understand the code at all so exactly where should I paste that line of code in my Main Index Template:

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

    Thank you so much for your help!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags