Use get_userdata() to retrieve all user data. The function accepts user ID. So the following code will give you the user url.
<?php
php $user_info = get_userdata(1); /* replace 1 with dynamic user id variable in your context*/
echo 'User url: ' . $user_info->user_url . "\n";
echo 'Users name: ' . $user_info->first_name . "\n";
?>
Related Posts:
- How to modify the Register link in the login page?
- Redirect after password update
- How to link avatar and nickname to profile
- After logout browser’s back button into twenty sixteen theme profile
- Internal Links that Automatically Update
- How can I disable author pages without 301 redirects?
- All Posts Linking to Author Posts directly
- 301 Redirect /author/username/ to /profile/username/
- How do I share a site only to one User at the time? Please help 🥺🙌
- How to avoid redirect 302 in wordpress to the author pages?
- Author Archive Page redirecting issue
- Changing post depending upon where you’re redirected from?
- how redirect users to custom login page when user comment must “login to reply” is clicked?
- How to manage the links of a new taxonomy
- Link to another website with the same url path
- PHP Mistake – Whats wrong here?
- How can public access to WordPress query (e.g. author=) URLs be redirected?
- How to change Ugly link?
- Redirect Restricted Page to 404
- Redirect user to original url after login?
- Site redirects to wrong url when saving settings
- Redirect blog page to latest post?
- WordPress site redirects to different wordpress domain on the same server after reuploading db backup
- Links to an exisiting Page are now redirecting to a draft page?
- Random and Erroneous WordPress Redirect
- Redirect Old domain & posts to new domain homepage
- add_rewrite_rule to pass entire path as a single parameter
- What is the wordpress way of displaying local external content?
- htaccess redirect dynamic posts
- RedirectMatch and Redirect interfering with each other
- Redirect all pages to homepage but still allow dashboard
- Return to where the user was, after log out
- Change ‘Back To Website’ link in wp-login.php
- How do I map a subdomain in wordpress to the primary domain in a multisite setup?
- htaccess rules not applied?
- Load time cost of using a redirect plugin v direct .htaccess entry
- Intercept the “lost password” action by first redirecting to an existing instructions page
- How to pass email values from one php page to another
- How to include error message on login
- Changing siteurl and homeurl – internal links redirect to home page?
- WooCommerce unexpected behavior [closed]
- Redirecting a buddyboss profile tab to a different tab if not subscribed to a specific membership
- 301 redirection editing .htaccess doesn’t work
- Redirect custom post type from one domain to another domain
- Link Author’s Website in Author Bio
- 301-redirect directives for blogger to wordpress migration
- Stop Redirecting to and from www
- How to pass a message using template_redirect
- Disable WordPress URL auto complete
- Change base URL of pages created by certain users
- Redirect specific URL before other redirects take place in .htaccess?
- Redirect Main Home Page url to category URL without plugin
- W3 Cache redirects to front page when I press purge all caches
- Stop forcing certain paths to end with a forward slash
- Force 404 redirect to home?
- Is it possible to wp_redirect() to a new tab?
- Redirection on Custom page
- How do I redirect users after submitting a topic for moderation?
- Direct iPhone visitors to different stylesheet?
- How to delete a post and keep its slug to refer to another post
- 301 redirect any RSS feed on level up url
- Dynamic 404 page content while still keeping 404 status code?
- Redirect loop with similar URLs
- Why does WP HTTP API switch the method (POST/PURGE) to GET when redirecting (302)?
- 301 redirect via htaccess rules on the new site
- WordPress Domain redirects to different host
- How to show author page link
- How to redirect logged out users to specific page?
- Login redirect shows white page in firefox
- Redirect to post_id?
- Date based redirects of posts that no longer exist
- redirect wordpress post to new subfolder site on same domain
- 301 all old pages to new location
- Re-Direct ALL Users to the Home Page IF not logged in
- Understanding Redirects
- Random redirect to wp-admin/install.php
- How to redirect returning users who previously logged in?
- Why https://www. SUBdomain is redirected by WP to https://MAINdomain
- Page editing in backend redirecting to 404 page not found with url /post.php
- wordpress redirect error in xampp
- Following/Followers Users list Using Ajax Pagination inside Author Profile
- Swapping current old site to new WordPress site – need to check I’m doing it right
- How to redirect a referal url to a signup page?
- Allow GET request on certain page
- .htaccess redirect for old subfolder installation to new subfolder installation and https
- WordPress update 4.4.1 redirect loop
- Redirecting Issue
- Redirect user to login and then to page where they came from
- htaccess and redirect to new url using regex
- How to create a link to a user’s profile page
- redirect attachment page to category page
- 301 redirect for wordpress permarlink
- Google PageSpeed: Avoid landing page redirects?
- Redirect to 404.php from single.php
- Profile Field In Admin Bar
- How to Show different page URL instead of default home page URL
- How to Redirect Url to homepage?
- 404 Not Found with All Cloaking plugins
- Stopping media file redirects
- After migration index page still redirects to old url