Really Simple Share
[resolved] Manual buttons inserting. (5 posts)

  1. simonn
    Posted 3 years ago #

    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?


  2. whiletrue
    Posted 3 years ago #

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

  3. simonn
    Posted 3 years ago #

    Yes, I did.

  4. simonn
    Posted 3 years ago #

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

  5. whiletrue
    Posted 3 years 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

  • Really Simple Share
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic