Skip Navigation

[Resolved] Show posts only from user with specific role or roles

This support ticket is created 2 years, 3 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.

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

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 2 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#2435057

I'd like to create a view which shows posts from users with a specific role or roles.

I have looked at this solution https://toolset.com/forums/topic/creating-a-view-that-displays-author-posts-based-on-role/

But I think the posts shows will be ordered first by user name and then by whatever ordering I choose in the second view?

I really want the posts ordered by post title. is there a way to add a filter to a post view directly to avoid the ordering which comes from nesting two views?

Thanks

#2435217

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nick,

Thank you for getting in touch.

I really want the posts ordered by post title. is there a way to add a filter to a post view directly to avoid the ordering which comes from nesting two views?

Unfortunately no there isn't given that the child view's listing is dependent on the Parent User view. In essence this will cause the view to list out the items in a tree format. So both ordering of child and parent view will be used.

Thanks,
Shane