Skip Navigation

[Resolved] Field groups not displayed for custom post

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by yusufS 1 year, 7 months ago.

Assisted by: Waqar.

Author
Posts
#2596139
Screenshot 2023-04-18 at 13.29.10.png
Screenshot 2023-04-18 at 13.25.06.png
Screenshot 2023-04-18 at 13.25.28.png

Tell us what you are trying to do?
I have created a new custom post type (Company) and a custom field group for it. When I look at the details for the custom post type or when I'm trying to add a custom post, the custom fields in the field group are not displayed there.

If I add another existing custom field group to the new custom post type, I see those fields without a problem. If add the new custom field group to another old custom post type, I cannot see them in the old custom post type.

Is there any documentation that you are following?
-

Is there a similar example that we can see?
I see similar tickets here that refer to caching. Which cache I should clear and how? I cannot disable existing plugins or the theme since this is a live site. example: https://toolset.com/forums/topic/field-groups-not-displaying-when-adding-new-custom-post/

What is the link to your site?
hidden link

#2596309

Nigel
Supporter

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

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

Hi there

I can't really diagnose the issue without running some tests on the site.

If we can't find a solution through trial and error, I'd suggest you create a staging site that can be used for testing.

In the meantime I suggest you delete the problem field group and start again with a new one. You can add the individual fields you already created to the new field group, you don't have to recreate those to.

Go to Toolset > Custom Fields to see a list of field groups and delete the problem field group.

Then from the same screen add a new field group, and when you go to add new fields to it you will be able to choose from previously created fields.

Save the field group, and then edit the condition for where the field group appears to specify the companies post type.

Does it then work?

#2596403

Hi Nigel, thanks for jumping on this.

I tried this but I still have the same problem

#2597115

For some reason, the problem is just fixed by itself