Custom Taxonomy correctly works on slugs with multiple words, not single term slugs

Here’s the code for my custom taxonomy.

Whenever there’s a taxonomy that has multiple terms such as ‘Action Adventure’, it would list and display any items in a proper manner. But if the taxonomy is a single term such as ‘Drama’, the page would only display the index.php of the WordPress theme. Basically it has something to do with the presence of a ‘-‘ character present in the slug that seems to make the difference.

Oh, there is no Custom Post Type related to this custom taxonomy.

What am I doing wrong?

Xin chào các bạn và quý Thầy Cô. Hãy nhập từ khóa mình muốn vào ô tìm kiếm trên Website để tìm kiếm mọi thứ hoặc trên google các bạn hãy nhập từ khóa + dethihsg247.com để tìm kiếm các bài viết của chúng tôi nhé.
  • Hiện tại chúng tôi có hơn 25 nghìn bài văn mẫu các thể loại.
  • Kho tài liệu, đề thi học sinh giỏi các lớp vô cùng phong phú.
  • Mỗi ngày cập nhật hơn 100 đề thi chất lượng từ các website bán tài liệu lớn.

Tải đề thi VIP với giá siêu rẻ tại Vip.Dethihsg247.Com