WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. limbus.at
    Member
    Posted 1 year 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.
    Cheers!

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

  2. nextendweb
    Member
    Plugin Author

    Posted 1 year 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
    Member
    Posted 1 year ago #

    Thank you! Very easy to use.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic