https://github.com/webdevstudios/taxonomy_core
A tool to make custom taxonomy registration just a bit simpler. Automatically registers taxonomy labels, and provides helpful methods.
https://github.com/webdevstudios/taxonomy_core
Last synced: about 1 year ago
JSON representation
A tool to make custom taxonomy registration just a bit simpler. Automatically registers taxonomy labels, and provides helpful methods.
- Host: GitHub
- URL: https://github.com/webdevstudios/taxonomy_core
- Owner: WebDevStudios
- Created: 2013-11-26T20:11:07.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-04-17T20:17:34.000Z (about 8 years ago)
- Last Synced: 2025-03-27T13:45:09.349Z (about 1 year ago)
- Language: PHP
- Size: 33.2 KB
- Stars: 38
- Watchers: 64
- Forks: 11
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Taxonomy_Core
=========
A tool to make custom taxonomy registration just a bit simpler. Automatically registers taxonomy labels, and provides helpful methods.
Also see [CPT_Core](https://github.com/jtsternberg/CPT_Core).
#### Example Usage:
```php
get_args();
// Outputs 'film-actress', the taxonomoy registration name/slug
$actress_slug = $actresses->taxonomy();
// Outputs 'Actresses'
$actress_plural = $actresses->taxonomy( 'plural' );
// Outputs 'Actress'
$actress_singular = $actresses->taxonomy( 'singular' );
