Title: Parent from another post type
Last modified: August 22, 2016

---

# Parent from another post type

 *  [webgoddess.me](https://wordpress.org/support/users/webgoddessme/)
 * (@webgoddessme)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/parent-from-another-post-type/)
 * I have two custom post types. Each has their own separate set of meta custom 
   fields, but they have a 1:n relationship to each other. We’ll call them post 
   types A and B… B is a list of items, A is a list of items that will have an unknown
   number of B items within it. Each B item can only have one A item.
 * I’d like to have the permalinks behave, ( so [http://example.com/A-Item/B-Item](http://example.com/A-Item/B-Item))
   but I’m having trouble.
 * I have a work-around that makes everything work fine other than the permalinks(
   where A is referenced through a custom meta box from B) but I’d really love it
   if there was a better way.
 * Post type A cannot be a category (and we all know that using categories sucks
   for permalinks anyway)

The topic ‘Parent from another post type’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [webgoddess.me](https://wordpress.org/support/users/webgoddessme/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/parent-from-another-post-type/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
