Explorar el Código

:sparkles: adding materials to more post types

tags/0.9.0
J hace 4 años
padre
commit
4fe0749ed7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      plugins/cia-post-types/includes/custom-taxonomies.php

+ 1
- 1
plugins/cia-post-types/includes/custom-taxonomies.php Ver fichero

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() {

Loading…
Cancelar
Guardar