I want to make a custom profile page.
So I would set a link from posts page using a simple hook, get the author, then a something like
<a href="www.website.com/profile/<?php the_author(id); ?></a>
But how do I then retrieve this id from url for a profile page?
Get_var? or Get_object?
I would then want to display the users name, address, and other posts (custom post type) by the author.
Thank you