|
|
|
|
|
|
1
|
<?php
|
1
|
<?php
|
|
2
|
function create_materials_taxonomy() {
|
2
|
function create_materials_taxonomy() {
|
|
3
|
- $post_types_that_show_materials = [ 'artist', 'exhibition', 'event' ];
|
|
|
|
|
|
3
|
+ $post_types_that_show_materials = [ 'artist', 'exhibition', 'event', 'guide', 'publication', 'object', 'short' ];
|
|
4
|
register_taxonomy('material', $post_types_that_show_materials, ['label' => 'Materials']);
|
4
|
register_taxonomy('material', $post_types_that_show_materials, ['label' => 'Materials']);
|
|
5
|
}
|
5
|
}
|
|
6
|
function create_types_taxonomy() {
|
6
|
function create_types_taxonomy() {
|