Visibility for categories, tags, and other taxonomy terms
WP Term Visibility allows users to assign a visibility to any category, tag, or taxonomy term using a dropdown, providing customized functionality for taxonomy terms.
- Download and install using the built in WordPress plugin installer.
- Activate in the "Plugins" area of your admin by clicking the "Activate" link.
- No further setup or configuration is necessary.
Not since WordPress 4.4.
Install the WP Term Meta plugin if you're on an earlier version.
No. There are no new database tables with this plugin.
No. All of WordPress's core database tables remain untouched.
Yes. Use a meta_query
like:
$terms = get_terms( 'category', array(
'depth' => 1,
'number' => 100,
'parent' => 0,
'hide_empty' => false,
// Query by visibility using the "wp-term-meta" plugin!
'meta_query' => array( array(
'key' => 'visibility',
'value' => 'private'
) )
) );
The WordPress support forums: https://wordpress.org/support/plugin/wp-term-visibility/
Yes, please! The number of users needing more robust taxonomy terms is growing fast. Having an easy-to-use UI and powerful set of functions is critical to managing complex WordPress installations. If this is your thing, please help us out!