Skip to main content

Empty options or counts

Symptom​

A Filter Posts Item shows no options, missing terms, or (0) counts for every choice—even though content exists on the site.

Likely causes and fixes​

No published content in scope​

Filter options are derived from content matching the Archive Loop query (post type and base restrictions).

  1. Confirm published posts/products exist for that post type.
  2. Check Archive Loop restrictions (e.g. only a parent category)—terms with no in-scope posts show zero counts.

See Empty filter options.

Wrong taxonomy or meta key​

  1. Verify the taxonomy slug (e.g. product_cat vs category).
  2. For meta filters, confirm the exact meta key spelling.
  3. Re-save a test post with the field to ensure meta is written.

Terms not assigned​

Categories, tags, and attributes must be assigned to products/posts. Unassigned terms never appear or show zero counts.

Hide empty terms enabled​

Hide empty / Hide zero counts settings remove options with no matches. Disable temporarily to see all terms for debugging.

Stock and visibility (WooCommerce)​

Out-of-stock or catalog-hidden products may be excluded from counts depending on loop and filter settings. Align stock visibility between Archive Loop and filters.

Performance / timeout on large catalogs​

Very large catalogs may time out building counts. Consider Catalog Index (Pro) for optimized count queries. See Catalog Index (Pro).

Cache serving stale option lists​

Clear object cache and page cache after bulk imports or taxonomy changes.

Test checklist​

CheckAction
Post typeArchive Loop matches filter item context
TaxonomyCorrect slug, terms assigned
Meta keyField populated on test posts
Base queryNot over-restricted
Hide emptyDisabled for testing

What's next​