Hello everybody,
I am new to wordpress and I am getting despeate! :)
I'am trying to add a new page to my website, which displays user information based on currently logged in user. Like the author page which has an additional parameter I want to display the user information on a separate page like domain.com/profile without a specific parameter and displaying several information given on the specific profile.
I wanted to store this in a a several profile.php beside the author.php leaving the author.php as it is. domain.com/author/name is accessible, domain.com/profile delivers a 404 error message.
Where/how do I route this page?
Also the link to this page shall only be displayed if a user is currently logged in. How do I add this link to the main navigation if currently user is logged in?
Hoping that anybody could help me with that.
Thank you very moch for your help in advance ;)
Best regards,
Johann