Good day
I have created a page that shows all users, there is a link to the profile page for each user like this:
hidden link field='ID']"><div class="text">Watch profile</div>
When you click watch profile, the profile page of this specific user is visible.
I have already created views for showing user information such as a telephone number or address.
I would also like to show the posts of this user on this page.
it should only be the posts of the user that is shown on the profile page.
Is that possible?
Thank you in advance
greetings Pascal
Dear Pascal,
As you can see there is a URL parameter "users-filter" in the URL you mentioned above, the URL parameter's value is the specific user's ID, so you can use it to achieve what you want, for example:
Create a post view:
- Query posts
- Filter by post's author is same as URL parameter "users-filter"
https://toolset.com/documentation/user-guides/filtering-views-query-by-author/#post-author-is-set-by-url-parameter
Post author is set by URL parameter
Hello Luo Yang
I did have to search a little before I realized what I had to do.
I solved it as in the sceenshot. You helped me on the right track thank you!
Greetings Pascal
Thanks for the confirmation, can we close this ticket?
Feel free to create new ticket if there is any new problem, thanks