Support » Plugins and Hacks » Wishes for future updates sidebar login

Wishes for future updates sidebar login

  • 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.


Viewing 1 replies (of 1 total)
  • 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.

Viewing 1 replies (of 1 total)
  • The topic ‘Wishes for future updates sidebar login’ is closed to new replies.