https://github.com/stuttter/wp-term-visibility
Visibility for categories, tags, and other taxonomy terms
https://github.com/stuttter/wp-term-visibility
meta terms visibility wordpress
Last synced: 3 months ago
JSON representation
Visibility for categories, tags, and other taxonomy terms
- Host: GitHub
- URL: https://github.com/stuttter/wp-term-visibility
- Owner: stuttter
- License: gpl-2.0
- Created: 2015-09-01T13:30:45.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2019-06-07T19:21:34.000Z (over 6 years ago)
- Last Synced: 2025-05-07T04:38:03.244Z (5 months ago)
- Topics: meta, terms, visibility, wordpress
- Language: PHP
- Homepage: https://wordpress.org/plugins/wp-term-visibility/
- Size: 40 KB
- Stars: 10
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# WP Term Visibility
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.
# Installation
* 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.# FAQ
### Does this plugin depend on any others?
Not since WordPress 4.4.
Install the [WP Term Meta](https://wordpress.org/plugins/wp-term-meta/ "Metadata, for taxonomy terms.") plugin if you're on an earlier version.
### Does this create new database tables?
No. There are no new database tables with this plugin.
### Does this modify existing database tables?
No. All of WordPress's core database tables remain untouched.
### Can I query for terms by their `visibility`?
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'
) )
) );
```### Where can I get support?
The WordPress support forums: https://wordpress.org/support/plugin/wp-term-visibility/
### Can I contribute?
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!