Link to and Show Author Profiles

Support MB User Profile Link to and Show Author ProfilesResolved

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #23700
    Rebecca RobertsonRebecca Robertson
    Participant

    Another dumb question.

    How would I link to the author's profile page from the frontend user list?

    Basically I need two links for each author:
    1 link to their edit profile page that only the admin can see.
    1 link to their actual profile page that any logged in user can view see from their own account page.

    The second would pretty much be the same as the author profile link that readers can click on from a post. The only difference is that there will be more information on it for internal use than you would want a general visitor to have access to.

    #23701
    Rebecca RobertsonRebecca Robertson
    Participant

    Sorry about this, but before I forget. I've created the login page, but how do I do the logout link?

    #23704
    Long NguyenLong Nguyen
    Moderator

    Hi Becky,

    This article would help you to create the My Account page for the logged-in user with the shortcode [mb_user_profile_info] https://metabox.io/p1-add-guest-author-in-wordpress/.

    You can also create a logout button with the function wp_logout_url(). See more in the documentation https://developer.wordpress.org/reference/functions/wp_logout_url/.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.