Преглед на файлове

:sparkles: adding materials to more post types

tags/0.9.0
J преди 4 години
родител
ревизия
4fe0749ed7
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      plugins/cia-post-types/includes/custom-taxonomies.php

+ 1
- 1
plugins/cia-post-types/includes/custom-taxonomies.php Целия файл

@@ -1,6 +1,6 @@
1 1
 <?php
2 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 4
         register_taxonomy('material', $post_types_that_show_materials, ['label' => 'Materials']);
5 5
     }
6 6
     function create_types_taxonomy() {

Loading…
Отказ
Запис