WordPress.org

Ready to get started?Download WordPress

Forums

How to add a Facebook Fan-button (3 posts)

  1. Pearlshanti
    Member
    Posted 4 years ago #

    We have a Facebook fan-page, and we have tried to add the fan-button to our WP blog.
    WE tried to put the code in the widgets, text first and then tag-clouds, but it did not work.
    How can we do that ?

    Pearl Shanti and Andiran

  2. WebStyley
    Member
    Posted 4 years ago #

    Try this in a text widget:

    a title="Visit Us on Facebook" href="url of facebook fan page here">
    <img style="border: 0pt none;" src="url of facebook image/icon here" border="0" alt="Visit Us on Facebook" width="60" height="60" /></a

    place an < in front of the first a and an > after the last a.

    < a and / a > (no spaces)

    hope this works!

    http://www.webstyley.com check out my site for an example

  3. WebStyley
    Member
    Posted 4 years ago #

    <a title="Visit Us On Facebook" href="url of facebook fan page here" target="_blank">
    <img style="border: 0pt none;" src="url of facebook image/icon here" border="0" alt="Visit WebStyley on Facebook" width="60" height="60" /></a>

    I have been wanting to update this post with the actual code. When I first answered I didn't put it in correctly.

    so here you go everyone

    an example can still be found at http://www.webstyley.com

Topic Closed

This topic has been closed to new replies.

About this Topic