WordPress.org

Ready to get started?Download WordPress

Forums

Really simple Facebook Twitter share buttons
[resolved] Manual buttons inserting. (5 posts)

  1. simonn
    Member
    Posted 1 year ago #

    Hi,
    I have an issue using PHP function to insert buttons to my theme.
    I've unchecked all boxes in plugins settings "Show buttons in these pages".
    Than I was trying to insert this code to my themes single page:

    <?php really_simple_share_publish($link='', $title=''); ?>

    and than this one:

    <?php really_simple_share_publish($link='the_permalink()', $title='get_the_title()'); ?>

    but nothing showed up.

    Can you help me and show me full code, please?

    http://wordpress.org/extend/plugins/really-simple-facebook-twitter-share-buttons/

  2. whiletrue
    Member
    Plugin Author

    Posted 1 year ago #

    Hi simonn,
    have you checked at least one share button in the setting page?

  3. simonn
    Member
    Posted 1 year ago #

    Yes, I did.

  4. simonn
    Member
    Posted 1 year ago #

    So it's impossible to fix this problem? :/

  5. whiletrue
    Member
    Plugin Author

    Posted 1 year ago #

    Hi all,
    the issue is solved easily adding an echo in your code:
    <?php echo really_simple_share_publish($link='', $title=''); ?>
    You can also use this code when outside the loop:
    <?php echo really_simple_share_publish(the_permalink(), get_the_title()); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic