Make WordPress Core

Opened 13 years ago

Closed 12 years ago

#17575 closed enhancement (invalid)

Let some post be another's children although they're of different custom post types

Reported by: fonemi's profile fonemi Owned by: gokhan-ozturk's profile Gokhan Ozturk
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords: needs-patch needs-ui dev-feedback
Focuses: Cc:

Description

Think like a scenario :

I have two custom post types, one is "Product" and the other is "Video".

Exactly what I want is to add a new "product" as parent post, and add new "video"s as its children. And a permalink should be http://my_site_address/my-product/my-video/, and the other http://my_site_address/my-product/my-other-video/

Change History (3)

#1 @SergeyBiryukov
13 years ago

Looks like plugin material to me at this point.

Or maybe "Product" should be a custom taxonomy instead, combined with /%category%/%postname%/ permalink structure.

#2 @nacin
13 years ago

The post type API supports this. You just can't do it using the UI or with our built-in post type rewrites.

#3 @nacin
12 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.