Skip to content

Search includes taxonomy matches

Last updated on June 8, 2026

This session focused on improving search logic to make taxonomy‑tagged content discoverable without disrupting normal search results.

Search results expanded to include taxonomy matches

  • Adjusted search.php so that when a user searches for a term (e.g., “philosophy”), the search now includes posts tagged with that term across the theme and topic taxonomies.
  • Implemented case‑insensitive matching for both term names and slugs.
  • Ensured taxonomy‑matched posts merge seamlessly with regular Relevanssi results instead of replacing them.
  • Verified that taxonomy archive pages remain isolated and unaffected.

Result: searches now surface everything related to a term — both direct text matches and taxonomy‑tagged items — without losing accuracy or breaking existing result ordering.