WordPress.org

Ready to get started?Download WordPress

Forums

How to add "like us on Facebook" button/link (9 posts)

  1. mpallen13
    Member
    Posted 1 year ago #

    I've been looking through the plugins, trying to find one that will help me add a like us on facebook button to my sidebar.
    I can't seem to find one.
    Anyone know of an easy plugin, or way to add it?

  2. chrismccorkle
    Member
    Posted 1 year ago #

    Check out this page by Facebook. Configure the button, then paste the code into a new text widget.

  3. mpallen13
    Member
    Posted 1 year ago #

    I tried putting my website in the url spot, but it keeps saying:
    The href entered is not recognized as a valid URL.

    I must be doing something wrong?

  4. mpallen13
    Member
    Posted 1 year ago #

    I guess I was supposed to leave it blank.
    Is there a way to link that up so that it likes my website's facebook page, or just the option to like the website?

  5. chrismccorkle
    Member
    Posted 1 year ago #

    Are you copy/pasting the text from both boxes?

    <div id="fb-root"></div>
    <script>(function(d, s, id) {
      var js, fjs = d.getElementsByTagName(s)[0];
      if (d.getElementById(id)) return;
      js = d.createElement(s); js.id = id;
      js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=179455875462435";
      fjs.parentNode.insertBefore(js, fjs);
    }(document, 'script', 'facebook-jssdk'));</script>
    
    <div class="fb-like" data-send="false" data-width="450" data-show-faces="false"></div>
  6. mpallen13
    Member
    Posted 1 year ago #

    I finally figured it out.
    Thanks so much for your help.

    I put the full http://www.facebook.com/photosfromyourcar in the url spot, then I only copied the second part of the code.
    For some reason when I pasted both of the texts in the box, it made it like the latest post instead of the facebook page.

  7. chrismccorkle
    Member
    Posted 1 year ago #

    Cheers!

  8. austintenantadvisors
    Member
    Posted 1 year ago #

    For wordpress which plug in code do we choose?
    HTML5
    XFBML
    IFRAME
    URL

  9. austintenantadvisors, It is impolite to interrupt another poster's ongoing thread with a question of your own and it causes significant problems for the forum's volunteers. Especially an 8-month old thread. Please post your own topic.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.