• Hello,

    Is there a way to display the post of user according to their profile id? I know there is a setting to display post by author id, but what I’m trying to achieve is to incorporate the post list in their profile.

    I mean, I want to display the list of posts created by users in their profile.

    I have read this thread–>https://wordpress.org/support/topic/query-based-on-current-username/

    Is that what I need to do? when someone views another profile they can see that particular users post.

    Thank you so much in advance. Currently, I am using Ultimate member for profile management.

    I wish for the continues success of your plugin.

Viewing 1 replies (of 1 total)
  • Thread Starter alexzaragoza21

    (@alexzaragoza21)

    Hello Bill,

    I found this one. Ultimate member has a ready function for user id–>

    $profile_id = um_profile_id();

    So far, I tried this one–> [display-posts post_type=”dwqa-question” author_id=”.um_profile_id().”]

    And it works, but when you view other profile, you can still see your own post.

    Hope there is a way.

    Thank you so much.

Viewing 1 replies (of 1 total)
  • The topic ‘Assign post list to user id’ is closed to new replies.