Using Views 3.
I have User view and here, list all user by post count. It's working. But I want, ignore admin user post count in this view. How can I filter my views to not show admin in the view list?
User: Roles
,Is none of:
Administrator
from the listbox.This will block the display of all the users with role as administrators. If you only want to limit a certain user you can select the filter criteria of User: Name
, or User: The User ID
, whatever suits you.
I am not having a set up with me right now, so the labels might not be exact, but please keep looking for similar options as i had mentioned in the filter settings.
Create a filter in the in views as following:
User: The user ID
Is not equal to
1
("Enter the user of the admin i.e 1, or the user id of any user whose post you want to hide")Note: If you want to hide the post of particular role instead of particular user than instead of selecting the filter as User: The user ID
select the filter as User: Roles
and select operator as Is none of
and than select the all the roles of user whose post you want to hide.