0

I have created a category "Videos". "Videos" as parent category, I have created 2 categories "Teasers" and "Trailers".

"Teasers" as parent category, I have created Subcategories "English", "Hindi" and "Telugu"

"Trailers" as parent category, I have created Subcategories "English", "Hindi" and "Telugu"

Videos        (Category ID - 17)
 -Teasers     (Category ID - 18)
  --English   (Category ID - 22)
  --Hindi     (Category ID - 21)
  --Telugu    (Category ID - 20) -  wrong category(Teasers) displayed when function calls for category in the post
 -Trailers    (Category ID - 19)
  --English   (Category ID - 25)
  --Hindi     (Category ID - 24)
  --Telugu    (Category ID - 23)

If you look at the categories in alphabetical order

English, Hindi, "Teasers", Telugu, Videos
English, Hindi, Telugu, "Trailers", Videos

For the posts under the category "Teasers", for "English" and "Hindi" it's displaying "English" and "Hindi". But for "Telugu" where it was supposed to display "Telugu", it's displaying "Teasers".

How to solve this? https://postimg.cc/gallery/283pwssg0/ (link expires in 7 days)

Regards, Sam

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.