Title: [Plugin: Simple Facebook Connect] Login shortcode
Last modified: August 20, 2016

---

# [Plugin: Simple Facebook Connect] Login shortcode

 *  Resolved [SK](https://wordpress.org/support/users/sooskriszta/)
 * (@sooskriszta)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/)
 * Is there a shortcode for the login button?
 * [http://wordpress.org/extend/plugins/simple-facebook-connect/](http://wordpress.org/extend/plugins/simple-facebook-connect/)

Viewing 15 replies - 1 through 15 (of 15 total)

 *  [Eric Andrew Lewis](https://wordpress.org/support/users/ericlewis/)
 * (@ericlewis)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2604783)
 * No, there is not. The plugin is not very modular in this way, and will require
   tinkering to move the login form anywhere else.
 * It would be nice to have a shortcode or function call option though.
 *  [mario.rexin](https://wordpress.org/support/users/mariorexin/)
 * (@mariorexin)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2604990)
 * I am just at the same point, integrating the login button inside my own login
   layer. Can anyone tell what´s the best way to integrate the fb login button inside
   my layer?
 *  [Eric Andrew Lewis](https://wordpress.org/support/users/ericlewis/)
 * (@ericlewis)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2604991)
 * [@mario](https://wordpress.org/support/users/mario/).rexin – this plugin is designed
   with limited capabilities in mind – hence the “Simple” in the name. If you’re
   looking to put the login button elsewhere, check out [WP-FB-AutoConnect](http://wordpress.org/extend/plugins/wp-fb-autoconnect/),
   which has a simple function call you can put anywhere in your templates.
 *  Thread Starter [SK](https://wordpress.org/support/users/sooskriszta/)
 * (@sooskriszta)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2604992)
 * The name of this plugin is actually quite misleading 🙂 The plugin is quite powerful
   and feature-rich. There are just a few more additions that I would like to see
   in it…
 * Thanks for the link to FB Auto Connect, ericlewis
 *  [mario.rexin](https://wordpress.org/support/users/mariorexin/)
 * (@mariorexin)
 * [14 years, 3 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2604993)
 * Thanks, even it´s not what I expected 🙂
 * So, I will try a mix up of both plugins as I wanted the features of Simple Facebook
   Connect and the simpleness of the FB-AutoConnect button integration.
 *  Thread Starter [SK](https://wordpress.org/support/users/sooskriszta/)
 * (@sooskriszta)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605023)
 * Otto, if I put the following code (copied from Firebug on WP login page) in a
   text widget, do you think it will create a functional FB login button?
 *     ```
       <fb:login-button onlogin="window.location.reload();" scope="email,user_website" v="2">
       <a class="fb_button fb_button_medium">
       <span class="fb_button_text">Bejelentkezés</span>
       </a>
       </fb:login-button>
       ```
   
 *  Thread Starter [SK](https://wordpress.org/support/users/sooskriszta/)
 * (@sooskriszta)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605024)
 * I gathered some courage and tried it.
 * This is what I get: [login button screenshot](http://i.imgur.com/qlHcj.jpg)
 * Basically, I get 2 buttons – the one on left (marked by red circle in above screenshot
   for clarity) shows only partly. And then there is a full, proper login button
   with Login written on it (in Hungarian language in my screenshot).
 * The partially showing button seems to work as intended. The full, proper button
   seems to be linked but clicking on it doesn’t do anything…
 *  Thread Starter [SK](https://wordpress.org/support/users/sooskriszta/)
 * (@sooskriszta)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605025)
 * Firebug tells me that the code being output is
 *     ```
       <fb:login-button v="2" scope="email,user_website" onlogin="window.location.reload();">
       <a class="fb_button fb_button_medium">
       <span class="fb_button_text"></span>
       </a>
       <a class="fb_button fb_button_medium">
       <span class="fb_button_text">Bejelentkezés</span>
       </a>
       </fb:login-button>
       ```
   
 * Notice the repetition of the fb_button fb_button_medium class, first without 
   button text and then with…
 *  Thread Starter [SK](https://wordpress.org/support/users/sooskriszta/)
 * (@sooskriszta)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605026)
 * So I removed
    `<a class="fb_button fb_button_medium"><span class="fb_button_text"
   >Bejelentkezés</span></a>` from the code I had put in the text widget, and seems
   that with `<fb:login-button onlogin="window.location.reload();" scope="email,
   user_website" v="2"></fb:login-button>` it is generating a good button.
 *  Thread Starter [SK](https://wordpress.org/support/users/sooskriszta/)
 * (@sooskriszta)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605064)
 * Otto! Any plans to provide a login shortcode?
 *  Plugin Author [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605066)
 * No, not going to happen.
 *  [Gabriel](https://wordpress.org/support/users/gabriel78h/)
 * (@gabriel78h)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605069)
 * OC2PS, so that code is creating a functional Facebook login button? I haven’t
   tried it yet. If so, you should be able to generate your own shortcode using 
   the “ShortCodes UI” plugin. Let me know if this works if you try it out before
   I get to it, thanks.
 *  [simo_namaqua](https://wordpress.org/support/users/simo_namaqua/)
 * (@simo_namaqua)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605072)
 * Hi there,
    i’m a newbe and i’ve done a bit of research before deciding to contact
   you. Sorry if this topic has been already posted and discussed somewhere else.
   I’m using Simple Facebook Plugin plugin inside [Themify’s Pinboard Theme](http://www.themify.me/themes/pinboard).
   I’ve successfully installed and set it with my app ID and Secret but when i try
   to connect into my wp-login.php page it opens the pop-up and closes it right 
   after. Here’s the [link](http://cambia.la/wp-login.php) so you can see what i
   mean. Do you think is a theme problem? And if so, could you be so kind to tell
   me if there’s a solution in order to dodge this kind of conflict? Many thanks
   in advanced!
 *  [Eric Andrew Lewis](https://wordpress.org/support/users/ericlewis/)
 * (@ericlewis)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605073)
 * [@simo_namaqua](https://wordpress.org/support/users/simo_namaqua/)
 * This is an unrelated discussion to the topic. Please open up a new support topic
   to ask your question.
 *  [simo_namaqua](https://wordpress.org/support/users/simo_namaqua/)
 * (@simo_namaqua)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605074)
 * [@eric](https://wordpress.org/support/users/eric/) Andrew Lewis
 * Thanks for the reply!

Viewing 15 replies - 1 through 15 (of 15 total)

The topic ‘[Plugin: Simple Facebook Connect] Login shortcode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/simple-facebook-connect_a9b9c1.svg)
 * [Simple Facebook Connect](https://wordpress.org/plugins/simple-facebook-connect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-facebook-connect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-facebook-connect/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-facebook-connect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-facebook-connect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-facebook-connect/reviews/)

 * 15 replies
 * 6 participants
 * Last reply from: [simo_namaqua](https://wordpress.org/support/users/simo_namaqua/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-simple-facebook-connect-login-shortcode/#post-2605074)
 * Status: resolved