WordPress.org

Ready to get started?Download WordPress

Forums

Simple Facebook Connect
[resolved] Show Fan box without widget (5 posts)

  1. spabav
    Member
    Posted 2 years ago #

    Is there any code I can use in my template or post , to display the fan box , without using the widget system?

    Thanks for any help in advance.

    http://wordpress.org/extend/plugins/simple-facebook-connect/

  2. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    In a theme: sfc_fanbox();.

    In a post, use the [fb-fanbox] shortcode.

    The widgets module must be enabled for it to work.

  3. spabav
    Member
    Posted 2 years ago #

    Excellent Otto, Thanks for your superfast reply.

    I used the [fb-fanbox] in the post and it works perfect.

    Are there any parameters I can pass with it to change width, number of faces shown etc?

    I tried something like

    [fb-fanbox 'width'=>450]

    but that did not work?

  4. Samuel Wood (Otto)
    Tech Ninja
    Plugin Author

    Posted 2 years ago #

    Don't use too much punctuation now...

    [fb-fanbox width=450]

  5. spabav
    Member
    Posted 2 years ago #

    Otto,
    Thanks a lot. Again - superfast reply.
    Excellent.

    Works like a charm.

    Thanks again.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic