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

    (@chambrot)

    I am having the same issue, please let me know if you find a work around.

    Thanks

    As I mentioned in another post, you can place the code anywhere you want on the page via the template tag.

    Just add this code to where you want the icons to appear:

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

    Just make sure that the “Do you want to automatically use Sociable on the locations specified?” is unchecked in the Sociable admin.

    Or, when you do that, is the proper URL to the post not showing up within the Sociable icons due to it being out of the loop?

    Plugin Contributor sociable

    (@sociable)

    hi!

    this is a great solution to place the sociable in a custom location

    Ummm….this doesn’t work. You can’t put .php code on a page. You know, most of the people use your plugin for ease of use and not to have to keep toying around with the code.

    You should have hook locations built into the plugin so that it easy to move around. Just saying.

    The code is meant to be placed within a template file, not within a page or post. If you want it to show at the bottom of the post or page, it should look something like this (whether in page.php or single.php):

    <div class="post">
        <?php the_content(); ?>
     </div>
    
    <br />
    
    <?php if (function_exists('sociable_html')) {echo sociable_html(); } ?>

    BTW, you can use the ExecPHP plugin if you need to execute PHP code within a page or post.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Sociable Position’ is closed to new replies.