Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Hi,
I´m using userpro_user_profile_url to convert all frontend profile links to specific user pages (Author archive, etc.)
It is working fine in profile links but it is not working in logout panel links (404), it seems to lose the author parameter.
The code used is:
add_filter(‘userpro_user_profile_url’, ‘userpro_author_url’, 99, 2);
function userpro_author_url($link, $user_id) {
return get_author_posts_url( $user_id );
}
how canI fix it?
Thanks in advanced
I´ve this shortcode
[userpro template=register]
Then, when I’m logged in I see the ‘display name’ link and ‘edit profile’ link.
But If i click the ‘display name’ or ‘edit profile’ links I get a 404 page.
‘display name’ or ‘edit profile’ links are linking to domain.com/author/ instead of domain.com/author/authorname
You must be logged in to reply to this topic.