• I am operating a member website.
    After logging in, we will publish a page displaying logout items.
    However, I can not change it by English notation only for the logout part for some reason.
    I want to change it to Japanese.
    The file which seems to have a part to change is “class-theme-my-login-template.php”.

    public function the_user_links() {
    		echo '<ul class="tml-user-links">';
    		foreach ( (array) self::get_user_links() as $link ) {
    			echo '<li><a href="' . esc_url( $link['url'] ) . '">' . esc_html( $link['title'] ) . '</a></li>' . "\n";
    		}
    		echo '<li><a href="' . wp_logout_url() . '">' . self::get_title( 'logout' ) . '</a></li>' . "\n";
    		echo '</ul>';
    	}

    Changing the part of ‘(‘ logout ‘) in the above will change the target part, but even if you change the letter it will not be what you thought.

    I am Japanese, it is useless English, but I am glad if you can help me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jeff Farthing

    (@jfarthing84)

    If I’m understanding correctly, the page titles are actually pulled from the database (the actual page titles in WP) and not in code. You’ll need to change the actual page title.

    Thread Starter aki1982-wp

    (@aki1982-wp)

    thank you for your answer.
    To change, what file should actually be changed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I want to change the letters.’ is closed to new replies.