Using Term-Based Loops in Divi Modules
Term-based loops allow you to dynamically display taxonomy terms—such as categories, tags, or custom taxonomies—within Divi modules that support loop rendering. This is especially useful for building term grids, filter menus, or taxonomy-driven navigation components.
Extended Term Query Type
In the Extended Loop panel, you’ll find a dropdown labeled Extended Term Query Type. This controls how taxonomy terms are retrieved for display. Options include:
- Use Current Loop Query – Uses the default query provided by Divi.
- ACF/SCF Taxonomy Field – Queries terms from a custom field that stores taxonomy references, using either Advanced Custom Fields or Secure Custom Fields.
Custom Field Name
When selecting ACF/SCF Taxonomy Field, an input labeled Custom Field Name will appear. Enter the exact field key used to store the taxonomy reference (e.g., related_categories
or portfolio_tags
).
Hide Empty Terms
Enable the Hide Empty Terms toggle to exclude terms that have no associated posts. This helps keep your layout clean and relevant, especially when using dynamic term grids.
Use Cases
- 🗂️ Display a grid of categories linked to a specific post or page.
- 🔖 Show tags or custom taxonomies stored in ACF fields for filtering or navigation.
- 📁 Build dynamic term menus based on user-defined relationships.
