Get user id for profile page, not logged in user
Using buddypress a lot recently and loving it!
Quick question, I’m trying to pull the user id on the profile page and not the logged in user id
I’m making an upload form on the profile page where logged in users can upload images and post urls ti vimeo etc, have made a form mapped to a custom post type etc
Would like to create some code to pull posts of that custom type related to that user, on their profile page. So when viewing profile pages, when logged in or out, it dynamically pulls the posts of that type for the user related to the profile page being viewed and displays accordingly
Any help greatly appreciated!
- The topic ‘Get user id for profile page, not logged in user’ is closed to new replies.