Passer la navigation

[Résolu] custom field Condition according to category selected

This support ticket is created Il y a 1 année et 4 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.

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

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

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Minesh Il y a 1 année et 4 mois.

Assisté par: Minesh.

Auteur
Publications
#2682523
Screenshot 2024-02-09 at 4.15.43 PM.png

How can I set the condition according to the category selected in post?

#2682541

Minesh
Supporter

Les langues: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

You can not display custom post field based on the taxonomy term with the section you shared as you can only use post field there with limited custom post field types are supported.

But a the workaround would be to display custom field group based on taxonomy term. Please check the following doc for more information:
- https://toolset.com/course-lesson/conditionally-display-custom-fields-in-wordpress-backend/#conditionally-display-a-group-of-custom-fields