Saltar navegación

[Resuelto] How to hide Uncategorized category in Content Form

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 5 años, 11 meses. 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
- 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)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por toolset-dave hace 5 años, 11 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#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.