Browse Source

:sparkles: added metaboxes for hero and sticky for new post types

tags/0.9.0
J 4 years ago
parent
commit
9710017252
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      plugins/cia-post-types/includes/custom-metaboxes.php

+ 2
- 2
plugins/cia-post-types/includes/custom-metaboxes.php View File

39
         $cmb = new_cmb2_box([
39
         $cmb = new_cmb2_box([
40
             'id'              => 'hero_metabox',
40
             'id'              => 'hero_metabox',
41
             'title'           => __( 'Hero', 'cmb2' ),
41
             'title'           => __( 'Hero', 'cmb2' ),
42
-            'object_types'    => ['artist', 'episode', 'event', 'exhibition'], // Post type
42
+            'object_types'    => ['artist', 'episode', 'event', 'exhibition', 'guide', 'short', 'object', 'publication'], // Post type
43
             'show_in_rest'    => WP_REST_Server::READABLE
43
             'show_in_rest'    => WP_REST_Server::READABLE
44
         ]);
44
         ]);
45
 
45
 
62
         $cmb = new_cmb2_box([
62
         $cmb = new_cmb2_box([
63
             'id'           => 'stick_metabox',
63
             'id'           => 'stick_metabox',
64
             'title'        => __( 'Sticky Post', 'cmb2' ),
64
             'title'        => __( 'Sticky Post', 'cmb2' ),
65
-            'object_types' => ['artist', 'event', 'exhibition', 'episode', 'page', 'post'], // Post type
65
+            'object_types' => ['artist', 'episode', 'event', 'exhibition', 'guide', 'short', 'object', 'publication', 'page', 'post'], // Post type
66
             'show_in_rest' => WP_REST_Server::READABLE
66
             'show_in_rest' => WP_REST_Server::READABLE
67
         ]);
67
         ]);
68
 
68
 

Loading…
Cancel
Save