• Hello, like a few people here, the nested share button doesn’t work even though I’m using it correctly. However, that’s not my #1 issue here.

    But a bigger deal to me is that I have a signature at the end of each of my posts, and the ShareDaddy feature is cutting in BEFORE the signature image.

    This is how my single.php page looks:

    <?php the_content('Weiterlesen &raquo;');?>
    <img class="noBorder" src="/images/sig.png"/>

    How do I edit the plugin so that it cuts in AFTER my sig line?

Viewing 3 replies - 1 through 3 (of 3 total)
  • somethingelse

    (@somethingelse)

    yes, i have a similar issue – sharedaddy appears to insert itself at the end of my excerpts – i cannot find any tag or hook for it anywhere…

    the bit of code looks like this:
    <?php the_excerpt(); ?><p class="continue"><?php printf('<a href="%s">', get_permalink()); _e('Continue reading about ', 'amazinggrace'); the_title(); ?></a></p>
    and somehow sharedaddy show up after the excerpt and before the continue link…

    HELP. I’ve looked EVERYWHERE. Totally stumped.

    Plugin Author John Godley

    (@johnny5)

    Mark, with the code example you have, you can’t. You should insert your signature using an action for the_content, then you will be able to control the order. As it is, your signature will always come after Sharedaddy (and any other plugins).

    Somethingelse, the same issue is affecting you. Sharedaddy hooks into the_excerpt to display it’s content. Your theme has stuff after the_excerpt, and there is no way that Sharedaddy can do anything about this.

    You can manually display the Sharedaddy buttons using:

    <?php echo sharing_display(); ?>

    With this you can make the buttons appear after whatever special content your theme uses.

    somethingelse

    (@somethingelse)

    thanks John… I actually tried that <?php echo sharing_display(); ?> as i’d found it in a previous post, but couldn’t make it work. Likely due to my lack of programming experience… so i’ll try again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Sharedaddy] ShareDaddy is appearing BEFORE my sig and Nested Share doesn't work.’ is closed to new replies.