Home › Forums › General Issues › How to? Dynamic vendor list content and order › Reply To: How to? Dynamic vendor list content and order
I don’t know how you select the vendor.
I would have at least 2 post types for this and optionally 3. These might be custom post types
T
I would have a bidirectional relatioship field between the product and the vendor and I would have a bidirectional relationship field between the review and the product. If the product post type is not used then I’d have a relationship directly between the review and the vendor. The vendor post would have information on the vendor, active, inactive, display order, etc. When generating the content for the review I would query this relationship and alter the results based on whatever is stored for each vendor.
This is boiled down, but it would basically give you the ability to do whatever you need to do.
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.