you need to assign $curauth
and since you are not on an author archive but on a regular page you can use get_userdata function and pass the user ID like so:
$curauth = get_userdata(1);
//and then use
echo $curauth->user_url;
or if you are in the loop you can use the_author_link();
which will Displays the author’s Website URL as a link and the text for the link is the author’s Profile Display name publicly as field.
Related Posts:
- How to check if a user (not current user) is logged in?
- Woocommerce: assign an “author” to a product
- Programatically change post author
- Restrict one post per author
- Author page: Comments and Ratings?
- Give Author users the right to embed
- How can I publish a post with two or more authors?
- Add rewrite endpoint to author page + pagination
- What’s a good way to put authors into groups
- What is the difference between user_description and description?
- How we can get the author ID by its Name
- How to hide posts count and posts of other users from edit.php for contributors and authors
- How to get posts without author?
- Creating distinct pages for author profiles and lists of posts by author
- Allow Content Author to Publish, But Not Edit or Delete
- Get only the author profile picture image url inside a loop
- Author profile visitors in last 7 days in front end without plugins
- How To Remove The Author(s) From Certain Posts
- Is it possible to set/override default the_author_posts_link to login name?
- Remove /author/ from the author profile url
- Google Authorship on a multi-author blog?
- Change author base slug to user role
- Display Author role in archive or author page
- How to Add Author Editing Capability to Existing Post by Admin
- get the username of a user in his author page
- Limit REST API output to current logged in user that is also author of the content
- Author list ‘special’ author first then ‘normal’ author
- hide something in single page if current author has only one post
- get_the_author_meta( $field, 0 ) returns the administrator $field
- WP authors page
- Send transactional email: first user’s post
- Show woocommerce products in author archive
- Plugin for an author bio popup box?
- How to link to the current User/Author Profile page?
- How can I get the author description’s excerpt?
- Conditional/Check: IF comment author is the post author
- How to use Buddypress xProfile field as WordPress Bio
- What do you put in child themes author tag?
- Make user as Default contributor for all Blog Posts
- How to list the authors of all revisions?
- Link Author’s Website in Author Bio
- Custom avatar image link added to the profile page
- Post list based on the page author
- How to set post author to custom post field via front-end form?
- Show Author information on post page on dashboard
- Author posts url… way to get display name to be url instead of user’s ID?
- Display emails of users who already posted at least once
- Get author’s first name
- Display only author posts in dashboard all posts panel
- Get avatar of the logged-in user in WordPress
- What does the class look like that is returned from WP_User_Query?
- Breadcrumbs – get the author?
- Display author name, outside the loop, if they haven’t published a custom post
- Is author.php a core file?
- Allow Google crawler to crawl specific Author pages
- Clean links in: the_author_meta(‘description’)
- Add Date and Author to Posts
- Changes show up in view source but not live site
- How to restrict an author scheduling their post date to a maximum X days ahead from the current date
- Different posttypes for different authors
- Create an Author Page on Registration
- author slug in the backend
- Can I Include author login in post class?
- Disable WordPress Comment Author Name
- Get 404 when try open author page
- get the headlines of the authors’ last post
- Detect and make links nofollow in author description
- Working with Gravatars within a localhost development area
- Condition within single.php to send an email to the post author
- Author Page Create Link to Page That Lists All Author’s Posts?
- Unpublish Authors With not Fulfilled Fields
- Display Recent Posts in BuddyPress Profile
- Display All Authors only
- Display Authors avatars when more than one author
- How to reorder the content of the single post?
- Possible to switch between admin view and author view?
- How to show author page link
- Display all authors in a theme template
- Add Post Author body class to WordPress
- Improving Co-Authors Plus Plugin [closed]
- Show Published and Draft posts from Logged in Author
- Best way to set up “reviewed by” in WordPress?
- WHen I click on post author (on frontend) it doesn’t go to author page
- List of all authors avatars
- How to fix a specific page (author archive) loading speed?
- Show text only to the author of the article
- Display Random Post in Author Page
- Show author image at home page latestest posts plugin
- get_author_posts_url() Not working
- Open the_author_link() in a new window
- WordPress author box
- How do you display a comment into a mail?
- Show author name not the author ID
- Author page link in comments is different than in posts?
- Author.php display profile for all types of users
- Author Link Not Displaying
- Change Post and CPT author on the fly while publish the post
- Profile Field In Admin Bar
- Show the most recent post for an author on the author page
- How to force the Author Dropdown to display in Quick/Bulk edit?