Skip to content

Commit

Permalink
Enabling the block editor
Browse files Browse the repository at this point in the history
  • Loading branch information
krugazul committed Oct 30, 2020
1 parent b65c6bf commit 513101c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions includes/post-types/config-accommodation.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
'capability_type' => 'post',
'has_archive' => 'accommodation',
'hierarchical' => false,
'show_in_rest' => true,
'supports' => array(
'title',
'slug',
Expand Down
1 change: 1 addition & 0 deletions includes/post-types/config-destination.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'capability_type' => 'page',
'has_archive' => 'destinations',
'hierarchical' => true,
'show_in_rest' => true,
'supports' => array(
'title',
'editor',
Expand Down
1 change: 1 addition & 0 deletions includes/post-types/config-tour.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
'capability_type' => 'post',
'has_archive' => 'tours',
'hierarchical' => false,
'show_in_rest' => true,
'supports' => array(
'title',
'editor',
Expand Down

0 comments on commit 513101c

Please sign in to comment.