[Résolu] Custom Field Group Restricted but display in every post type
Ce fil est résolu. Voici une description du problème et la solution proposée.
Problem:
Custom Field Groups are not respecting their display conditions and showing where they should not.
Solution:
This was a bug introduced in Types 3.2.5 which is resolved by updating Types and Access.
This support ticket is created Il y a 5 années et 9 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.
I have installed Types 3.2.5 and Views 2.7.3 version I have created Custom field group for home page templatebut it also displays in other custom post type page in admin can you please check and help me.
This issue is not replicable on a fresh install. It may be a compatibility issue with another plugin/theme or an exceptional case in your website.
To test if it's a compatibility issue, please deactivate all plugins except for Toolset and activate Twenty Nineteen theme and check if the issue exists and update us with the tests results.
If you can see the problem when only Toolset plugins are active with Twenty Ninteen theme, then please prepare a duplicate of your website, upload it to an uploading platform and share the download link in the next private reply.
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
Hi Vimal
Where can I see the issue?
I'm editing posts of different types and I'm seeing the correct field groups on the post edit screen in each case.
The home page field group appears on all post types, but when I edit, for example, FAQ pages, the only other field group is the FAQ page field group (screenshot).
Yes, this is the issue I create Homepage Fields for an only home template but it will display in every post edit. can you please check why this happens.
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
Hi Vimal
Got it!
It's specifically when you have a custom field group assigned to no post types and assigned to a template, it should only then show on post edit screens for posts that use that template. Since the update it is appearing everywhere.
I've reproduced that locally, and so am now escalating.
While on your site, though, what's interesting is that the list of custom field groups suggests that they are *all* deactivated: hovering them shows an activate link.
In which case none of them should appear on the post edit screens.
I'm taking a duplicate of your site as it seems we have something else to look at.
I have one more issue i create one field related to other post type but when i use that field in filter at that time it will not working properly can you please check.
it gives id instead of post title in dropdown. i use below code.
Les langues: Anglais (English )Espagnol (Español )
Fuseau horaire: Europe/London (GMT+00:00)
I just saw a message in the internal channel from the systems team that a file recording the latest versions wasn't updated but it is now, so I think updates should be recognised now, thanks for mentioning.