Home › Forums › General Issues › Get posts based on relationship › Reply To: Get posts based on relationship
I hear you, but Product Type, Season, and Brand are all attributes whereby you filter a product. So you can create a page for Product Type by creating a template that pulls all of the possible values for a given attribute and generating a div for each. When you click through to one of the Product Types, you display a page of Product posts that is filtered by that Product Type. Then you can have, say, a sidebar that displays all the other attributes you can filter by (like Seasons). Something like the way Amazon presents its products. You have to visualize this as a relational database and imagine the data structures and their hierarchies.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.