The content is about training events internationally

Although trainers, locations, prices and dates are 100% fiction (AI generated), the content of the training sessions, these could all be real training sessions. Who knows, maybe one day you will be one of those people giving training and workshops like this?

We built this to show you the power of nested queryloops, connecting dynamic data via global taxonomies and the use of our conditional block. Below you find a list of custom post types, custom fields and global taxonomies in use.

You can see how events can be displayed per location, how information on a training detail page (event) is manipulated through conditional blocks in the template, and even how that block is used to show the time zone for the online events is always CET, whereas the other times as local.

A video walkthrough is coming soon.

Custom Post Types

It has three custom post types:

  • Event

  • Expert

  • Location

Custom Fields

We added seven custom fields to the Event CPT.

  • Date

  • Start Time

  • End Time

  • Fee

  • Level

  • Format

  • Capacity

The date is not only used in the event display itself, but as meta field it is also for sorting by date in a query loop.

Technical fact: WordPress can’t sort terms from either regular or global taxonomy by default. It needs a meta field for that.

Global Taxonomies

  • Experts

  • Locations

  • Series

  • Skills

  • Topic

What global taxonomies are good for:

  • Reusability: One term like “Intermediate” (under Level) can be applied across posts, avoiding duplication.

  • Filtering: Users can select terms like “Monday” or “Beginner” to filter query loops.

  • Search: You can filter content by global taxonomy values in forms or filters. Filtering is superfast because we respect the technical foundation of WordPress core, using tax_query.

How CPTs and Global Taxonomies are linked

  • CPT Event is linked to the global taxonomies called Experts, Locations, Topic and Series

  • CPT Expert is linked to the global taxonomies called Experts, Locations, Topic and Skills

  • CPT Location is linked to the global taxonomies called Locations*

Why Global Taxonomies are a solid approach with dynamic data

TL;DR:

  • Best practice: Use both taxonomies (for filtering) and custom fields (for sorting)
  • WordPress limitation: You can’t sort posts by taxonomy name or order
  • Greyd.Suite: It doesn’t bypass that limitation, it works with it. Which makes for superfast websites. In geek speak: We use tax_query instead of meta_query.

About display conditions and dynamic data

FeatureGreyd.SuiteACF
Show/hide frontend blocks based on conditions✅ Yes⚠️ Only via custom PHP or theme templates
Conditional display of query results✅ Yes⚠️ Possible, but requires meta_query or code
Form logic (e.g. Greyd Forms)✅ Supports conditions for fields, sections, etc.❌ Not part of ACF