• What is the point of the user profile? there are no pages that display the info unless it is set in the theme. Is there anyway to make it so when you see a post/comment and when you click on the author of it it goes to a page that displays their website and if possible an avatar or something???

    Max

Viewing 8 replies - 16 through 23 (of 23 total)
  • Thread Starter maxweisel

    (@maxweisel)

    ok explain you last post in more detail I don’t get that at all.

    Max

    Thread Starter maxweisel

    (@maxweisel)

    I don’t understant exactly what I am supposed to do

    Max

    Thread Starter maxweisel

    (@maxweisel)

    I just installed word press today I have no idea what any of this is just explain it all the links do nothing.

    Max

    PLEASE STOP DOUBLE-TRIPLE-QUAD POSTING(S)! And read the material the people posted..not everyone can spoon feed people with answers and give the exact answers you want!

    PLEASE READ the stuff that was given to you, by the orignal couple of repliers.. the answers are given at the locations they gave..learning this on your own, is a good thing to do.. =) As most of us here have done. ??

    I think this is one of those times where the O.P. wants the answers handed to them on a silver platter and are not into reading for the answers themselves.. sigh.

    spencerp

    This is volunteer support, not paid support. If everyone made a percentage of pay, just from a support reply..I don’t think you’d have a problem getting spoon fed help then..but sigh, that’s just not the case LoL!!

    Max, basically what I can tell you is what you want to do can be done (and there are at least a few ways to do it), but maybe not in the way you appear to want it.

    You asked what point there is to user profiles. Well, in a way it’s latent information in WordPress. It’s there if the site admin decides to make use of it—and that revolves around how one would want to put it to use, where to display it, how much and what to display, and so on. Yes it ties into ones theme, and that is because it is the central mechanism in how WordPress organizes and presents content.

    You also asked “[i]s there anyway to make it so when you see a post/comment and when you click on the author of it it goes to a page that displays their website and if possible an avatar or something???” This:

    https://codex.www.ads-software.com/Template_Tags/the_author_posts_link

    is the template tag which provides that link from posts. There is no corresponding tag for commenters, but then only *registered* users can have profiles, so it would be considered redundant.

    Now, what does it, as well as its bigger brother, link *to*?

    https://codex.www.ads-software.com/Author_Templates

    That is the Codex document on the author.php template. It is considered a “primary” template for WordPress themes in that if it exists and you perform an author query (such as occurs when clicking the link generated by the_author_posts_link() template tag), it is called. A simple author template would just list that user’s posts (if they exist). The Codex page above describes how you can extend it to display author profile information. From there you can add things like user avatars and the like (though this, since WordPress does not provide an “avatar” field as such, would require some custom coding, or hey maybe even a plugin!).

    Now, have I missed anything? Oh yes, another reply you’ll find up there somewhere from me covers Page templates. It links to a couple I’ve written specifically for displaying *all* authors at once, displaying their various profile details and whatnot. It even sports code for author images or avatars. It’s just another way to go about this in the way WordPress can do it.

    I am able to link to users’ profiles from the sidebar, etc. But I was wondering, can we add a user image (avatar) to their profile pages by altering the author.php?

    Did you read the last 2-3 lines in the post above yours?

    Hi moshu – I did read the replies, the Author_Templates from codex, and https://guff.szub.net/2005/01/31/get-author-profile But I’ve failed to comprehend its (plugin’s) complexity ??

Viewing 8 replies - 16 through 23 (of 23 total)
  • The topic ‘User Profile Pages’ is closed to new replies.