I just started learning WordPress and in my current project I want to change WordPress default:

Log In

Text to:

Welcom To Monastery

Any ideas or suggestions?


Glad to hear that you got interested in Wordpress.

Documentation for customizing the Login Form:

And because you want to add custom text I would recommend you create a custom Login form.

Documentation for creating a custom Login form.

  • No probs. If you need any help, let me know. If you found my answer helpful please mark it as "Accepted".
    – Laniakea
    Aug 25 '13 at 11:52

You can use following code:

    add_action('login_form', 'wpse17709_login_form');
    function wpse17709_login_form()
      add_filter('gettext', 'wpse17709_gettext', 10, 2);

    function wpse17709_gettext($translation, $text)
      if ('Log In' == $text) {
        return 'Welcom To Monastery';
      return $translation;
function my_login_logo_url_title() {
   return 'Welcom To Monastery';}
add_filter( 'login_headertitle', 'my_login_logo_url_title' );

Change login name threw apply this code in functions.php in your wordpress.

  • Please don't just add CODE as an answer, add some text to explain what the CODE does. This way it's easier for the beginners to understand what it's for and also the post can be easily found from searching.
    – Fayaz
    Mar 18 '17 at 11:08
  • Sorry for that i am new at stackoverflow.com that's why i will be careful for next posts Mar 18 '17 at 11:15
  • That's OK, we all start from somewhere. What's important is that we learn in the process. Welcome to WPSE.
    – Fayaz
    Mar 18 '17 at 11:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.