Profile Redirección
-
I have been reading this question
https://wordpress.org/support/topic/set-wpum-profile-page-as-default-author-page/
wich Alessandro provides this code
function wpum_replace_author_link( $link, $author_id, $author_nicename ) { $user = get_user_by( 'id', $author_id ); $profile_url = wpum_get_profile_url( $user ); return $profile_url; } add_filter( 'author_link', 'wpum_replace_author_link', 10, 3 );
the question in some way refers to my question asked days ago
https://wordpress.org/support/topic/set-author-page-as-default-profile/My Question?
is it posible to do a funtion to do the opposite…I mean
Instead of redirecting the author.php to wpum profile_url … create a function redirect the wpum profile_url to the url author.php.Thanks
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Profile Redirección’ is closed to new replies.