• Resolved Panoravu

    (@panoravu)


    1. I installed the plugin and now I see 2 log-in buttons. One for the plugin and the default one. How can I erase the default one?

    2. I want to change the order of the elements shown. In particular, I need the username and password fields next to each other, as it is and below them the “remember me” and “lost your password”. Something like Facebook’s log-in form… I tried changing the css from inline to block, but it didn’t work. How can I do it?

    3. How can I erase the words “username” and “password” from outside the forms and put them inside?

    4. I want my website users to log in with their email instead their username. Is this something I can do via this plugin or should I find the answer elsewhere?

    Waiting for some ideas… ??

    https://www.ads-software.com/extend/plugins/admin-bar-login/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Mustafa Uysal

    (@m_uysl)

    Hi,

    I didn’t understand what you mean “default one”? Is it feature of your current theme?

    How can I erase the words “username” and “password” from outside the forms and put them inside?

    You can erase easily with adding empty label value to login form array.
    Like this

    $form = wp_login_form( array(
    		'form_id' => 'adminloginform',
    		'label_username' => __( '' ),
                    'label_password' => __( '' ),

    But you need to use placeholder attribute for write in the input. You can do this with adding custom javascript to your theme. Check example

    If you want to add “login with email” feature, you can try this plugin.

    I hope this helps.

    Thread Starter Panoravu

    (@panoravu)

    Hello Mustafa!

    Thank you for your answers! Really helpful!!

    As for the first question, the admin bar has already a log-in button by itself. When I installed this plugin, there were two log-in buttons. How can I disable the admin bar’s button and keep only the plugin’s one?

    Plugin Author Mustafa Uysal

    (@m_uysl)

    normally wordpress doesn’t add a login button to your admin bar. Are you using any other plugin?

    Can you try to de-active another plugins?

    Thread Starter Panoravu

    (@panoravu)

    I use buddypress, but I need it… :/

    Perhaps I should deactivate your plugin’s button.. I don’t know. What is better to do?

    Plugin Author Mustafa Uysal

    (@m_uysl)

    Perhaps I should deactivate your plugin’s button.. I don’t know. What is better to do?

    This is your decision. Personally I didn’t try with buddypress yet.(can you add screenshot)

    Maybe you want to disable buddypress admin bar.

    Thread Starter Panoravu

    (@panoravu)

    Thank you Mustafa, once again!

    I’ll look into it, and I’ll decide…

    Plugin Author Mustafa Uysal

    (@m_uysl)

    You’re welcome.

    Thread Starter Panoravu

    (@panoravu)

    Hello Mustafa!

    I just got to try the modifications we discussed above and I want to ask one more thing. Because I’m new to this, would you please explain to me how to put the placeholder attribute in this plugin?

    PS: You never answered my second question…

    Thread Starter Panoravu

    (@panoravu)

    Hey Mustafa…

    I could really use your help on this… ??

    Plugin Author Mustafa Uysal

    (@m_uysl)

    Hi,

    Normally you need to add placeholder attribute to input elements. This plugin using wp_login_form function and haven’t placeholder attribute.

    So, you we need to javascript trick in here. Check this example again.You can add javascript to your theme for do this ??

    Thread Starter Panoravu

    (@panoravu)

    Thank you for your response!

    And what about rearranging the elements of the plugin, as I describe in the second question of my first post?

    Plugin Author Mustafa Uysal

    (@m_uysl)

    You can’t order the elements.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘A few questions about customizing this plugin’ is closed to new replies.