Skip to:
Content
Pages
Categories
Search
Top
Bottom

Ho to get a user ID from the profile displayed URL


  • Ishimwe
    Participant

    @ishimwe

    I am working on a client’s site and I would to do the following:

    1) I am on my own profile, I would see a list of posts I created (this is easy and I am done with it)

    2) Now, when I am on someone else’s profile page say http://www.somesite.com/members/someguy/
    I should see a list of posts they have published. I can’t seem to find a function that would pass me the User’s ID from the URL so I run the regular WP loop.

    Any help ?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Ho to get a user ID from the profile displayed URL’ is closed to new replies.
Skip to toolbar