Sidebar Login
Wishes for future updates sidebar login (2 posts)

  1. Ineke-Ig
    Posted 3 years ago #

    I just updated to version 2.5.0 . It works great.

    For the future I should like two additional items:

    • the possibility to translate the words username and password in my own language.
    • the option of not showing the remember me checkbox
    • These items improve will the flexibility and internationalisation of the widget in a great way.


  2. zircle
    Posted 3 years ago #

    All of these can be done by editing the plugin manually and should not be very difficult given that the plugin is lightweight and compact.

    Using your editor, navigate to: include\class-side-bar-login-widget.php.
    This workaround is not CLEAN, but it will allow you to revert your changes should you need to without hassle.


    .                       'label_username' 	=> __( 'Username', 'sidebar_login' ),
    		        'label_password' 	=> __( 'Password', 'sidebar_login' ),
    		        'label_remember' 	=> __( 'Remember Me', 'sidebar_login' ),
    		        'label_log_in' 		=> __( 'Login →', 'sidebar_login' ),
    		        'remember' 		=> true,
    		        'value_remember' 	=> true
    		    ) );


    .                       'label_username' 	=> __( 'USERNAME_TRANSLATOIN', 'sidebar_login' ),
    		        'label_password' 	=> __( 'PASSWORD TRANSLATION', 'sidebar_login' ),
    		        'label_remember' 	=> __( '', 'sidebar_login' ),
    		        'label_log_in' 		=> __( 'Login →', 'sidebar_login' ),
    		        'remember' 		=> false,
    		        'value_remember' 	=> false
    		    ) );

    As you can see, you will change the 'Username' and 'Password' label as well as hiding the 'Remember Me'. You can go as far as actually removing the label if you wish, but that is slightly more tricky.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Sidebar Login
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic