Skip Navigation

[Resolved] I need to show all the users of a type and all of the posts they have posted

This support ticket is created 7 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by Mark 7 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#401180
Screen Shot 2016-05-24 at 3.26.06 PM.png
Screen Shot 2016-05-24 at 3.25.59 PM.png
Screen Shot 2016-05-24 at 3.25.47 PM.png
Screen Shot 2016-05-24 at 3.25.30 PM.png
Screen Shot 2016-05-24 at 3.24.44 PM.png

I want to show a list of users of the Type Broker and all the posts that he has made. I also want to add all his user fields. Underneath his user fields i want to show all the posts that he has made. I have opted for the bootstrap grid. So the next person will have the brokers details next to the current one with all their details and posts.

So far i have added the user and the details but i dont know how to attach or assign a view to the current view.

You can visit hidden link to see what i am trying to do.

Sorry for the rambling.

#401410

Dear MW,

In your case, you will need a nested view, for example:
1) Parent view list users of user role "Broker", and in the Views loop, display below child view
2) Child view list posts, filter with:
Select posts with the author set by the parent User View.

More help:
Filtering Views Query by Author
https://toolset.com/documentation/user-guides/filtering-views-query-by-author/

#401571

Ok thanks i will take a look at that. I will give you a shout if i am still stuck.

#401771

OK, please let me know if you need more assistance for it.

#403430

Thanks working great

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.