# Posts

## 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.

When you select Posts in the dropdown to the right of the Query ID, a panel of clickable options appears so that you can select different filtering parameters for your Posts, such as Posts, Author, Mime Types, Comments, Permissions, Status, Passwords, Order, Pagination, Search, Taxonomy Query, Meta Query, Date Query, Code.

A blue dot will appear to the left of a parameter to let you know you have added a parameter.

<figure><img src="https://lh3.googleusercontent.com/ceRyNuYD74jRpClOuOHoL1JQi_EasrzEnK_-ZUtGQJ4XLa3JS1c4GgJqxqV6xvzPpZDqbZY4mfv5mKftcvopMV9KMEZum_VW4wa1AzrDOBnniYuc1zN1pFyCM5OhpASjwHOR6wzjPkjH0uKj6ogNKfiWkjkUsKezZB5dCiSTjRmj8NdUwwRvBz7iNUp9pg" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh6.googleusercontent.com/wDOfrQpzY-sD4ADWH7u043U1yaWg334EabCISSAPyR-Gh8Sby2ntQr96MeChYvovJMYgNgIrfMSqmpZjKTvMo8CZJ7khRq4OX8jZe2gaNYs5HtpsT2LhwXiM3phjV59yBV5x32Pgj8gBW--pCK6RF1bKmJ2fjWgZlj8wpJz7xH7DILAUA9utCUAnelHMLQ" alt=""><figcaption></figcaption></figure>

### Post Type

The different types of content in WordPress are usually referred to as Post Types. This can lead to confusion as Post Types includes all the different types of Wordpress content including Posts, Pages and Media. These are all specific Post Types.

***Posts*** Post Type is dynamic and used in blogs.

***Pages*** Post Type is static , outside the normal blog stream or feed.

***Media*** Post Type contains information about uploaded files.

{% hint style="info" %}
You can select one or more Post Types.
{% endhint %}

<figure><img src="https://lh5.googleusercontent.com/Lfj9QLDKWphNpyTK4ax5MrPYPlVO-7wsUwVmlvGXvMUujfSB20A9BjVRcU9fbqKAPeUWgaVBe0aBIXWmmi12luqSEv6sInCcQVkCLaq5Yk2qRF--F4Jj9kEF3ex3TKcWCHybOSNGz8C1In-2nJG1jUpS0LzE7OemzdsPudvKUq7J94qUldc8EYU8Hjbd_Q" 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 Builder Modal
7. Select Posts in dropdown
8. Select Posts (left hand menu)
9. Find Post Type
10. Select required content (Posts, Pages, Media)

</details>

### Exclude Current

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

<figure><img src="https://lh4.googleusercontent.com/DYxelNkMGRXPNzsYpF9S2u6m-q8VsH6FOmbRbF4iAg_Um6Dh9EWpk5cH7A6E4zdld0OI3Se7DZaXAGosA4xyszpqvA04GD-5O_OtsOFKpdQXrSSrSKiZ0fom4fNrtnXKUAr80-E3YM-ykKMslAhDoMSUm09WdoFrfio2HWw9ALCcIM5MMVELUSxmco2Z_w" alt=""><figcaption></figcaption></figure>

<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 Builder Modal
7. Select Posts in dropdown
8. Select Posts (left hand menu)
9. Toggle the Exclude Current property

</details>

### Include Posts

Include Posts allows you to include selected posts.

<figure><img src="https://lh5.googleusercontent.com/xHbXSU9PicJS5YkcdXPpDSEBwI52JNyHnjf0yOFpyWK_uGK_1bBuee_cb0mDLInMtSXgMzbFYaNNFl55Dr7Wv-SUuCI7XoZs1JVeN8QtnAxI5EH1IhpiuXcYFkCkpgAWLTqibqHyphjA8n7YT4PGhm2jdaEv5_jl0cyMO7326SNej_KtY8QIrpyhbON7eA" alt=""><figcaption></figcaption></figure>

<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 Builder Modal
7. Select Posts in dropdown
8. Select Posts (left hand menu)
9. Select the Post(s) you wish to Include&#x20;

