Really Simple Share
[resolved] [Plugin: Really simple Facebook Twitter share buttons] How to place in header? (5 posts)

  1. CaroVonChaos
    Posted 5 years ago #

    So I installed the plugin and now I want to put the buttons in the header, but I struggle to find the right code.


    Yes, you can call the really_simple_share_publish($link='', $title='') PHP function

    doesn't really help me, since I need the full PHP code. When I add this line "really_simple_share_publish($link='', $title='')" into the header it won't work ;(


  2. whiletrue
    Posted 5 years ago #

    Hi CaroVonChaos,
    maybe it's an echo misunderstanding. Please try adding this line:
    echo really_simple_share_publish($link='', $title='');

    Does it work?

  3. CaroVonChaos
    Posted 5 years ago #

    Hey whiletrue,
    When I put this
    echo really_simple_share_publish($link='', $title='');
    into the header, it displays this exact line of text. Not showing the buttons. Nothing. Isn't there anything of this <?php-stuff missing?

    Sorry if my questions seems stupid, but I'm really not good in the whole php-stuff XD

  4. whiletrue
    Posted 5 years ago #

    No problem! Try this:

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

  5. CaroVonChaos
    Posted 5 years ago #

    I tried it, now the buttons show up, but my entire website is ruined. everything is out of place + the plugin shows the twitter button twice O.o
    What am I doin wrong?

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