{"id":21813078,"url":"https://github.com/webdevstudios/taxonomy_core","last_synced_at":"2025-04-13T23:26:06.831Z","repository":{"id":12135486,"uuid":"14727862","full_name":"WebDevStudios/Taxonomy_Core","owner":"WebDevStudios","description":"A tool to make custom taxonomy registration just a bit simpler. Automatically registers taxonomy labels, and provides helpful methods.","archived":false,"fork":false,"pushed_at":"2018-04-17T20:17:34.000Z","size":34,"stargazers_count":38,"open_issues_count":8,"forks_count":11,"subscribers_count":64,"default_branch":"master","last_synced_at":"2025-03-27T13:45:09.349Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/WebDevStudios.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-26T20:11:07.000Z","updated_at":"2024-03-22T07:53:56.000Z","dependencies_parsed_at":"2022-09-13T04:14:32.645Z","dependency_job_id":null,"html_url":"https://github.com/WebDevStudios/Taxonomy_Core","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FTaxonomy_Core","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FTaxonomy_Core/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FTaxonomy_Core/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/WebDevStudios%2FTaxonomy_Core/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/WebDevStudios","download_url":"https://codeload.github.com/WebDevStudios/Taxonomy_Core/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248795424,"owners_count":21162771,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-27T14:27:07.982Z","updated_at":"2025-04-13T23:26:06.799Z","avatar_url":"https://github.com/WebDevStudios.png","language":"PHP","readme":"Taxonomy_Core\n=========\n\nA tool to make custom taxonomy registration just a bit simpler. Automatically registers taxonomy labels, and provides helpful methods.\n\nAlso see [CPT_Core](https://github.com/jtsternberg/CPT_Core).\n\n\u003ca href=\"https://webdevstudios.com/contact/\"\u003e\u003cimg src=\"https://webdevstudios.com/wp-content/uploads/2018/04/wds-github-banner.png\" alt=\"WebDevStudios. WordPress for big brands.\"\u003e\u003c/a\u003e\n\n#### Example Usage:\n```php\n\u003c?php\n\n/**\n * Load Taxonomy_Core\n */\nrequire_once 'Taxonomy_Core/Taxonomy_Core.php';\n\n/**\n * Will register a 'Genre' Taxonomy to posts\n * First parameter is an array with Singular, Plural, and Registered name\n */\n$genres = register_via_taxonomy_core( array(\n\t__( 'Genre', 'your-text-domain' ), // Singular\n\t__( 'Genres', 'your-text-domain' ), // Plural\n\t'genre' // Registered name\n) );\n\n$names = array(\n\t__( 'Actress', 'your-text-domain' ), // Singular\n\t__( 'Actresses', 'your-text-domain' ), // Plural\n\t'film-actress' // Registered name\n);\n// Will register an 'Actress' Taxonomy to 'movies' post-type\n$actresses = register_via_taxonomy_core( $names, array(), array( 'movies' ) );\n\n/**\n * Use the Taxonomy_Core object:\n */\n\n// Gets all the taxonomy arguments\n$actress_args = $actresses-\u003eget_args();\n\n// Outputs 'film-actress', the taxonomoy registration name/slug\n$actress_slug = $actresses-\u003etaxonomy();\n\n// Outputs 'Actresses'\n$actress_plural = $actresses-\u003etaxonomy( 'plural' );\n\n// Outputs 'Actress'\n$actress_singular = $actresses-\u003etaxonomy( 'singular' );\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Ftaxonomy_core","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebdevstudios%2Ftaxonomy_core","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebdevstudios%2Ftaxonomy_core/lists"}