Skip Navigation

[Resolved] removing past relationships and CPT's

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

This topic contains 2 replies, has 1 voice.

Last updated by peterL-5 4 years, 6 months ago.

Author
Posts
#1623487
pic2.PNG

Tell us what you are trying to do?

I have a website using external forum software - that structure that I need to process for API's (e.g. to be used to create programmatically new subforums and access to them).

I created three post types (only relevant fields are displayed here)
mainForum (name, id)
subForum (name, id, parentId, others ...)
topic (name, id, parentSubforumId, others ...)

I experimented and modified fields in these CPT's and even rebuild them from the start so there are remaining slugs (thus I am adding new ones).
My process was: create CPT, add group with fields, populate using "add new".
I did not create templetes for the contents nor views.

When now I add a new mainForum, ALL IS CORRECT - only fields from that CPT appear.

Add New SUBFORUM, I see all fields from the all three CPT's above and also twice repeated complete SUBFORUM fields.

I created relationships and then removed them and this did not help.

I CAN'T CLEAN THIS MESS.
Can you advise please what to do? I am happy to go via phpAdmin with SQL but ...

Thank you
Peter

Is there any documentation that you are following?
forums, your videos - nothing found

Is there a similar example that we can see?

What is the link to your site?

dev1.aidXchange.org

#1623827
new2.PNG
new1.PNG

I deleted and recreated CPT's MainForum and SubForum.

I created relationships between MainForum and SubForum again and when adding a new SubForum post, it correctly displays it as in new2.png.

Old CPT's have fields and remain there - I am unable to remove them.
(I changed the theme to 2020 then went back to Ultimate Member - no place to remove these fields).

#1623959

My issue is resolved now. Thank you!