Created
August 26, 2015 22:16
-
-
Save alessandrotesoro/8bd4286306d21a094a1d to your computer and use it in GitHub Desktop.
WPUM Get user profile page by author ID
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$user = get_user_by( 'id', get_the_author_meta( 'ID' ) ); | |
?> | |
<a href="<?php echo wpum_get_user_profile_url( $user ); ?>">Custom Text Here</a> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment