• 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 https://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.