With the Views plugin you can create different Views elements to display all your custom types and content on the front-end, without coding. You can also create powerful parametric searches and add pagination to your content lists.
When you ask for help or report issues, make sure to tell us the options of your View.
Viewing 15 topics - 1,186 through 1,200 (of 1,220 total)
I would place Views on main page of BuddyPress group to display posts of users who belong to this group.
There is possibility in BuddyPress page to place Views but how to select posts respective users of the group?
Solution:
Buddypress plugin stores "user group" in a custom database table "wp_bp_groups_groupmeta", which is not a wordpress user meta or post meta, and it is out the range of WordPress, so you can not filter the result by Buddypress "user group" in Toolset plugin
Problem:
The user would like to display draft posts for logged-in users.
Solution:
There are two ways to achieve this:
1. Using two views, that are displayed conditionally based on the logged in users.
One view will be displayed to non logged in users.
Another view will be displayed to logged-in users. In this view, add a query filter on post status to choose the statuses that you want to display. Check this article https://toolset.com/documentation/user-guides/views/filtering-views-query-by-post-status/
2. Using one view, and altering the query filter programmatically. You can use the wpv_filter_query and if the user is logged in, add the other statuses to the view's query arguments.