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.

Comment Filter Type

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

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

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.

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.

Filter
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Select Posts in panel

  8. Find Post ID

  9. Select required Post ID

Exclude Current

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

Exclude/Include Current
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Select Posts in panel

  8. Toggle the Exclude Current property

Include Posts

Include Posts allows you to include selected posts.

Include
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Select Posts in panel

  8. Select the Post(s) you wish to Include

Exclude Posts

Exclude Posts allows you to exclude selected posts.

Exclude
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor Modal

  6. Select Comments in dropdown

  7. Select Posts in panel

  8. Select the Post(s) you wish to Exclude

Comments

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.

Comment Filter Types

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

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

Filter
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Select Comments in panel

  8. Input or Toggle desired filters (Include Comments, Exclude Comments, Include Unapproved, Karma, Hierarchical, Parent ID, In Parent ID, Not in Parent ID)

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.

Filter
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Author in panel

  8. Select required filter (Author, Author Email, Has Comment Author, Doesn't Have Comment Author, Post Author, Has Post Authors, Doesn't Have Post Authors)

Status

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

Filter
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Status in panel

  8. Find Comment Status

  9. Input required Status (Hold, Approve, All)

Order

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

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.

Order By
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Order and Order By in panel

  8. Find Order By dropdown

  9. 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)

Order

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

Order
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Order and Order By in panel

  8. Find Order dropdown

  9. Select direction (descending, ascending)

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

Items per Page

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

Add/Remove
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Builder icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Comments in panel

  8. Find Items per Page

  9. Enter value

  10. Click dot to reset

Offset

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

Add/Remove
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Builder icon

  5. Click to open Query editor

  6. Select Comments in dropdown

  7. Open Pagination in panel

  8. Find Offset

  9. Enter value

  10. Click dot to reset

Page

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

Number
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Builder icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Pagination in panel

  8. Find Page

  9. Enter value

  10. Click dot to reset

The Search property allows you to filter by Keyword.

Filter
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Search in panel

  8. Find Search Keyword

  9. Input required Keyword

Status

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

Filter
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Status in panel

  8. Find Comment Status

  9. Input required Status (Hold, Approve, All)

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.

Filter
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Meta Query in panel

  8. Find Relation

  9. Select And/Or

  10. Add new Meta Query

  11. Click Name to edit Meta Query

  12. Choose Meta parameter (Meta Key, Meta Value, Meta Compare, Meta Type, Relation, Inner Meta Query)

Meta Key

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

Add
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Meta Query in panel

  8. Find Relation

  9. Select And/Or

  10. Add new Meta Query

  11. Click Name to edit Meta Query

  12. Find Meta Key

  13. Add Key

Meta Value

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

Add
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Meta Query in panel

  8. Find Relation

  9. Select And/Or

  10. Add new Meta Query

  11. Click Name to edit Meta Query

  12. Find Meta Value

  13. Add Value

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.

Comparator

> 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

Compare
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Comments in dropdown

  7. Open Meta Query in panel

  8. Find Relation

  9. Select And/Or

  10. Add new Meta Query

  11. Click Name to edit Meta Query

  12. Find Meta Compare

  13. Add Comparator (=, != , >, > , >= ,< ,<=, LIKE, NOT LIKE, IN, BETWEEN, EXISTS, NOT EXISTS, REGEXP, NOT REGEXP, RLIKE, NOT RLIKE)

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.

Add
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Navigate to the primary tab

  3. Find Query Builder icon

  4. Click to open Query Editor

  5. Select Comments in dropdown

  6. Open Meta Query in panel

  7. Find Relation

  8. Select And/Or

  9. Add new Meta Query

  10. Click Name to edit Meta Query

  11. Find Meta Type

  12. Add parameter (Numeric, Binary, Char (Character), Date, Datetime, Decimal, Signed, Time)

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

Add
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Navigate to the primary tab

  3. Find Query Builder icon

  4. Click to open Query Editor

  5. Select Comments in dropdown

  6. Open Meta Query in panel

  7. Find Relation

  8. Select And/Or

  9. Add new Meta Query

  10. Click Name to edit Meta Query

  11. Find Meta Relation

  12. Choose Relation (And/or)

  13. Add Inner Meta Query name

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.

Filter
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Navigate to the primary tab

  3. Find Query Builder icon

  4. Click to open Query Editor

  5. Select Comments in dropdown

  6. Open Date Query in panel

  7. Find Relation

  8. Select And/Or

  9. Add new Date Query

  10. Click Name to edit Date Query

  11. Add Date Query (Year, Month, Week, Day, Hour, Minute, Second, Before, After, Compare)

Toggle Inclusive
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Navigate to the primary tab

  3. Find Query Builder icon

  4. Click to open Query Editor

  5. Select Comments in dropdown

  6. Open Date in panel

  7. Find Relation

  8. Select And/Or

  9. Add new Date Query

  10. Click Name to edit

  11. Find Inclusive

  12. Toggle on/off

Code

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

Copy
  1. Click on the ➕ ​​icon to open the Inserter Panel

  2. Navigate to the primary tab

  3. Find Query Builder icon

  4. Click to open Query Editor

  5. Select Comments in dropdown

  6. Open Code in panel

  7. Find Code

  8. Copy required Code

Last updated