This topic has 12 replies, 3 voices, and was last updated 7 years by Radu.

  • Author
  • #155171
     Elijeh
    Participant

    For extra security, I have set my login up to accept only email addresses from users. I would like to change the text on the login modal to reflect that users need to input their email addresses and not usernames.

    Attachments:
    You must be logged in to view attached files.
    #155274
     Laura
    Moderator

    Hello, have you tried to use Loco Translate plugin to edit that string?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #155301
     Elijeh
    Participant

    No I haven’t. I don’t know how to do that, so if you can walk me through it, that would be great.

    #155436
     Laura
    Moderator

    Theme strings and plugins strings can easily be changed by using Loco Translate plugin https://wordpress.org/plugins/loco-translate/
    <h3>A small introduction on how translations work</h3>
    Translatable strings can come from the theme or from the installed plugins. You need to translate the theme or the plugin depending on what section of the site your string is found.

    For example if your string is on your BuddyPress profile then most probably you will need to translate BuddyPress plugin. If you are on the Forums section of your site then bbPress plugin should be the one that needs to be translated. Another example is the rtMedia plugin that adds the Media links to BuddyPress and if you want to translate it then this plugin will contain the string.
    <h3>Follow these steps to get you started:</h3>

    • Install Loco Translate plugin
    • Go to the plugin dashboard: WP Admin – Tools – Manage translations
    • Find the theme or plugin in the list.
    • If the language isn’t already in the list then click Add new language, choose your language and if you are asked where you want to save the language files choose global language directory ( wp-content/languages/ ).
    • Press SYNC button to synchronise your translation with the provided .pot file
    • Search for the string you want to translate and add your translated string.
    • Press Save when you finished your translation.

    Note: You will have to set the language for your blog from WP-admin – Settings – General – Site Language – Choose your language

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #155836
     Elijeh
    Participant

    Thank you

    #155846
     Elijeh
    Participant

    I’ve now discovered another problem. When I translated the word “Username” to “Email Address”, it changed it on the login modal, but also changed it on the “Create Account/Registration” form. I need new users to choose a username when they create their account/register, but once they are registered users, want them to use their email address (not username) when they log in. How do I change the text on the login modal without changing it on the registration form?

    #156055
     Laura
    Moderator

    Hello, at Users > Profile fields, you can change the name field to say Username so they put it there 🙂

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #156099
     Elijeh
    Participant

    I have attached a jpg of the three forms that are affected. As you can see, I need username, email address and password entered on the “create an account” pages. After a user has created an account, I need the “sign in” form to read “email address” in the field where it currently says “username”. (I am requiring email addresses to log in and when it says “username” it is confusing and also doesn’t accept the username to log in.)

    I translated the word “Username” to “Email Address” using the Loco Translate plugin but although it changed “username” to “email address” on the sign-in form, it also changed it on the “Create Account/Registration” form so there were two “email address” fields and no “username” field on the create account form.

    If I change the profile field so it says “email address”, then I won’t have a field for “username”, which I still require on the registration form.

    This is a big problem and I will lose users because they think they can’t sign-in after creating an account. I really hope there’s a way for me to change “username” to “email address” on the sign-in form but NOT on the create account forms. Please help with this.

    Thanks.

    Attachments:
    You must be logged in to view attached files.
    #156291
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #156318
     Elijeh
    Participant

    Thank you.

    #156369
     Radu
    Moderator

    Hi,

    Using FTP connect to your website and navigate to wp-content/themes/sweetdate-child/ create folder page-parts (wp-content/themes/sweetdate-child/page-parts) create a file named general-login-modal.php

    In that you will paste this content: http://pastebin.com/raw/SQ6uqNbD

    that’s all

    Make sure to have child theme installed and activated

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #156385
     Elijeh
    Participant

    Yay, it worked! Thank you SO much, it’s exactly what I needed.

    #156390
     Radu
    Moderator

    Great
    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?