Problem: retrieving parent category’s first post
The problem is in the logic. A post may have several terms, not all of which will be child terms. For instance, consider the parent > child term relationships: a > b > c d > e f And let’s suppose that our post has the terms c,e and f attached to them. Now the … Read more