Login button translation

Home Forums Gillion Theme Login button translation

Home Forums Gillion Theme Login button translation

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
  • ceriza
    Participant

    Hello.

     

    I need to translate the Login/Logout button in the top bar. I’ve managed to track down the elements inside it (login/register) but this one …I can’t find.

    Please advise.

    Thank you!

    Hi @ceriza,

     

    I hope you are well today and thank you for your question.

     

    You can translate them either by translating theme or by using following plugin change it.

     

    https://wordpress.org/plugins/real-time-find-and-replace/

     

    Best regards,
    Shufflehound team

    ceriza
    Participant

    I’ve tried translating it with po file and also with WPML but I just can’t find this word. Can you tell me where it is located?

    Solution for this topic

    I could confirm the issue on my test site that the buttons text are not translation ready therefore notified the theme developer about this so that it will be fixed.

     

    The issue will be fixed ASAP.

     

    In the meanwhile you can try resolving the issue by changing the text in the following code and then adding that code in the functions.php file of Gillion child theme.

     

    function gillion_header_login( $elements ) {
    	if( isset($elements['login']) && $elements['login'] == true ) :
    
    		if( !is_user_logged_in() ) :
    			return 'Login';
    		else :
    			return 'Logout';
    		endif;
    
    	endif;
    }

    Solution for this topic

    Please ignore the code shared above as it is not posted correctly, instead use the code shared in the attached file.

    Attachments:
    You must be logged in to view attached files.

    ceriza
    Participant

    Thank you. That solved it.

    You are most welcome here 🙂

    The issue is fixed in the following latest version of theme so please update your theme to the latest version.


    Please login to access this file

Viewing 8 posts - 1 through 8 (of 8 total)

Popular choice

Professional Developers At Your Fingertips!

If you need services beyond standard support, we've got your back!

Services we offer:

Demo setup
Advanced customization
Layout adjustment
Graphic work / visualizations
Custom coding
Full WordPress development and design

Services

What we can offer

  • Demo setup +

    If you'd prefer not to handle the installation yourself or need help getting started, we'll set everything up for you.

  • Layout adjustment +

    We'll help you rearrange sections, adjust spacing, and modify the page structure to fit your needs.

  • Advanced customization +

    More complex styling changes, theme option modifications, and third-party integrations.

  • Custom coding +

    If you need something that's not included in the theme, we can code it for you.

  • Graphic work / visualizations +

    Web design services to create custom sections, pages, and blocks for your theme, plus graphics and visualizations.

  • Full WordPress development and design +

    Full website builds, custom theme development, or plugin creation from scratch.

  • About pricing +

    We'll provide a clear quote based on what you need. No hidden fees.

Professional Developers At Your Fingertips!

Custom Work Form