Blade taxonomy template problem: Don't use underscores when naming custom taxonomies

I have a custom taxonomy ‘Digital Series’ (digital_series) - note the use of the underscore.

When creating templates, this works:
As is expected by the WordPress template hierarchy.

This does not:

An easy fix is to use hyphens instead of underscores when registering the taxonomy, but it can be a pain when you have a live website that already uses the underscore naming convention.

I have a github issue open about it:

1 Like

This topic was automatically closed after 42 days. New replies are no longer allowed.