Documentation
HomeForumHelp
  • About Cwicly
  • Beginner's Guide
    • Install Cwicly
    • Getting Started
      • Overview
      • Settings
    • Edit and Manage your Site
    • The WordPress Dashboard
    • The Dashboard Menu
    • Site Editor
    • Create your Front Page
      • Front Page
      • Header
        • Header Template Part
        • Structure
      • Footer
        • Footer Template Part
        • Structure
  • ⚡Cwicly
    • Block ID
    • Breakpoints
    • Class
      • Global/Block Classes
    • Cloud Design Library
      • Create an Account
      • Overview of the Cloud Dashboard
      • Editor: Cloud Library
        • Access from the Editor
        • Add a Library
        • Switch between Libraries
        • Default Library
        • Download Library
        • Remove Library
        • Categories
          • All
          • Popular
          • Button
          • Composition
          • Decorative
          • Interactive
          • Layout
          • Media
          • Menu
          • Social
      • Design Blocks: Cloud Library
        • Search for a Design Block
        • Refresh
        • Add Design Block
        • Save Design to Library
        • Remove Design Block
      • Library Globals
        • Library: Global Styles
          • Library: Add Styles
          • Installation: Add Styles
          • Library: Style Settings
        • Library: Global Classes
          • Library: Add Classes
          • Installation: Add Classes
          • Library: Class Settings
        • Library: Global Stylesheets
          • Library: Add Stylesheet
          • Installation: Add Stylesheet
          • Library: Stylesheet Settings
        • Library: External Classes
          • Library: Add External Classes
          • Installation: Add External Classes
          • Library: External Classes Settings
      • Community Library
        • Save to Community Library
        • Download from Community Library
        • Remove from Community Library
        • Set Community as default
    • Colour Picker
      • Gradient Builder
    • Components
      • Components Library
      • Components Folders
      • Settings
      • Component Properties Modal
      • Properties (Add)
        • Text Property
        • Rich Text Property
        • List Property
        • Link Property
        • Image Property
        • Gallery Property
        • Video Property
        • Icon Property
        • Colour Property
        • Toggle Property
        • Number Property
        • Class Property
        • ID Property
        • Options Property
        • Conditions Property
        • Visibility Property
        • CSS Text Property
    • Copy/Paste
      • Block Styles
      • Classes & IDs
      • Dynamic Preview
      • Global Styles
      • Global Classes & Stylesheets
      • Blocks
    • CSS Grid
    • Dynamic Inserter
    • Font Manager
    • Navigator
    • Quick Inserter
    • Scaling
    • Smart Inserter
    • Span
    • Tag
  • ⛵Tailwind
    • Getting Started
      • About
      • Activate
      • Copy/Paste
      • Enable editing mode
      • Apply a Class
      • Pseudo state Management
      • Automatically Sync
        • Breakpoints
        • Colours
      • Shells
      • Custom Tailwind Configuration
      • Import Tailwind Plugins
  • 🖌️Themer
    • Themer
      • Templates
      • Parts
      • Fragments
    • Role Editor
      • User Role
      • Gutenberg Editor
      • Global Block Behaviour
      • Block Toolbar
      • Miscellaneous
      • Components
      • Code Block
      • Blocks
      • Post Types
      • Force iFrame
      • Client Canvas View
      • Help
      • User
  • 🌐Global Styles
    • Global Styles
      • Global Colours
        • Folders
        • Colour tab
        • Palette tab
        • Modifiers tab
          • Opacity
          • Lighten
          • Darken
          • Saturate
          • Desaturate
          • Spin
      • Dark Mode
      • Global Gradients
      • Global Typography
      • Global Block Typography
      • Theme Elements
      • Global Settings
        • Defaults
        • Backend
      • Remove Gutenberg Global Styles
    • Global Classes & Stylesheets
      • Global Classes
      • Global Stylesheets
      • External Classes
  • 🎨Design
    • Background
      • Background Colors
      • Background Source
      • Sizing & Positioning
      • Styling
    • Typography
      • Typography
      • Rem conversion
      • Global Typography
      • Text Align
      • Font Family
      • Font Size
      • Font Weight
      • Spacing
      • Line Height
      • Style
      • Decoration
      • Transform
      • White Space
      • Overflow Wrap
      • Word Break
      • Word Spacing
      • Axes
      • Text Colour
      • Link Colour
    • Fluid Values
    • Layout
      • Display
      • Visual
      • Position
    • Sizing
      • Height
      • Width
    • Margin & Padding
    • Borders
      • Border
      • Shadows
      • Outline
    • Effects
      • General
      • Transitions
      • Animations
      • Filters
      • Text Shadow
      • Tilter
      • Separators
    • Transforms
    • Pseudo Classes/Elements
    • Relative Styling
  • 🎓Advanced
    • Custom CSS
    • Quick Code
    • Scrolling
      • Animate On Scroll
      • Scroll Direction
    • Attributes
    • Tooltip
      • Source
      • Theme
        • Custom Theme
  • 👆Interactions
    • Visibility Conditions
      • Blocks
      • Themer
    • Link
      • Link Source
      • Link Action
    • Interactions
      • Trigger
      • Actions
    • Hover Animation
    • Dynamic Slider
      • Settings Tab
  • 🖥️Editor
    • Inserter Panel
    • Quick Insert
    • Block Inspector
    • Primary Tab
    • Design Tab
    • Advanced Tab
    • Responsive Selector
  • 🔧Blocks
    • Accordions
    • Accordion
      • Basics
      • Settings
      • Colours
      • Layout
      • Typography
      • Margin and Padding
    • Button
      • Add
      • Icon
    • Code
      • Enable/Disable
      • Add
      • Languages
      • Settings
    • Columns
      • Basics
      • Add
      • Settings
      • Grid Editor
        • Auto Grid
        • Auto Template
    • Column
    • Container
    • Div
    • Filter
      • Basics
      • Filter Editor
      • Create a Filter
      • Style a Filter (example)
    • Fragment
    • Gallery
      • Filter
      • Source
      • Settings
      • Text
      • Image Style
    • Heading
    • Hook
    • Icon
    • Image
      • Source
      • Size
      • Settings
      • Hover Animation
    • Input
      • Input Settings
    • List
      • List Types
      • Settings
      • Icon
    • Maps
      • Settings
      • Size
      • Style
      • Overlay Layout
      • Colours
    • Menu
      • Settings
      • Main Menu
      • Sub Menu
      • Items
    • Modal
      • Modal Style
      • Settings
      • Trigger
      • Animation
    • Nav
      • Nav Block Settings and Styles
      • Nav Items Block
      • Nav Dropdown Block
      • Nav Link
      • Custom Dropdown Block
      • Nav Menu
    • Post Content
    • Paragraph
    • Popover
    • Query
      • Query Settings
      • Query Editor
        • Posts
        • Terms
        • Users
        • Comments
    • Query Template
      • Layout
      • Grid editor
    • Repeater
      • Nested Repeater
    • Section
    • Slider
      • Settings
      • Navigation
      • Dots
    • Slide
    • Styler
    • SVG Block
    • Tab List
      • Tab
    • Tab Contents
      • Tab Content
    • Taxonomy Terms
    • Video
      • Source
      • Settings
      • Div Overlay
  • ⚙️Settings
    • Settings
    • License
    • Icon Collections
    • Font Sets
    • Google Maps API
    • Advanced Settings
    • Regeneration
    • WooCommerce
  • 🛒WooCommerce
    • Archive Page
    • Attributes
      • Colour Type
      • Image Type
    • Cart
    • Product Variations
    • Create a Product Type
      • Simple
      • Variable
        • Create Attributes
      • Grouped
      • External
    • Build a Single Product Page
    • Dynamic Content
    • Link
  • 🗃️Miscellaneous
    • Blocks Specifics
    • Icon Selector
    • Trailing Slash
    • Units
      • Default Units
    • Code Snippets
    • Shortcuts
    • Actions
    • Filters
    • Browser Console
  • 🔗Resources
    • Changelog
    • Roadmap
    • Forum
