Skip Navigation

[Resolved] Child Post Type's Editor Feild is not showing up under the Parent Post Type

This support ticket is created 7 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 0.01 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 6 replies, has 2 voices.

Last updated by syedao 7 years ago.

Assisted by: Nigel.

Author
Posts
#586306

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)?

Any help will be greatly appreciated.

#586590

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

I had to use a little trick to get this to work.

- 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.

Let me know how you get on.

#586592

Brilliant idea, thanks a lot, but I just one quick question where you mentioned "- Deactivate your new 'download' post type"
how to do that?

#586593

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

In Toolset > Post Types which lists the registered post types you can deactivate directly from the list.

#586605
deactivate post type.jpg

I think you mean you change the status of the post type from "Published" to "Draft"? As in the picture that I attached?

#586607

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Screen Shot 2017-11-06 at 09.12.43.png

No. From the list of post types hover over the Downloads post type you temporarily registered and deactivate.

In the screenshot here I have already deactivated it, so that it is greyed-out.

#586622

My bad, i missed that earlier. Thanks for clarifying.