Skip Navigation

[Résolu] How to hide Uncategorized category in Content Form

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

Problem:

I need to hide "Uncategorized" category which is native part of WordPress post in Taxonomy field:

[cred_field field="category" force_type="taxonomy" display="checkbox"].

Solution:

As you can see, there isn't such an option within Toolset form, I suggest you hide "Uncategorized" term with CSS codes, for example:

https://toolset.com/forums/topic/how-to-hide-uncategorized-category-in-content-form/#post-1193466

Relevant Documentation:

This support ticket is created Il y a 5 années et 10 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 2 réponses, a 2 voix.

Dernière mise à jour par toolset-dave Il y a 5 années et 10 mois.

Assisté par: Luo Yang.

Auteur
Publications
#1193321

Hello,

I need to hide "Uncategorized" category which is native part of WordPress post in Taxonomy field: [cred_field field="category" force_type="taxonomy" display="checkbox"]. I know that this category cannot be deleted, so I would like to hide it in frontend Toolset Form at least. How to achieve this?

#1193466

Hello,

As you can see, there isn't such an option within Toolset form, I suggest you hide "Uncategorized" term with CSS codes, for example:

li.tax-uncategorized{
  display:none;
}
#1193554

Thank you, Luo! My issue is resolved now.