Powered by GitBook
On this page
  • Posts
  • Post ID
  • Exclude Current
  • Include Posts
  • Exclude Posts
  • Comments
  • Author
  • Status
  • Order
  • Order By
  • Order
  • Pagination
  • Items per Page
  • Offset
  • Page
  • Search
  • Status
  • Meta Query
  • Meta Key
  • Meta Value
  • Meta Compare
  • Meta Type
  • Meta Relation
  • Date Query
  • Code

Was this helpful?

  1. Blocks
  2. Query
  3. Query Editor

Comments

Last updated 2 years ago

Was this helpful?

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

Search

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. Find Query Builder icon

  2. Click to open Query Editor

  3. Select Comments in dropdown

  4. Open Meta Query in panel

  5. Find Relation

  6. Select And/Or

  7. Add new Meta Query

  8. Click Name to edit Meta Query

  9. Find Meta Type

  10. 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. Find Query Builder icon

  2. Click to open Query Editor

  3. Select Comments in dropdown

  4. Open Meta Query in panel

  5. Find Relation

  6. Select And/Or

  7. Add new Meta Query

  8. Click Name to edit Meta Query

  9. Find Meta Relation

  10. Choose Relation (And/or)

  11. 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. Find Query Builder icon

  2. Click to open Query Editor

  3. Select Comments in dropdown

  4. Open Date Query in panel

  5. Find Relation

  6. Select And/Or

  7. Add new Date Query

  8. Click Name to edit Date Query

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

Toggle Inclusive
  1. Find Query Builder icon

  2. Click to open Query Editor

  3. Select Comments in dropdown

  4. Open Date in panel

  5. Find Relation

  6. Select And/Or

  7. Add new Date Query

  8. Click Name to edit

  9. Find Inclusive

  10. 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. Find Query Builder icon

  2. Click to open Query Editor

  3. Select Comments in dropdown

  4. Open Code in panel

  5. Find Code

  6. Copy required Code

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Select query block

Click on the ➕ ​​icon to open the

Select query block

Open the

Navigate to the

Click on the ➕ ​​icon to open the

Select query block

Open the

Navigate to the

Click on the ➕ ​​icon to open the

Select query block

Open the

Navigate to the

Click on the ➕ ​​icon to open the

Select query block

Open the

Navigate to the

Click on the ➕ ​​icon to open the

Select query block

Open the

Navigate to the

🔧
Inserter Panel
block inspector
primary tab
Inserter Panel
block inspector
primary tab
Inserter Panel
block inspector
primary tab
Inserter Panel
block inspector
primary tab
Inserter Panel
block inspector
primary tab
How To - Comments Section