Blog

Mixed relationship taxonomy queries in WordPress

Earlier this year we launched a membership component for my very first project with 10up: LearningWorks for Kids. LearningWorks’s content focuses on making the most of digital content to support learning, academics, and development of critical thinking skills. Memberships come with support for multiple private child users, each of whom has a profile that includes their age, thinking skills, academic skills, and special learning needs. Each member can also indicate which digital platforms and devices are available to their child users.

The central benefit of membership, beyond access to exclusive content, is the personalized recommendations across four different content types for each child user. These recommendations take into account the child’s age and available platforms, as well as a combination of skills and needs as indicated in their profile. These are related by five custom taxonomies – platforms, age, thinking skills, academic skills, and special needs. In this instance, we need to get content matching this set of criteria: age AND one of the platforms AND one of thinking skills OR academic skills OR special needs. This is a mixed relationship taxonomy query, and I’ll show you how we pulled it off.

LearningsWorks recommendations

Read More on Mixed relationship taxonomy queries in WordPress