# Users

Users are visitors who have login access to your site.

<figure><img src="https://lh4.googleusercontent.com/uxAHIpTAiWyE0zO6X2jptxvokVmGw2VlgchA_bOacMnOlWEB_Z46x00PNdViVMhGM95aOhbpc9prA_SBR_pzGRHnnjY15gYvcjqL4dq4wIsqAo00Nmgj_U7wsM25s1jfg_6ccWTkMEza8P7x7R-M5H66yU8CcLcx7P8X6s4p_gQQEzQDd1fiYtsagiskXQ" alt=""><figcaption></figcaption></figure>

## User Role

User Role filters by the capabilities or permissions that users can perform on your website. These include: Editor, Author, Contributor, Subscriber. Your Query can be set up to include User In or User Not In.

<figure><img src="https://lh4.googleusercontent.com/Zt8DtpJhpMKHhnLT1iQ1iA61QXj1wkbv8_8D3gKbnYr2k_CB5OEAmQWlWnNhjrATYG3_MxYMXh_rAs3IWm_rqipx6iFB_gBJSlm_CtDuAA6ubHQUTnEsbx5o0nWUNsG5g24ziaiIz140NULlrX0DojGWdMyBdJNt1fhZfv0lGKz7Si_vISa6fj1-W5qncg" alt=""><figcaption></figcaption></figure>

### Role

The Role parameter filters by the capabilities or permissions of users such as Editor, Author, Contributor, Subscriber.

