Nextend Facebook Connect
[resolved] How to change position of the buttons? (3 posts)

  1. limbus.at
    Posted 3 years ago #

    First, thanks for this 3 buttons, I really like them, and they are working out of the box perfectly.

    My question is not for solving an error, but how to tweak positions.
    I'd like to change the order within the 3 buttons and also place them below the wordpress login. How can I archive this? I'd bet it's only a small thing but I couldn't find it so far.


  2. Nextendweb
    Plugin Author

    Posted 3 years ago #

    Open the plugins main file, eg nextend-facebook-connect.php

    and search for this lines:

    add_action('login_form', 'new_add_fb_login_form');
    add_action('register_form', 'new_add_fb_login_form');

    change that lines to

    add_action('login_form', 'new_add_fb_login_form', 10);
    add_action('register_form', 'new_add_fb_login_form', 10);

    Where the '10' number is the priority of this buttons. It will help you in the ordering in the buttons.

  3. limbus.at
    Posted 3 years ago #

    Thank you! Very easy to use.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Nextend Facebook Connect
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic