I want to make 2 different types of WordPress author profile. One is written in English and another is written in Japanese. To do this, I add a custom user field. For example, 'biography' for the English version and '経歴' for the Japanese version.
At admin > user panel, each author can register their info in both languages, then in the English version author page I display get_the_author_meta( 'biography_en', $userID );
, and in the Japanese version author page I display get_the_author_meta( 'biography_ja', $userID );
.
How could I connect a URL and 2 author page?
Currently, I display {root URL}/author/{username}
for the English version. I want to display the Japanese version as {root URL}/author/{username}/ja
.
Is it possible?