Skip Navigation

[Resolved] New field for post relationship not showing up in parent editor

This thread is resolved. Here is a description of the problem and solution.

Problem: I have added a custom field to my child post type. When editing the parent post type, the custom field does not appear in the post relationship panel.

Solution: Activate the custom field by editing the child CPT. Scroll to the bottom section where you can select parent post types, and use the "Select fields" link to specify which fields should appear in the Post Relationship editor.

This support ticket is created 6 years, 11 months 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 2 replies, has 2 voices.

Last updated by jeffC-3 6 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#601640

I am trying to:
I added a new field to a post field group which is used with a post type.
Under the post type, the parent is selected.
If I view the post type in admin, the new field is displayed.
However, the new field is not displayed on the admin parent post type in admin.

Link to a page where the issue can be seen:
N/A

I expected to see:
The new field displayed in the parent post type. There currently is 2 Post Relationships shown including the one where the new field was added. I do not know why the one relationship is not showing the new field.

Instead, I got:
Same old post relationship.

It has been a while since I have "coded" with Toolset, so hopefully I forgot one step to show the updated post type in the parent. I am using Types Version 2.2.21. Please don't say the solution is to disable all the plugins.

#601642
Screen Shot 2017-12-26 at 5.43.15 PM.png

Hi, I'm not 100% clear what you're describing. It sounds like:
- You are editing a parent post in wp-admin
- In the Post Relationship panel of this editor you can see at least one child post
- The custom field you want to edit is not visible here in the post relationship editor
- If you edit a child post directly in wp-admin, the custom field is visible

Is this correct? If so, then you can change the fields that appear in the Post Relationship panel by editing the parent post type. Go to Toolset > Post Types and click to edit your parent post type. Scroll down to the bottom where you can define Post Relationships for this post type. You should see your child post type(s) selected here. Next to each selected child post type, you will find a link to select fields. You can choose from several different options in this dialog to add the custom field to the editor.

If I have misunderstood what you are trying to accomplish, please show some screenshots indicating the problem and where you are in wp-admin when the problem occurs.

#601647

That is not what I was describing because I was starting from the bottom of the hierarchy. But by starting at the top with the parent as you described and selecting the fields to display, I was able to select the new field and then it displayed in wp-admin. I would have thought from starting at the bottom, it would have appeared automatically in wp-admin because I wasn't changing the parent. Thanks!