Template tag to show FB-Connect?

Can I use a custom template tag to show FB-Connect on my wp-signup page for example? I don't like how it paginate when I use the automatic way to add the FB-Connect to my signup-page so instead I would like to add the code into the theme file.

Thanks in advance!

  • Arun Basil Lal
    • New Recruit

    Hey there,

    Welcome to the Community!

    We have this shortcode:

    [wdfb_connect]

    You can use this on the template using the do_shortcode function, like this:

    <?php echo do_shortcode('[wdfb_connect]'); ?>

    There is an optional parameter that you can set for the avatar size:

    [wdfb_connect avatar_size="98"]

    - will create a Facebook Connect button. Once logged in with Facebook, the displayed avatar will be 98px large.

    Good luck!

  • Footballfansnetwork
    • New Recruit

    Thanks, the reason I want to use the shortcode is because I don't like the placement of the Facebook Connect Register button that is being generated by the Ultimate Facebook Plugin. So instead I want to place my own code in the ust-wp-signup.php (Using AntiSplog). But when I'm using your shortcode above I'm now having two different FB-Connect options. How can I remove the default one and only using the shortcode?

    //Daniel

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.