# Comments

The Comments property allows you to Add comments to your search query in order to add context for users who may want to use or edit your queries at a later date.

<figure><img src="https://lh3.googleusercontent.com/zeki-fqZzQ1CDHXPBB3hbtpu0iPTMW_P8r5d59Rum_FyONaj1D5uHahbVkqDqgvwd0szTIRpoe523-PJaQTlVAj5AwUcFzmS1MhD2L72r1tvGa_WQ8lcbbNzLjIUmvladNBzoyZVjTJcgHhrzo6tIpW2RzJix4uVSe3N1vY8PfA9wzLguNbV_CDdsWnHxA" alt=""><figcaption></figcaption></figure>

<details>

<summary>Comment Filter Type</summary>

***Include Comments*** allows you to include desired Comment ID

***Exclude Comments*** allows you to exclude desire Comment ID

***Include Approved*** allows you to include approved Comments using Author ID or Email

***Karma*** allows you to input a value, but is not used&#x20;

***Hierarchical*** allows you to toggle Comments with one or more children

***Parent ID*** allows you to filter Comments by Parent ID

***In Parent*** allows you to filter Comments In the Parent using Comment ID

***Not In Parent*** allows you to filter Comments Not in the Parent using Comment ID

</details>

{% embed url="<https://www.youtube.com/watch?v=RZs4pvn-4Vs>" %}
How To - Comments Section
{% endembed %}

## Posts

Posts are entries listed in reverse chronological order on your site. They can be thought of as articles or updates that you share with your readers.

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

### Post ID

The Post ID is a unique number assigned to each post on a WordPress site. You can use it to filter your Comments.

<details>

<summary>Filter</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 Comments in dropdown
8. Select Posts in panel
9. Find Post ID
10. Select required Post ID

</details>

### Exclude Current

Exclude Current can be toggled to exclude the Current Post. By default it is deactivated and the Current post is included.

<details>

<summary>Exclude/Include  Current</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 Comments in dropdown
8. Select Posts in panel
9. Toggle the Exclude Current property

</details>

### Include Posts

Include Posts allows you to include selected posts.

<details>

<summary>Include </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 Comments in dropdown
8. Select Posts in panel
9. Select the Post(s) you wish to Include&#x20;

</details>

### Exclude Posts

Exclude Posts allows you to exclude selected posts.

<details>

<summary>Exclude</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 Modal
7. Select Comments in dropdown
8. Select Posts in panel
9. Select the Post(s) you wish to Exclude&#x20;

</details>

## Comments

<figure><img src="https://lh6.googleusercontent.com/rZWMxUllTn_ziUKkagtzUxbiC5anjDQGa_aRNri-gA5qoNmiGHmZFDrh_MC6HpgTEmaBOeZJhllbeT__4irl3Df4Hv_oERfeEaamZR7dVs1AGYjoCizTWrcItMgCKHzPiwcxKxICQiqGC8mMEhVNXc7FA2uUpq32Vchy1A8bDq6sFj_VhpJncGwTnHbvIw" alt=""><figcaption></figcaption></figure>

The Comments parameter allows you to filter Comments by different parameters such as: Include Comments, Exclude Comments, Include Unapproved, Karma, Hierarchical, Parent ID, In Parent ID, Not in Parent ID.

<details>

<summary>Comment Filter Types</summary>

***Include Comments*** allows you to include desired Comment ID

***Exclude Comments*** allows you to exclude desire Comment ID

***Include Approved*** allows you to include approved Comments using Author ID or Email

***Karma*** allows you to input a value, but is not used&#x20;

***Hierarchical*** allows you to toggle Comments with one or more children

***Parent ID*** allows you to filter Comments by Parent ID

***In Parent*** allows you to filter Comments In the Parent using Comment ID

***Not In Parent*** allows you to filter Comments Not in the Parent using Comment I

</details>

<details>

<summary>Filter</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 Comments in dropdown
8. Select Comments in panel
9. Input or Toggle desired filters (Include Comments, Exclude Comments, Include Unapproved, Karma, Hierarchical, Parent ID, In Parent ID, Not in Parent ID)

</details>

## Author

The Author property allows you to set Query filters for Authors such as Author, Author Email, Has Comment Author, Doesn't Have Comment Author, Post Author, Has Post Authors, Doesn't Have Post Authors.

