Title: Linking custom post types
Last modified: August 30, 2016

---

# Linking custom post types

 *  [geenkaas](https://wordpress.org/support/users/geenkaas/)
 * (@geenkaas)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/linking-custom-post-types/)
 * First off, I am sorry but the search is not helping me much, I think I found 
   a bit of the solution here but not completely. I found this do not knoe if it
   is what I am looking for: [http://iworks.pl/firma/klienci/o/onTheGoSystem/types/docs/filters/wpt_field_options.html](http://iworks.pl/firma/klienci/o/onTheGoSystem/types/docs/filters/wpt_field_options.html)
   
   Here is what I want to accomplish:
 * I have two custom post types, say “Brands” and “Products”. When I create a new
   product, I want the post to feature a radio button list that lists all the Brands
   so I can pick which brands produces that product. That is one thing I need to
   do on the back-end and I can’t figure out how to dynamically load the Brands 
   into the Products.
 * Then I want to show all brands on the front end and while doing that, lists all
   the products of that brand below, so it must be something like a linked wp_query
   that calls the brands first (I can do that) and then shows all products for each
   brand like this:
 * Brand 1
    – product 1 – product 2 Brand 2 – product 1 – etc…
 * I would like to get a hint of how to go about this since it would make working
   with types more rewarding.
 * On a side note, I write my own PHP pages and use shortcodes, not the WYSIWIG 
   version.
 * EDIT: changed typo and added link
 * [https://wordpress.org/plugins/types/](https://wordpress.org/plugins/types/)

The topic ‘Linking custom post types’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/types_ced1d3.svg)
 * [Toolset Types - Custom Post Types, Custom Fields and Taxonomies](https://wordpress.org/plugins/types/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/types/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/types/)
 * [Active Topics](https://wordpress.org/support/plugin/types/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/types/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/types/reviews/)

## Tags

 * [wp-types](https://wordpress.org/support/topic-tag/wp-types/)

 * 0 replies
 * 1 participant
 * Last reply from: [geenkaas](https://wordpress.org/support/users/geenkaas/)
 * Last activity: [10 years, 12 months ago](https://wordpress.org/support/topic/linking-custom-post-types/)
 * Status: not resolved