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
  • User Role
  • Role
  • User In
  • User Not In
  • Include/Exclude
  • Include Users
  • Exclude Users
  • Who
  • Count
  • Network
  • Order
  • Pagination
  • Number of Items
  • Offset
  • Page
  • Search
  • 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

Users

Last updated 2 years ago

Was this helpful?

Users are visitors who have login access to your site.

User Role

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

Role

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

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 Users in dropdown

  7. Open User Role in panel

  8. Find Role

  9. Select required filter (Editor, Author, Contributor, Subscriber)

User In

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

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 Users in dropdown

  7. Open User Role in panel

  8. Find User In

  9. Select required filter (Editor, Author, Contributor, Subscriber)

User Not In

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

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 Users in dropdown

  7. Open User Role in panel

  8. Find User Not In

  9. Select required filter (Editor, Author, Contributor, Subscriber)

Include/Exclude

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

Include Users

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

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 Users in dropdown

  7. Open Include/Exclude in panel

  8. Find Include Users

  9. Input Users to include

Exclude Users

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

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 Users in dropdown

  7. Open Include/Exclude in panle

  8. Find Include Users

  9. Input Users to Exclude

Who

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

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 Users in dropdown

  7. Open Who in panel

  8. Find Which Users

  9. Input Names to include

Count

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

Toggle
  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 Users in dropdown

  7. Open Count (in panel

  8. Find Total Count

  9. Toggle on/off

Network

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

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 Users in dropdown

  7. Open Network in panel

  8. Input Blog ID

Order

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

Order and 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 Panel

  6. Select Users in dropdown

  7. Open Order in panel

  8. Select 'order by' terms in dropdown menu

  9. Select 'order' direction for users (descending, ascending)

Pagination

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

Number of Items

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

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 Users in dropdown

  7. Open Pagination in panel

  8. Find Number of Items

  9. Choose number

Offset

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

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 Users in dropdown

  7. Open Pagination in panel

  8. Find Offset

  9. Set required Offset

Page

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

Select
  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 Users in dropdown

  7. Open Pagination in panel

  8. Find Page

  9. Input page value

Search

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

Column

ID Search by User ID

User Login Search by User Login

User Nicename Search by User Nicename

User Email Search by User Email

User URL Search by User URL

Search
  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 Users in dropdown

  7. Open Search in panel

  8. Input Keyword or Select desired identification (ID, Login, Nicename, Email, URL)

Meta Query

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

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 Users 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 Users 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 Users 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

RLIKE (Regular Expression Liike)

NOT RLIKE (Not Regular Expression Like)

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 Builder icon

  5. Click to open Query Editor

  6. Select Users 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. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Users 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 Type

  13. 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. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Builder icon

  5. Click to open Query Editor

  6. Select Users 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 Relation

  13. Choose Relation (And/or)

  14. Add Inner Meta Query name

Date Query

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

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

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 Users in dropdown

  7. Open Date Query in panel

  8. Find Relation

  9. Select And/Or

  10. Add new Date Query

  11. Click Name to edit Date Query

  12. 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. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Users in dropdown

  7. Open Date in panel

  8. Find Relation

  9. Select And/Or

  10. Add new Date Query

  11. Click Name to edit

  12. Find Inclusive

  13. Toggle on/off

Code

The Code property 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. Open the Block Inspector

  3. Navigate to the Primary tab

  4. Find Query Editor icon

  5. Click to open Query Editor

  6. Select Users in dropdown

  7. Open Code in panel

  8. Find Code

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

Select query block

Select query block

Select query block

Select query block

🔧
See Order and Order By (Posts)