Skip Navigation

[Resolved] How to hide Uncategorized category in Content Form

This thread is resolved. Here is a description of the problem and solution.

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 5 years, 10 months ago. 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)

This topic contains 2 replies, has 2 voices.

Last updated by toolset-dave 5 years, 10 months ago.

Assisted by: Luo Yang.

Author
Posts
#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.