Skip Navigation

[Résolu] Post relationship style display:none in custom post type in wp-admin

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
I have setup post relationship between 2 posts.
When I am going to add or edit any post I see post relationship box display as none.
check attached screenshot.
https://cdn.toolset.com/wp-content/uploads/2017/12/598284-Screenshot_6_2.png?x41285

Solution:
you can specific the fields displayed in the "Post relationship" section, please check these:

1) Dashboard-> Toolset-> Post Types
Find and edit the parent post type, in section "Children Post Types", find the child post type "Quotes", click the link "Select fields", enable the option "Specific fields"-> "Post title", and test again.

2) in case there is any compatibility problem, please deactivate other plugins and switch to wordpress default theme, and test again

Relevant Documentation:

This support ticket is created Il y a 6 années et 11 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

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/Hong_Kong (GMT+08:00)

Ce sujet contient 6 réponses, a 3 voix.

Dernière mise à jour par marcB-6 Il y a 6 années et 11 mois.

Assisté par: Luo Yang.

Auteur
Publications
#598284
Screenshot_6.png

I have setup post relationship between 2 posts.
When I am going to add or edit any post I see post relationship box display as none.
check attached screenshot.

#598437

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - this is strange.

Do you have posts that should display under post relationship box?

When I click on to "Add new" to add new posts for CPT which is a part of Types post relationship, I see the post relationship box. Please check following screenshot.
=> lien caché

#598440

Hi Minesh,
I think I have already provided you with credentials in other ticket.
Can you please check here : lien caché
by login using wp admin.

#599043

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Well - I checked with my test install and I do not able to reproduce this issue.

- Did you installed Types Beta on the test site you shared with me and later you you switched to stable Types version?
- Are you able to reproduce same issue on fresh install?

#599136

Hi Minesh,

- Did you installed Types Beta on the test site you shared with me and later you you switched to stable Types version?
Ans : No
- Are you able to reproduce same issue on fresh install?
Ans : If I install fresh would it keep current data and settings?

#599217

Dear Marc,

Minesh isn't available currently, and I don't have the credentials of your website.

The problem you mentioned above is abnormal, you can specific the fields displayed in the "Post relationship" section, please check these:
1) Dashboard-> Toolset-> Post Types
Find and edit the parent post type, in section "Children Post Types", find the child post type "Quotes", click the link "Select fields", enable the option "Specific fields"-> "Post title", and test again.
2) in case there is any compatibility problem, please deactivate other plugins and switch to wordpress default theme, and test again
3) If the problem still persists, please provide a database dump file (ZIP file) of your website in below private detail box, I need to test and debug it in my localhost, thanks

#599242

Hi Luo,

Thanks for your support.
I found the issue..
It was the conditions I have set up for the fields.

Thanks once again!!