• <?php
    function mymenu(){
    echo '
    <li style="float: right; padding-top: 6px;">
    <iframe src="https://www.facebook.com/plugins/like.php?href=www.yourwebsitename.com&layout=button_count&show_faces=false&width=80&action=like&font=verdana&colorscheme=light&height=20" style="border: medium none; overflow: hidden; width: 80px; height: 21px;" allowtransparency="true" scrolling="no" frameborder="0"></iframe>
    </li>';
    }
    add_action('mystique_navigation', 'mymenu');
    ?>

    This is the code given by many people and it doesn’t work when I putt it in the User CSS area. I then maually put it into the functions.php and it worked, but reverted the background image to default. Any way to add the like button while keeping my uploaded background?

    https://www.steve-perkins.com

  • The topic ‘Add Facebook Like button to mystique nav issue’ is closed to new replies.