I created a custom Wordpress page and would like user profile information to be displayed in divs on the page.
For example: A user's profile photo would automatically populate in a div called user-photo, a user biography would automatically be populated in a div called Background, etc.
So, I already have the page structure created. I just need help on how to have certain user information populate in certain divs.
I appreciate any help with this issue. Thanks.
You already have answer to this question. For example here - link. Generally, you must work with functions, that allows you to get user data, for example get_userdata()
- codex