Theme page: author.php returns to home instead of other language
-
I am using a theme which allows to show the author info from the users table of the database on a page.
e.g.:
https://www.mypage.de/author/tom-harris/
shows the German page.
And this:
https://www.mypage.de/language/en/author/tom-harris/
shows the English pagetom-harris is the “user-nicename” from the database table “wp_users”
$user->user_nicenameUnfortunately the Link provided by the polylang flag (menu Language Switcher) is redirecting to Home: https://www.mypage.de/ and does not provide the right link to the authors page.
How do I need to modify the code?
Thx
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘Theme page: author.php returns to home instead of other language’ is closed to new replies.