WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. CaroVonChaos
    Member
    Posted 3 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.

    This

    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 ;(

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

  2. whiletrue
    Member
    Plugin Author

    Posted 3 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
    Member
    Posted 3 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
    Member
    Plugin Author

    Posted 3 years ago #

    No problem! Try this:

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

  5. CaroVonChaos
    Member
    Posted 3 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

About this Topic