<figure><img src="https://lh6.googleusercontent.com/Vwnpz0EbOfsWJu1eOKaGBc1vB0u0aR5nalOemXdK0l1b1es1sVhm9VRnCcY1UqAclxeUY-E_SJTWDvtwE27G0h8Ky1m1AzyOXMaj7-ocFpAZHDGBA4Ud4Zv3sunMbzxkymUzDzxwu6SvlMOtEn4lg5gNesA3yS7vu5XMqIKERzRrV7NHBFxMrnOVyS_XSQ" alt=""><figcaption></figcaption></figure>

<details>

<summary>Filter</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 Comments in dropdown
8. Open Author in panel
9. Select required filter (Author, Author Email, Has Comment Author, Doesn't Have Comment Author, Post Author, Has Post Authors, Doesn't Have Post Authors)

</details>

## Status

The Status property allows you to filter by Comment Status such as: Hold, Approve, All.

<figure><img src="https://lh5.googleusercontent.com/YgY2j2VkmAQzsKeZU_Qfh463XdZYwMYGzS8Rw9M3eblZ3v9xHv4gzoWMLkI_Yq-2rbmZgudOS1NewkfsRtwc1opqFcGp1AtGN4Qgj5IGvVQKRof-XgHTBrtQF8RHGRjGfgEmkalj-WZO2IGDMcLC2US8dZdmAlK4qLr52pIqGEEFPm7B8RxU6BMjnu2R9A" alt=""><figcaption></figcaption></figure>

<details>

<summary>Filter</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 Comments in dropdown
8. Open Status in panel
9. Find Comment Status
10. Input required Status (Hold, Approve, All)

</details>

## Order&#x20;

Order and Order By allows you to sort and order your posts. You can choose by Order or Order By.

<figure><img src="https://lh5.googleusercontent.com/JxXpA-NyQsCO59WccDVJpV3qUsVuUfZOxB1RFsEHhlMHPNY4Oi7AevOtyfj7F7FGlxYvlzs0uvMo7jVjE7in51sJiRQIXyerjqvCtHOWmDpUkq_dL2YL57jVGrsBzF6ggublB83scaJJFOY9_EyncZXYN_hYAzX31gcH-lCMb7jcumNKvqDcQ2A6zFBPpA" alt=""><figcaption></figcaption></figure>

### Order By

Order By lets you sort your retrieved posts by a specific parameter such as: Comment Agent, Comment Approved, Comment Author, Comment Author Email, Comment Author IP, Comment Author URL, Comment Content, Comment Date, Comment Date GMT, Comment ID, Comment Karma, Comment Parent, Comment Post ID, User ID, Comment In.