![](https://lh6.googleusercontent.com/vsKpN0-kVYC6j93HnJGp0ltMywjFhobzCQYb2BZAoJx4ZBmfz0R1sH5CBt_daNjbJsp8gFtI3FFy-YHd-HgQkmc5kDLW-_cvhjbogf4HGcl9RBSrxwK9PlVyVf2EaLUb_sdnHYHM8h2QWCIQj1-kkQTYpqz9kXaNnGK9ozwaG1dYCoa21yKpiT-Uu44SXw)

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open User Role in panel
9. Find Role
10. Select required filter (Editor, Author, Contributor, Subscriber)

</details>

### User In

The User In parameter filters by Users that must have at least one of these roles.

![](https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2Fb15HwXIWJ1XmfkH5tH5t%2Fimage.png?alt=media\&token=3b772e36-0f6a-445d-bb36-396e8db205c3)

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the  Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open User Role in panel
9. Find User In
10. Select required filter (Editor, Author, Contributor, Subscriber)

</details>

### User Not In

The User Not In parameter allows that Users matching one or more of these roles will not be included in the results.

![](https://lh4.googleusercontent.com/KEmI5Q6x3S6KDHCkDk-oxaytlS0J5mMJD-v-jUWIvVslXbdeVRK6E8DFh-EdstNj_SPezs6sQ3XrLGvJNIoflcOk3pQEigzRY-hzjNnMzGffBPm8RtNrKxumBmMH7QF_FoPcp7YRWhsvGtFqQDUtjcgTm4nWEeDoHL-MJz3TdozxjqXY5BPNeI7FZkd9hQ)

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open User Role in panel
9. Find User Not In
10. Select required filter (Editor, Author, Contributor, Subscriber)

</details>

## Include/Exclude

The Include/Exclude parameter allows you to Include or Exclude specified Users.

<figure><img src="https://lh4.googleusercontent.com/Gw1l-VI39VgQGcw3jyzKIt2FQTxacZThEkLnfaZsvSZVjAVzPLTXLdGubQEC-ttNj6Bh23PWGbhd9EQGAobUHCxlzAOTKALAYQsNOddQcpITZ9hLYy3h1_bXvUKnx6RQ-X13prSzmDYaTPt9ApjiqNHjBy8PUvZD13YeygmHw2xA9MPE7yjf3Sb7nb_6DA" alt=""><figcaption></figcaption></figure>

### Include Users

The Include Users parameter allows you to specify which Users to include.

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Include/Exclude in panel
9. Find Include Users&#x20;
10. Input Users to include

</details>

### Exclude Users

The Include Users parameter allows you to specify which Users to exclude.

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query editor
7. Select Users in dropdown
8. Open Include/Exclude in panle
9. Find Include Users&#x20;
10. Input Users to Exclude

</details>

## Who

The Who property allows you to identify which Users to include.

<figure><img src="https://lh3.googleusercontent.com/xrl4xaEE0f-iGCxCvHEHGAkgRAb4yAoladE8rwBTYScgUXRlshFGa2kGAdjIr3u_UmHREF0L34GZ5rgWYdEK5GSR-fyXuF3VO6K2OhxQ58ACIaQoojvIvbQD9tVyJWDxM_Jd9NkL4PGhPcLuTb7e2ithTRyeVCn7JNaZQCBjxTGG7pJ_NsoWVfIiKGlRNg" alt=""><figcaption></figcaption></figure>

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Who in panel
9. Find Which Users
10. Input Names to include

</details>

## Count

The `Count` property allows you to choose whether to count the number of Users or not.

<figure><img src="https://lh5.googleusercontent.com/Bl_GRwZSZc8vytjYUhfmn7qXMSEuxV_U3Qzswif4ZQeyeieKABFpVDTbi97y6GnBS3lKkXwOhPPIX2hRb_9bZ0nH_l9meM7iDBwaFUWQtfo3x8VYG-QOw0kXg7E8FbkpyhPt7bkBmITg82rKdETre_H42hHEuA-X7nvopLWdzn1hlvxP8wiR-spfsrsqTg" alt=""><figcaption></figcaption></figure>

<details>

<summary><strong>Toggle</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Count (in panel
9. Find Total Count
10. Toggle on/off

</details>

## Network

The Network parameter allows you filter users associated with a particular blog on a multisite network using blog ID

<figure><img src="https://lh6.googleusercontent.com/sC6MqeLB7xgRoU2heACmuJNCJ3E3Zd9XL8CuNiKmX2yjkdRtRTFSTw82MfcG5T4cyNyfzAsSEQ0TVZA-TNRg1knyoJIcO-2HBP2KDPhtKWvbJRsRi6PeBk95OXNKTV225PgnFEjKzimi54DvWJfHEX1ajmkl4QWAQS4wz0lJygW8bqQIDwZgtlJ-WEnB7w" alt=""><figcaption></figcaption></figure>

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Network in panel
9. Input Blog ID

</details>

## Order&#x20;

The Order and Order By parameter allows you to choose the order in which you want your users to be displayed.

<figure><img src="https://lh5.googleusercontent.com/snYt5be05YsJL24KA-DsnhOU2-aWlYtv_Pl5t_ZnHVWxLu48NiX5h1XojBJdYn47OyNhVornOMMoTSjgcJ3FpRMq1kgMIEvxinbLlNc8DobzSK0mPEGTyBsDs_VgsJPPYRoeub0LcUdtQ74sDmcLzivRMLwdju4DpoMa2O6ukXxpk9Zxk1NAQJ6M_N204w" alt=""><figcaption></figcaption></figure>

<details>

<summary><strong>Order and Order by</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Panel
7. Select Users in dropdown
8. Open Order in panel
9. Select 'order by' terms in dropdown menu
10. Select 'order' direction for users (descending, ascending)

</details>

[See Order and Order By (Posts)](#order-and-order-by)

## Pagination

Pagination allows you to choose the number of items you wish to display per page, whether you want any offset and which page you want to be on.

<figure><img src="https://lh4.googleusercontent.com/i4C0UPZrBWP0bV69iNVcwaJN2N5OI4jky08IpBQQt2pI9MNcmF35FBnFuwSIgYsRa-ajrHr1wGXoQVpCAOcpxH-L99Ef7tB45PGA0p8b2PWX0thyTmSgDFuhmqwXPHO8TGkDK02nioD7hTWGx1uBw6YHlv4QAxi6u189H9VJ-CUY7F_MwdYnBEIKGZZ3dA" alt=""><figcaption></figcaption></figure>

### Number of Items

The Number of Items parameter allows you to choose how many items you wish to display on each page.

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the  Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Pagination in panel
9. Find Number of Items
10. Choose number

</details>

### Offset

The Offset parameter offsets the number of Items you set. For example an Offset of 1 will make the second item become the first.

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Pagination in panel
9. Find Offset
10. Set required Offset

</details>

### Page

The Page parameter allows you to choose which page you want to be on.

<details>

<summary><strong>Select</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Pagination in panel
9. Find Page
10. Input page value

</details>

## Search

The `Search` property allows you to Search by Keyword or Column.

<figure><img src="https://lh3.googleusercontent.com/xzTUq8Pi_-ApC6c1aSJqKkcdyeFGdMue3_XKLIIyeGJRJfOg7dgOR4Te65kHWrNYBIh11WIlO_7Vftm-96cSauVOv-tUdc-Wywz_fFRiVnU63NEvnB0qdwO7917JmPE3By6Ty0RLLZ6MOOs3vLuAPTWLk86J1vURFeF0enSdrJF0YI25DIf8YZORuYi2QQ" alt=""><figcaption></figcaption></figure>

<details>

<summary>Column</summary>

**ID** Search by User ID

***User Login*** Search by User Login

***User Nicename*** Search by User Nicename

***User Email*** Search by User Email

***User URL*** Search by User URL

</details>

<details>

<summary><strong>Search</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Search in panel
9. Input Keyword or Select desired identification (ID, Login, Nicename, Email, URL)

</details>

## Meta Query

The Meta Query property is a helper that allows you to filter your results by object metadata.

<figure><img src="https://lh4.googleusercontent.com/yWo582xTuupnRb1I8RLxD3mr18rLtk9DixP7HSsrCVbqmL1DGlKZTNKZqwjysk0JPT9PRHRAIqDxzTFewuAszEBSsA546DllowucRmDqHIVVxjzyj5irwx5sMD5jrw_R6BaaTB6kAKd4b6b97dTcJ47Xt7ORZM0Jjkr30nYnWeC7XWJFVdqJgwv6Z0MKQg" alt=""><figcaption></figcaption></figure>

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Meta Query in panel
9. Find Relation
10. Select And/Or
11. Add new Meta Query
12. Click Name to edit Meta Query
13. Choose Meta parameter (Meta Key, Meta Value, Meta Compare, Meta Type, Relation, Inner Meta Query)

</details>

### Meta Key

The Meta Key parameter is used to retrieve a saved value from the database and display it.

<details>

<summary><strong>Add</strong> </summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Meta Query in panel
9. Find Relation
10. Select And/Or
11. Add new Meta Query
12. Click Name to edit Meta Query
13. Find Meta Key
14. Add Key

</details>

### Meta Value

The Meta Value parameter allows you to get all the posts with a specific custom field value.

<details>

<summary><strong>Add</strong> </summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Meta Query in panel
9. Find Relation
10. Select And/Or
11. Add new Meta Query
12. Click Name to edit Meta Query
13. Find Meta Value
14. Add Value

</details>

### Meta Compare

The Meta Compare parameter allows you to set up a query using a comparator two sets of values, such as: *=,* != , >,  > , >= ,< ,<=, LIKE, NOT LIKE, IN, BETWEEN, EXISTS, NOT EXISTS, REGEXP, NOT REGEXP, RLIKE, NOT RLIKE.

<details>

<summary>Comparator</summary>

**>** Less than

**>=** Less or equal to

**<** Greater than

**<**= Greater than or equal to

**LIKE** Allows you to search for a part of a comment, such as first name contains John but can also be Johnny, Johnathan, etc.

**NOT LIKE** Inverse of LIKE, must not contain any part of a comment.

**IN** Must be in

**BETWEEN** Must be between

**NOT BETWEEN** Must not be between

**EXISTS** Must exist

**NOT EXISTS** Must not exist

**REGEXP** (Regular Expression) Must match pattern with a sequence of characters

**NOT REGEXP** (Not Regular Expression) Must not match pattern with a sequence of characters

**RLIKE** (Regular Expression Liike)

**NOT RLIKE** (Not Regular Expression Like)

</details>

<details>

<summary><strong>Compare</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Builder icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Meta Query in panel
9. Find Relation
10. Select And/Or
11. Add new Meta Query
12. Click Name to edit Meta Query
13. Find Meta Compare
14. Add Comparator (*=,* != , >,  > , >= ,< ,<=, LIKE, NOT LIKE, IN, BETWEEN, EXISTS, NOT EXISTS, REGEXP, NOT REGEXP, RLIKE, NOT RLIKE)

</details>

### Meta Type

The Meta Type parameter allows you to set up a query using a Meta Type such as: Numeric, Binary, Char (Character), Date, Datetime, Decimal, Signed, Time.

<details>

<summary><strong>Add</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Meta Query in panel
9. Find Relation
10. Select And/Or
11. Add new Meta Query
12. Click Name to edit Meta Query
13. Find Meta Type
14. Add parameter (Numeric, Binary, Char (Character), Date, Datetime, Decimal, Signed, Time)

</details>

### Meta Relation

The Meta Relation parameter allows to associate extra information stored in independent entities (meta entities) to content entities using an And/Or relation and a single or multiple Inner Query(ies).

<details>

<summary><strong>Add</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Builder icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Meta Query in panel
9. Find Relation
10. Select And/Or
11. Add new Meta Query
12. Click Name to edit Meta Query
13. Find Meta Relation
14. Choose Relation (And/or)
15. Add Inner Meta Query name

</details>

## Date Query

The Date Query allows you to filter your Users by Date, such as Year, Month, Week, Day, Hour, Minute, Second, Before a selected date, After a selected date, Compare two or more dates.

The Date Query may be inclusive or not inclusive depending on whether you want to include the current date or not.

<figure><img src="https://lh4.googleusercontent.com/R-n8Ae943ZhYkLhlFftpJXHc8oa83Fhom-aNGOVZOSC_nX5sG864GBjFHOn-36AQEQuT92eErP7P13kfSMEXVcBggtfG04DSLzQ4YPRSq5Tz5x_d9S4MfdscVSxeAQhVfJ30CtkwuSLMsunUraWC8w-63BAmMkeACpP4fMCkzhlpIRZLwiHHphI5VxZfew" alt=""><figcaption></figcaption></figure>

<details>

<summary><strong>Filter</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Date Query in panel
9. Find Relation
10. Select And/Or
11. Add new Date Query
12. Click Name to edit Date Query&#x20;
13. Add Date Query (Year, Month, Week, Day, Hour, Minute, Second, Before, After, Compare)

</details>

<details>

<summary><strong>Toggle Inclusive</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the  Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Date in panel
9. Find Relation
10. Select And/Or
11. Add new Date Query
12. Click Name to edit&#x20;
13. Find Inclusive
14. Toggle on/off

</details>

## Code

The `Code` property allows you to copy and export the code generated by the Query you have set up.

<figure><img src="https://lh5.googleusercontent.com/eax-kqynDdSRGcK3JDMPi73Mf-FNc-Px6u3qcy8AozbinY7lOtr0J7L4xnzXXt6ZQRnZOmgIh4cJJxR0HPx4Akzk7x9lDDgsRF0WA-yr00LPjSxY2uscBpmiK8GvocBUma9wW3WpnY11dmDN9Nw_DjsQNxA3r-TP0aO3gzKTQRTJlsu4-N58QudvSan1vw" alt=""><figcaption></figcaption></figure>

<details>

<summary><strong>Copy</strong></summary>

1. Click on the ➕ ​​icon to open the Inserter Panel
2. Select <img src="https://3250709389-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MS33S0eoYwMaMrLb7T_%2Fuploads%2FIFujNW2w7vGBWle7QUxI%2Ffavicon-black%20(1).png?alt=media&#x26;token=7217d37c-7da0-48b5-a775-e14b6e5de2f4" alt="" data-size="line"> `query` block
3. Open the Block Inspector
4. Navigate to the Primary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Users in dropdown
8. Open Code in panel
9. Find Code
10. Copy required Code&#x20;

</details>
