I am trying to: Show the Child Post type (Created with Toolset) fields on the edit page of Parent post type (Easy Digital Downloads, Downloads Post Type)
I expected to see: The the editing fields of the child post type to be available on the edit page of Parent Post Type
I am using Easy Digital Downloads Plugin with Toolset Types. I have created a Custom Child Post Type using Toolset Types called "Changelogs" and assigned this post type to be the Child post type for the "Downloads Post Type" which is created by default available with the plugin "Easy Digital Downloads". I only have the default Title Field and the Editor fields available with this custom post type.
Usually we can assign the fields to be available for editing in the Parent Post Type (in my case it is "Downloads") by editing the Parent Post Type in the listing of Toolset Plugin and then at the bottom inside the "Post Relationships (Parent/Child)" section, there is a link after the name of the Child Post Type that pops up for choosing the fields to be available in the edit screen.
But In my case the Easy Digital Download's Post type is not at all available within the Toolset Type's Post Type listings.
IS there a solution, may be a filter to use to make the "Downloads" Post type available to Toolset Type's Post Type listings?
If not then is there a function that I can use to make the Child Post Types fields available in the Parent Post type's edit screen, since I am only using two default fields (Title and Editor Fields)?
- Temporarily disable the Easy Digital Downloads plugin
- Use Types to register a new custom post type called Downloads (make sure the slug is 'download').
- Set up your post relationships, including the fields to show from the child post type on the parent post edit screen
- Deactivate your new 'download' post type
- Reactivate the Easy Digital Downloads plugin
You should now find that when you edit a download the post relationship section at the bottom displays the required fields.