</details>

### Exclude Posts

Exclude Posts allows you to exclude selected posts.

<figure><img src="https://lh3.googleusercontent.com/PC-o0R_tjEdotfWcAqjGKl0pcgS1duVMYm9dq-KC8geSb6VRYwvBMuhDvJ2GkD2A2sgJq_TQpgQsz1H1mS4PuVWvOfTmSRkFUaZt4c1xp-p9mwlJusj43mSz56zB_6d1wdQKLHoJSmP0iVpMOsJWQ8zmx0FkBqqDTpN-2ypWHQqkNkGDEs1ZFrTgGTW09A" alt=""><figcaption></figcaption></figure>

<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 Builder Modal
7. Select Posts in dropdown
8. Select Posts (left hand menu)
9. Select the Post(s) you wish to Exclude&#x20;

</details>

## Author

The Author property allows you to set Query filters for Authors such as Author ID, Author's Name, or whether a post has an author or no author.

<figure><img src="https://lh5.googleusercontent.com/HrtKOpKPZEgkV3uSuvBpssMnGI0sJiGG9Kya6WeC0x1KFKxKrxNBa_AhbpNcv5Yn1h9BxWyBVegOtNE_YHPszLthK1TYXXcZV4llnvPhNwCV8DrlWd5XMt1R5CN5NJp8Q-9cDjhV9ItdbNvlMnH6Nq241V2gJhrYkkQSdbay4hRrjDRIulQ1k88t7c89Rw" 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 Posts in dropdown
8. Click Author in Panel
9. Select required filter (Author ID, Author's Name, or whether a post has an author or no author)

</details>

## Mime Types

The Mime Type property (also called media type or content type) allows you to add a post type attachment (audio/ogg, image/png etc).&#x20;

<figure><img src="https://lh5.googleusercontent.com/mt8Oj0zwPJz-duA7E9IW4wpT63ogTokVhO4feHwOCcv-fNjoBlaxkVjBItFRt-mVCr3lQ2v07-ZhmFyKlfVwO7unUZel0a4cV94XPZilKMdrfAqmrn05_syhJzX6kpY_g8F3kFsm_jRnNj97jG6TTA2GapNpr4thfMd3Ss4pMSB-nanxmidpwuiVtM0DZA" alt=""><figcaption></figcaption></figure>

<details>

<summary>Input</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 Posts in dropdown
8. Click Mime Types in panel
9. Input Attachment Post Type (audio/ogg, image/png etc)

</details>

## Comments

The Comments property allows you to set a Query filter to sort comments by\
Amount or Compare.&#x20;

<figure><img src="https://lh3.googleusercontent.com/AEl2idQ2WDxmY3atHGBVsj2EIm9sheBGLmCRCs992wvHcWuNYJ8bn40E4hAg4Kd2cqMciVZsNdBgfO77eNNmp3cpFjZhY2w_LoixMU0pNIAl_COc91OG-eAbPmIvzOYcDsTiiYatRY9pIyKlNy2Z7Dp_I1-htqHqoWnsB74LBkmMBLafg6XnSy3pwjxPPQ" alt=""><figcaption></figcaption></figure>

### Amount

The Amount parameter allows you to set a Query filter for the amount of Comments.

<details>

<summary>Input amount</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 Posts in dropdown
8. Click Comments in panel
9. Find Comments Amount
10. Input value

</details>

### Compare

The Compare parameter allows you to set a Query filter to Compare comments

![](https://lh3.googleusercontent.com/Z0g_cVjbMyEsL1C0J2VhSj26jv20m8Qsh_BHX-OiwYvWrQBBc9MfnV0MBI8lwq0uJuUXOnVZxGojN--cvCto8P8sr5QyL08GQOozhChtVTyVbBtpUWIdiiI6AxKj5GUvn78Ny6zVU-tBh4wpEn6AmRJtWbYsyIuee56fGDZsuZ17151vtq3oCM_YkL54sQ)

<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**&#x20;

**NOT REGEXP**&#x20;

</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 Posts in dropdown
8. Click Comments  in panel
9. Find Compare
10. Select operator

</details>

## Permissions

The Permissions property defines the access to your posts, such as whether a post is readable.&#x20;

![](https://lh6.googleusercontent.com/2NRFwx6rEQt6hswMcR1e06e3wCiMoPCjS5si-gL4ICX0WVGpaHlFY_kotddl-NmQfJh1Au53RPJn8LCpBuQhZ1jnjnHS9bzBvNdPYG_-9b2PUDqZOL7D8yoY05heSxu0eD-8KQbpsV3RjHIsmJANf4CEXi4DeQb3NuCvBJIG_iIw3iM66nkHLHF4exbqBQ)     ![](https://lh6.googleusercontent.com/esbzDe7l1KZcMwiiJZ7AYwLUYNTlseHZmVDielwSJ7nboOgvJwmWKzXusvnIZr3wKS_9toGJbsNjnvRFW7KS8rVVYvBbUh-RMPRZSC5zvaBjjDtIQUj7A0yN2uU0KWKv_BS807XGj4FMKTKBtH-06Ute7Q1_VCgaz3Lm3sHqTj_mMPFWShofKvcuEts-SA)

<details>

<summary><strong>Choose</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 Posts in dropdown
8. Click Permissions in panel
9. Find User Capabilities
10. Select readable

</details>

## Status

The Status property allows users to set a workflow status for a post. These include: publish, pending, draft, auto-draft, future, private, inherit, trash, any.

<figure><img src="https://lh6.googleusercontent.com/ISHIZC1gZ3Se_uCGFMX6a3-GuKODXRfHN-vZWjVryxvakUT2On2gnDNtS7_86Ni3I_FsVS4VuJxRwC-Ce2OrC2x-KyKbwAIlRGfVcwG3-G9RG5CGJvym7_Hln4xCFxB8Ou3UhrvyafiJZeg-OqtddYljgsTQREpO88Tx0IbeUNIEFUOK1PetzbxVjWoFtQ" alt=""><figcaption></figcaption></figure>

![](https://lh6.googleusercontent.com/0M4cesg6eQxz6xPVLT7dFYjXKtCXBHbWGMRLShUPqTdqxyaELjt0KefKcV_1uLJphsewQ86SREDtqjHv7Fnb8MjqxpR8VdgqNMdprPxrnv4LMTcci3KoFetF_RTmJWQT-IcMXs3EvlF-BIaw5tu2ioXKcHxMmGxzB9ul23_n8mkcWLdU9PqAmkY6CuGSLg)

<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 Posts in dropdown
8. Click Status in panel
9. Select required Post Status(publish, pending, draft, auto-draft, future, private, inherit, trash, any)

</details>

## Passwords

The `Passwords` property allows you to filter posts: Have/Do not Have Password, or by Password .

<figure><img src="https://lh6.googleusercontent.com/T4Vmn-PzGTrbDLxF72vlb_RiuMKXt7txVsJ_G8vgUqyqN6cJYaG6wXjC9LbzCcqVAWh4Xt1iWkBRfhXLBaeyK5wWh9xnml8yX_ofZsA40_ElZZcSmBQvTeIvJykRjT7ZuFXX5wH7i6WYCwgOn1eKsMTMWW7krwxTZsaHgKLqR-fUXy9xi8avZy6f5pJZzQ" alt=""><figcaption></figcaption></figure>

### Have/Do not Have Password

Posts can be filtered on the basis of whether they have or do not have a password.

<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 Posts in dropdown
8. Click Passwords in Panel
9. Find Has Password
10. Toggle on/off

</details>

### Password

Posts can be filtered by Password.

<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 [p](https://docs.cwicly.com/gutenberg/primary-tab/)rimary tab
5. Find Query Editor icon
6. Click to open Query Editor
7. Select Posts in dropdown
8. Click Passwords in Panel
9. Find Post Password
10. Input Password

</details>

## Order&#x20;

Order and Order By allow you to choose the order in which you want your posts displayed or using a specific parameter. For this, you can choose by Order or Order By.

<figure><img src="https://lh3.googleusercontent.com/9t9zPhovQdxXrcdgMuE8Hv5r-jMMAy0xB7BYYnRrTMRc-ZPFPWl4Xvhj-bE4xmRuclr3-hbysbkn6hqyAvhR2O5fxdA1w2tg3cwtLrxD-qRKS1WNWqs_rXcHknR2lewNhS7OzICafimQwlVTVJ9xwyZWJwRGgbGJZXCc86CcmQ4rFnJfitRQlyR1m03tEQ" alt=""><figcaption></figcaption></figure>

### Order By

Order By lets you sort your retrieved posts by a specific parameter. By default, this is by published date.

![](https://lh5.googleusercontent.com/8uf5D7IV1q7pvFfFPNjH3KPetIImR6Be4cMOGHmE4lcItkrnzCYTmuB4tg78ApGDCGGZBNxQmgvPXXSQXQ_4AW03rma7MuDjwVEkRzDkfgGrBEn2xeMEnPXIOZgjwCHwOA9fWFSgckquCJiBVKVaX_fmfcikutoyxPztY5D4zZGrvGFX06MOZmxlFqU0xg)

<details>

<summary>Parameters</summary>

***None*** No order.

***ID*** Order by Post ID (Note capitalisation).

***Author*** Order by Author.

***Title*** Order by Title.

***Name*** Order by Post Name (Post Slug).

***Post*** Type Order by Post Type.

***Published*** Date Order by Published Date.

***Modified*** Date Order by last Modified Date.

***Parent*** Order by Post/Page Parent ID.

***Random*** Random Order.

***Comment*** ***Count*** Order by number of comments.

***Relevance*** Order by search terms.

***Menu Order*** Order by Page Order.&#x20;

***Meta Value*** Order by Meta Value.

***Numeric Meta Value*** Order by numeric meta value.

</details>

<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 Posts in dropdown
8. Click Order and Order By in panel
9. Find Order By dropdown
10. Select required parameter&#x20;

</details>

### Order

Order lets you choose a direction for your retrieved posts (ascending or descending). By default, posts are  by descending order.

![](https://lh5.googleusercontent.com/PHBr7R1wRWTFHLM5pqbHmdC5ccgHDLwbJcP1NwBWt1SmhNW3UCNazTpgXwFuXYYKpqoYLhcmE0rPEMSH6mb6D5HI8MTNE5-MprQXxTH7WwF04O1ZgrJS35GGMhz-_szh7par7JLJbqo2pzuJNa-8L88LzvhhoLVr_ez7v8QMo4p_-YwhUHQxGKhWCpwosA)

<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 Posts in dropdown
8. Click 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://lh4.googleusercontent.com/mzVUvCzl6SFu1XWD3EsXXNzaJ84-Tr4TNATwjI1MCisBc-3xLS8CzvxO1Y4lZLr7RqGsoUNnu6inEakv1tVNQMoNKL3kXPlXAHA59Li4R-p6BLwI7MF9fym_jtB4T97CfYmlPKNqmk1vIzvhP93Szvhmw3cLoEWxW1Cv6m02mE6sFcYbtaLglMc3_hW3uA" 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 Editor icon
6. Click to open Query Editor
7. Select Posts in dropdown
8. Click Pagination in panel
9. Find Items per Page&#x20;
10. Enter value
11. Click dot to reset

</details>

### Page

The Page property allows you to choose the number of the page you want to be on.

<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 Editor icon
6. Click to open Query Editor
7. Select Posts in dropdown
8. Click Pagination in panel
9. Find Page
10. Enter page number
11. Click dot to reset

</details>

### Offset

The Offset property offsets the number of Items you set.&#x20;

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 Editor icon
6. Click to open Query Editor
7. Select Posts in dropdown
8. Click Pagination in panel
9. Find Offset
10. Enter value
11. Click dot to reset

</details>

### Sticky Posts

The Sticky property allows you to include or exclude Sticky Posts.

<details>

<summary>Toggle</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. Click Posts in panel
8. Open Pagination (left hand menu)
9. Find Sticky
10. Toggle to include/exclude

</details>

## Search

The `Search` property allows you to search using a keyword.

<figure><img src="https://lh6.googleusercontent.com/NZEYDZVDrj6sxRJmRuA5ttXJLRdoPYw2Jr5liUwZ11ayPSJvcsKPpC4ChaNjNC8dNUWwrw1SnKFa8e0Npr32x26_GC5-9MpFMo0jLkLM-fYWl5rv-8lq5IsiAOBQIkOw0aTXEtmldJ_OtCss5MQtPV512S9p8z1MyJMCL8qG5928fwm54XT8Rmpm4MUjig" alt=""><figcaption></figcaption></figure>

<details>

<summary>Search</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. Click Posts in dropdown
8. Open Search in panel
9. Input keyword to search

</details>

## Taxonomy Query

The Taxonomy Query property allows you to organise your content using additional taxonomies that you have created.&#x20;

If you have more than one Taxonomy Queries, you can select an and/or relation.

<figure><img src="https://lh5.googleusercontent.com/Oeng-UOJnr9s_pgDkbSOrQefVxX2cumRHHYLa2gZ-2Rw5msUEKJucT9kpVKmUSdvcgtELZ3lMZJO-8LIHoh8TTbbDVbjN5_vMPpjtRX3FBUIHFk-6RVWNauvbY3QRyVFJXH2XVqxEEIKr_WpZf2UMbzyiRC3YjFAdbJyOxj7APZKW1_oZqiKPuMuUjOtqA" alt=""><figcaption></figcaption></figure>

![](https://lh3.googleusercontent.com/t5rIuBIYRptHECTPzBo-oUAUyp0ubQtzASRLrbkWAd8LKrwmLMxkpgKqvdCEH1lYe_Fx_48w6GHujFVhMee_RrYF8MLhEizLeGyM5mlg8KgYFMkbvQZpRZ68A4Sln75aPtzexnC2fS2vfppKjd0mIgNHH-Qrz-XoUebjmPbYNNq6TigbQaeeliywbMm6Ag)    ![](https://lh5.googleusercontent.com/jWR1xCgHyxamORmFZasxPH3C20kgNoytgvIOXBzOyJzh3P4uL27S787YfoPjny2_LU1d9K5wkH34w40NSVoL7j0LE_uYzml_WhjE8dIMlADSCJ8CHL8cC9PyOc44o20VFifNKpF0iM1gHMrkP9irBiqfzVPBBhWV-MQ97lQ4mZFcm93QCc_j23lrvQ29_A)

<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 Posts in dropdown
8. Click Taxonomy Query in panel
9. Find Relation
10. Select And/Or
11. Click "+" to add new Taxonomy Query

</details>

### Edit Taxonomy Query

The Edit Taxonomy Query allows you to choose the parameters of your Taxonomy Query, including Multiple Taxonomy Query, Include Children, Taxonomy, Terms, Field, Operator and Include Children.

![](https://lh4.googleusercontent.com/UfqwYkIGW70yRN3VnuXW7H1m_8hYYu71bmWcEi8cInpa2woh4NNKmMuKG3QgjivOPXWtaFe5HZGjnYYo35gsZk9-yrxLGc4g2PmA8tqaAbLjCuxvvPS6gPYnh_tsyY-wAQ52r0fER-0fZJGgLEzC9x-MGkkzRI9rFoXmK89w6FbkjWVyZoO6bXerPXVsUA)

<details>

<summary>Taxonomies</summary>

***Multiple Taxonomy Query*** parameter ensures that all the taxonomies are used in a search and not just the first.

***Taxonomy*** parameter is a way of organising your content and data.

***Terms***  parameter are the items in a taxonomy.

***Field*** parameter is additional information added to your posts as metadata.

***Operator*** parameter is the method used for a search.

***Include Children*** parameter allows you to include or exclude child categories.

***Name parameter*** allows you to change the name of your taxonomy query

</details>

<details>

<summary><strong>Edit</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 Posts in dropdown
8. Click Taxonomy Query in panel
9. Find Relation
10. Select And/Or
11. Click "+" to add new Taxonomy Query
12. Click Taxonomy Query Name to edit&#x20;

</details>

### Name

To edit the name of a Taxonomy Query, click the name box and input a name.

![](https://lh6.googleusercontent.com/OEX245jSWP366_XRNRdz4nWLnxkPhYsYng9y-Izyh91WeGStaxnzta1hORwabrd4A5R1JcstsBYHh_mJKTTOrS-fP1bLfvmZ9NUihwVA3W8AZKdegB4hpQ4_bjJ2XRzoNYx0hGUkNTz0u6l38AJfp-_JcJ57fPn_auD-ek8ihPcm79m7rdXRgv6mOm0l5A)

### **Multiple Taxonomy Query**

The Multiple Taxonomy Query property allows you to use multiple taxonomies in a search and not just the first. The Query builder allows you to build a Tax Query to handle multiple taxonomies.

![](https://lh3.googleusercontent.com/s22_CRor17XKsyl7G8UkxjnNM6jM5K5kB_1Wb-Koqb9FGlswN7b1FuVatmToY1-u6X1wdusZO5-uhcT3LjQVaqaHEg-o9RUPgEF5H8D5eQ10IuI_Vcf8yPy3371quxdFhjz0x_5Z14BjIMlc6YMJls919vV0HU1GRYltQbOyUBVCzwXkQzZcvyzU5RoEuA)    ![](https://lh5.googleusercontent.com/3w3owhQx3_vp0k-GuLacVX_NA5zjLkiZEdb66se-UUtITFaTBPq8OnxIbtdp0Iq3FVf4PbMo2roO5o_EV8zdLCwhGcqDDdjx7lXLKq75zb9SIMiQ8GAj0QNL-N6R2iithmk5NUaXF4aRYw9g2qjf94EvddtPRnOfPc4bUXjO0xJh7yB_jAAOl_8LBIARpQ)

<details>

<summary><strong>Toggle on/off</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 Posts in dropdown
8. Click Taxonomy Query in panel
9. Toggle Multiple Taxonomy Query
10. Click "+" to add a Child Relation
11. Select And/Or
12. Add new Taxonomy Query
13. Click name to edit Taxonomy Query

</details>

### Include Children

The Include Children property allows you to include or exclude  child categories.

![](https://lh3.googleusercontent.com/DhL0PCYpr8qzSjn3fQxFhrH45UnADDkOM5JiweBWzLf_AutZQGFt9dJ1oD_nbIbmhXI03I5yI2rJqVTK5AZPCAjtTQeYp5Ehp0_XMqF_3O5hAD-IAGj8U9cKJf8tAOrKrFdNzfH_X9v8yOXT58ltA_rSkKZwM8cA8kj5t1giN1-cSAgJgvHVWhj49gQAiA)

<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 Posts in dropdown
8. Click Taxonomy Query in panel
9. Find Relation
10. Select And/Or
11. Add new Taxonomy Query
12. Click Name to edit Taxonomy Query
13. Find Include Children &#x20;
14. Toggle to include/exclude

</details>

### Taxonomy

The Taxonomy property allows you to organise your content and data including: Tags, Navigation Menus, Link Categories, Formats, Themes, Template Part Areas.

![](https://lh5.googleusercontent.com/zCCB8tWyhdZuhoPkvV5N0tXdPqWan1kx9ygzXGGaTF-pTkEsSjk8nSNc4BbDJ5EgWQ6uVoP0VJ0WuSh-Gru_bj5r_696v6Yisc3vP17jfyGTbtsfFTjnkvWx1218p7KbFYwSTc019fHZ7J8ySosRBQsRhEEadAGtLAHadEAv9jJF1fniSq2vivwlYk9E_A)

<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 Posts in dropdown
8. Click Taxonomy Query in panel
9. Find Relation
10. Select And/Or
11. Add new Taxonomy Query
12. Click Name to edit Taxonomy Query
13. Find Taxonomy
14. Select Taxonomy parameter (Tags, Navigation Menus, Link Categories, Formats, Themes, Template Part Areas)

</details>

### Terms

The terms property refers to the items in a search, such as: uncategorised, Cwicly, external, grouped, simple, variable, Uncategorised

![](https://lh5.googleusercontent.com/0qSWNesb3o_1awiqrFwzsOohbZHjDdaaAvGAa89qqI5d4hiGrGWtXd8NYHvV7upqqwnFKtbkspxz1sG3gC2dQ3e6u1RrJ-riF70sQggqubzNlOuauHu0vqK4RLxX8QfnHK5LxlisBYr47ku4cszNEhzsSKGh2OIrcX6zpyaQzdT3Hjg7BFg0VKQC8Nutfw)

<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 Posts in dropdown
8. Click Taxonomy Query in panel
9. Find Relation
10. Select And/Or
11. Add new Taxonomy Query
12. Click Name to edit Taxonomy Query
13. Find Terms
14. Select required Terms  in dropdown

</details>

### Field

The terms parameter allows you to use additional information for a query, such as: term\_id, name, slug, term\_taxonomy\_id.

![](https://lh4.googleusercontent.com/XrVcbI1SY-_Qv0TMiz7Y_L_MDgd1iPPHmLPOPfOEhDYQKikHfRY3JHmMw2oqLHedlHpWqpBP_Kj5KkA0W-dDeL-vUBssHgSTMEs1H_jMN-aRWTye4sinRikjyhXA-ITvMa67c4O39Q8qwHPMXentFCYW1nXbVX0k-J2oWIYgdJEN9ULK8Izm4oH8TzKcZg)

<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 Posts in dropdown
8. Click Taxonomy Query in panel
9. Find Relation
10. Select And/Or
11. Add new Taxonomy Query
12. Click Name to edit Taxonomy Query
13. Find Field
14. Select required Field (term\_id, name, slug, term\_taxonomy\_id)

</details>

### Operator

The Operator property is the method used for a search, including In, Not In, And, Exists, Not Exists.

![](https://lh5.googleusercontent.com/LgtfAu5yzL8phsiAhGtzp0abAZiRvRyUDN7tnigtlSD_CQL56nOzQeVlmJIEnfW56JQEOBKpybqQVwMRAjuKEAjVfu9VkK8PoZRGVqGwUiE8r5ZeX8mch9XChLJzvqY-xDr1fGk9f_CSe95npZAkMcZzRYGSp0maBF8te2paaOtLrMCMobJWV6AMS6DePQ)

<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 Posts in dropdown
8. Click Taxonomy Query in Panel
9. Find Relation
10. Select And/Or
11. Add new Taxonomy Query
12. Click Name to edit Taxonomy Query
13. Find Operator
14. Select Operator (In, Not In, And, Exists, Not Exists.)

</details>

### Duplicate

The Duplicate icon next to the Taxonomy Query name allows you to copy the Query.

![](https://lh6.googleusercontent.com/XycIjQcgzUIQRlevk-LTlsWKVL1X42ei7YoQ5KN3_fnGHwcGQpZQbfQ-JXRXQFS_Y9BWh2ZGVR9pWiIz9HhieiB7XEBgqVPXoI5qIV5FbNfzEbmPt5WUIARXhmRSDZyKOF2VEi2wveQIAynBpjIkq6CUHWc_Twvnp8aaemEOmzSp29kBHEReurY-rDsqRA)

### Delete

The Delete icon allows you to delete a Taxonomy Query.

![](https://lh3.googleusercontent.com/TcH26_J9hYQtk4moUY8Dl-G1GcUu6P7ELLz5zG7xY2hpysPnahHpt8uGfsLcdbWBVuz-HFvcr3S7uO64-R9XPcMGdUjJlNQNSH5x_GE--7aCimdeRMI55znnIumF_JEFzqYFx5IjKiR8RwequHTwD1JrCQra-EE2wFWdzAsA7mATT4U9iRTHG8gZCtuZlA)

### &#x20;Meta Query

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.

![](https://lh3.googleusercontent.com/7Pcuqtv6mrOdYfnhgGQFOipuYk0AubVyL6u6aWZxALOZT6pByi-7fXf-esoFJW1OYDPNuDT_KCLQVxMwrNaYH57IULwJ5SMI1APle3-NkpV-DrpQFzbIz2OCSakLDzQ_lAwzFSVp9I6-BNNIt6Msv7EgyGx4M_QAK8HSowk5fi1EpnZUG6VRSCFyGc-DaQ)     ![](https://lh3.googleusercontent.com/kspQrgOoBR4yk6OgZQjpJhFT_1CrZPrsrE6yzkWN2K-iWGZxDLA7Um2xAE9PajxclcMuXVp8viL1xA2hznwTFdj-3Jh2QDtXDhyC64QKQoC8qyItgTKqTDCOtexkXaw6bngQvndhik58fhMPBIQxalEcF0ZOOePgU04F2h0kRBGsbo6EOtIcS4M8RLDp_w)

<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 Builder Modal
7. Select Posts in dropdown
8. Click 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 Posts in dropdown
8. Click 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 Posts in dropdown
8. Click 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**&#x20;

**NOT REGEXP**&#x20;

**RLIKE**&#x20;

**NOT RLIKE**

</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 Posts in dropdown
8. Click 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 Posts in dropdown
8. Click 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 Editor icon
6. Click to open Query Editor
7. Select Posts in dropdown
8. Click 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.

![](https://lh6.googleusercontent.com/3qWyk1pv_QM843qbKh7VPrWZPReqs-NY36BCBrR0gtcrrF0OE3wL3doxVEEA5Y-JED4Qd6YB1f8sGsawaWF5LP1Z0n7nI127U3PWl6c0bTs_cLWChmvlP2iWm4Zh6FiX3oevoTgGFSSz2HJDHet1lQS5dy8nA6yc60WnYOY6IuRT2Lhh9wH9WkWjnaSuJA)    ![](https://lh5.googleusercontent.com/pJRW2c2I3G_SWoawRerhq7mFaBw5ZkwVAbetGkvi02QeKQLU4TJYwLIp2u2NG4Z-LC8gtKCDVClg3L4UhF4_OVw8w51thXt1TNvYLFOiw9p61Q3faeWK6b4ze1a6CpeVcjh3iE8howsazKLoDi9HKA6g5IhVBJ0XRPyPUudJpbhDwrqH4PlmOACSUDbMDA)

<figure><img src="https://lh3.googleusercontent.com/kmdbQnXCKLlBQgscDQVE48sDPW_BtXfW_NMvrbWSOn9YFWqwMJNxCCKU8JHS_juJV_1EpqERd0ljxxPN20vB8fCaMV6f7qSNJq2uCFRV-yry5hr9dWflNTJdf3DF3t7sp-o9nGuafzfOCJG71-5DJ2-VcPxzgXcYB-jnTBVX8tFmTWjl96MJGnRH2N1GwQ" 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 Posts in dropdown
8. Click 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>

<figure><img src="https://lh5.googleusercontent.com/9pAc88Qn_bv2oixpfh0WVVUdHeWGRU2k-jCx-B9374n2DnOQ0lzOwZb1v0TjpC4_8I_kTlhiJYRC_s-a1C_3LoQjfp6KC1nWdI-B4JLrD5SCMQ1lYVXTCbJ0kaGLlbiZbv1Xcx8L2HcAvPRzG8ugEersbJ8ytXs-V5wfAgJVPTCbhGSN8neDgZW7zH9CaQ" alt=""><figcaption></figcaption></figure>

<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 Posts in dropdown
8. Click 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://lh4.googleusercontent.com/eZq1ocCRgiN9J_K_GqdNYdBY5XLUMkQr6k3khtAjJnkbdIjkLH5QzjH9H9osgqo59PmXgvfG1cGwoK9YfhrDdh68HIaHUUDolTMChx5X61brezyqqnfsEcQTrtFd62HCXqXxnIsqm0wy-l1tzfltjEhMQUzsjlsO3t2EmaBvFAZFC1eo8Nx5-lBZZWxPlA" 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 Posts in dropdown
8. Open Code
9. Find Code &#x20;
10. Copy required Code (CTRL C)

</details>