![](https://lh5.googleusercontent.com/BIWYeC8zWdngGNAx4EP_eXZ2EdhK-qdjU5RrkrUr3B875ebUMsifasUBTyJw4dtNAmgqKuSK9beygRfTA29AHEA87_Sa1DLOtIDhwBKvV8BPHXfW2FOdZDq2-4N1blMG2Tw5tMtB3KIMe4fNmn1MeDsANDVeANq-swO1hMSd7xJtcumip7cU6C_irmNvAg)

<details>

<summary>Order By</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 Comments in dropdown
8. Open Order and Order By in panel
9. Find Order By dropdown
10. Select required parameter (Comment Agent, Comment Approved, Comment Author, Comment Author Email, Comment Author IP, Comment Author URL, Comment Content, Comment Date, Comment Date GMT, Comment ID, Comment Karma, Comment Parent, Comment Post ID, User ID, Comment In)

</details>

### Order

Order allows you to choose a direction (descending, ascending) for your Comment filter.

<details>

<summary>Order </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 Comments in dropdown
8. Open Order and Order By in panel
9. Find Order dropdown
10. Select direction (descending, ascending)&#x20;

</details>

## Pagination

Pagination allows you to choose the number of items you wish to display per page, whether you want any offset and if so how much and whether you want the items to be 'sticky'.

<figure><img src="https://lh5.googleusercontent.com/BIWYeC8zWdngGNAx4EP_eXZ2EdhK-qdjU5RrkrUr3B875ebUMsifasUBTyJw4dtNAmgqKuSK9beygRfTA29AHEA87_Sa1DLOtIDhwBKvV8BPHXfW2FOdZDq2-4N1blMG2Tw5tMtB3KIMe4fNmn1MeDsANDVeANq-swO1hMSd7xJtcumip7cU6C_irmNvAg" alt=""><figcaption></figcaption></figure>

### Items per Page

The Items per page property allows you to choose how many Items you wish to display on each page.

<details>

<summary>Add/Remove</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 Comments in dropdown
8. Open Comments in panel
9. Find Items per Page&#x20;
10. Enter value
11. Click dot to reset

</details>

### Offset

The Offset property offsets the number of Items you set. An Offset of 1 will make the second item become the first.

<details>

<summary>Add/Remove</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 Comments in dropdown
8. Open Pagination in panel
9. Find Offset
10. Enter value
11. Click dot to reset

</details>

### Page

The Page property allows you to choose how many Pages you want to search.

<details>

<summary>Number</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 Comments in dropdown
8. Open Pagination in panel
9. Find Page
10. Enter value
11. Click dot to reset

</details>

## Search

The Search property allows you to filter by Keyword.

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

<details>

<summary>Filter</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 Comments in dropdown
8. Open Search in panel
9. Find Search Keyword
10. Input required Keyword

</details>

### Status

The Status property allows you to filter by Comment Status such as: Hold, Approve, All.

<details>

<summary>Filter</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 Comments in dropdown
8. Open Status in panel
9. Find Comment Status
10. Input required Status (Hold, Approve, All)

</details>

## Meta Query

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

The Meta Query property helps you to filter the results by object metadata, including Meta Key(Meta Field identifier), Meta Value (Value of Meta Field), Meta Compare, Meta Type, Relation, Inner Meta Query.

<figure><img src="https://lh6.googleusercontent.com/rm9Qy11j4mZDR0jye4JM0X3J-2Pl3B9SbUwrziWrO5xPhO6xngwxrJH8sV6SXQJfmYaB1TLIFfxQb-yZDyz5hac3-gp4OLsTuCrSra8umIXu2g_bpr74CEbNdXccYeLnMbDKbzJPPuqZLhcMaNCU-bLpqcsFqGF5pb3i_e1RYZC0xvB92ZWMum6uo4rqbg" 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 Comments 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 Comments 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 Comments 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

</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 Editor icon
6. Click to open Query Editor
7. Select Comments 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](https://docs.cwicly.com/gutenberg/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](https://docs.cwicly.com/gutenberg/block-inspector/)
4. Navigate to the [primary tab](https://docs.cwicly.com/gutenberg/primary-tab/)
5. Find Query Builder icon
6. Click to open Query Editor
7. Select Comments 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](https://docs.cwicly.com/gutenberg/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](https://docs.cwicly.com/gutenberg/block-inspector/)
4. Navigate to the [primary tab](https://docs.cwicly.com/gutenberg/primary-tab/)
5. Find Query Builder icon
6. Click to open Query Editor
7. Select Comments 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 Posts 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/Rj8tdM8PWz726s05hyZuxjy4zCHKfkOOzOXXJfbNvKREIztGTi647O485_Hvi2600wHWvix1NrgMpTiAo4SbqfvLXVu8LuX050K0WEKicyw6nG2bb85rqnDJptlsbYpTb7kh2scay1I5Sp4SjIReUEQ0aus6pOJv4uRG0feg5aN3dUHCMyDzepDTd8LGpw" alt=""><figcaption></figcaption></figure>

<details>

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

1. Click on the ➕ ​​icon to open the [Inserter Panel](https://docs.cwicly.com/gutenberg/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](https://docs.cwicly.com/gutenberg/block-inspector/)
4. Navigate to the [primary tab](https://docs.cwicly.com/gutenberg/primary-tab/)
5. Find Query Builder icon
6. Click to open Query Editor
7. Select Comments 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](https://docs.cwicly.com/gutenberg/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](https://docs.cwicly.com/gutenberg/block-inspector/)
4. Navigate to the [primary tab](https://docs.cwicly.com/gutenberg/primary-tab/)
5. Find Query Builder icon
6. Click to open Query Editor
7. Select Comments 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 parameter allows you to copy and export the code generated by the Query you have set up.

<figure><img src="https://lh5.googleusercontent.com/7Bmnl-DfjlSDSCNEOL1KqfRZ0T3zQLGmRofidz9SyYxfmffZ5qm6s8IRXmnO1crezYHHmuDR_aYqiqUEyhgTUvk4-thJzSzJ6aidsPdJlsHJoY6L7lYVQ8GdXrVldLRVz4Y6_o6bKotITkSql2FSvupdgDItweFp5HYkb5XqHEPjR0BjFk7j_4RGEM4IaA" alt=""><figcaption></figcaption></figure>

<details>

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

1. Click on the ➕ ​​icon to open the [Inserter Panel](https://docs.cwicly.com/gutenberg/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](https://docs.cwicly.com/gutenberg/block-inspector/)
4. Navigate to the [primary tab](https://docs.cwicly.com/gutenberg/primary-tab/)
5. Find Query Builder icon
6. Click to open Query Editor
7. Select Comments in dropdown
8. Open Code in panel
9. Find Code
10. Copy required Code&#x20;

</details>
