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



    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.




    Best regards,
    Shufflehound team


    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';

    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.

    You must be logged in to view attached files.


    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)