Forums

Sociable
Sociable Position (6 posts)

  1. chambrot
    Member
    Posted 6 months ago #

    Hello

    Is there a way to have the Sociable buttons to appear 'after' the post page numbers?

    Can't seem to figure out how to do this.

    Thanks in advance.

    http://wordpress.org/extend/plugins/sociable/

  2. chambrot
    Member
    Posted 5 months ago #

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

    Thanks

  3. NosCoffin
    Member
    Posted 5 months ago #

    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?

  4. sociable
    Member
    Posted 5 months ago #

    hi!

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

  5. iheller
    Member
    Posted 4 months ago #

    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.

  6. NosCoffin
    Member
    Posted 4 months ago #

    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.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags