Skip to content

Commit 2817220

Browse files
authored
feat: add support for Newspack Blocks (#52)
1 parent 8ebf72e commit 2817220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/class-newspack-sponsors-core.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public static function register_cpt() {
8888
'public' => false,
8989
'show_ui' => true,
9090
'show_in_rest' => true,
91-
'supports' => [ 'editor', 'title', 'custom-fields', 'thumbnail' ],
91+
'supports' => [ 'editor', 'title', 'custom-fields', 'thumbnail', 'newspack_blocks' ],
9292
'taxonomies' => [ 'category', 'post_tag' ], // Regular post categories and tags.
9393
'menu_icon' => 'data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgd2lkdGg9IjI0Ij48cGF0aCB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGQ9Ik0xMiAyQzYuNDggMiAyIDYuNDggMiAxMnM0LjQ4IDEwIDEwIDEwIDEwLTQuNDggMTAtMTBTMTcuNTIgMiAxMiAyem0xLjQxIDE2LjA5VjIwaC0yLjY3di0xLjkzYy0xLjcxLS4zNi0zLjE2LTEuNDYtMy4yNy0zLjRoMS45NmMuMSAxLjA1LjgyIDEuODcgMi42NSAxLjg3IDEuOTYgMCAyLjQtLjk4IDIuNC0xLjU5IDAtLjgzLS40NC0xLjYxLTIuNjctMi4xNC0yLjQ4LS42LTQuMTgtMS42Mi00LjE4LTMuNjcgMC0xLjcyIDEuMzktMi44NCAzLjExLTMuMjFWNGgyLjY3djEuOTVjMS44Ni40NSAyLjc5IDEuODYgMi44NSAzLjM5SDE0LjNjLS4wNS0xLjExLS42NC0xLjg3LTIuMjItMS44Ny0xLjUgMC0yLjQuNjgtMi40IDEuNjQgMCAuODQuNjUgMS4zOSAyLjY3IDEuOTFzNC4xOCAxLjM5IDQuMTggMy45MWMtLjAxIDEuODMtMS4zOCAyLjgzLTMuMTIgMy4xNnoiIGZpbGw9IiNhMGE1YWEiLz48L3N2Zz4K',
9494
];

0 commit comments

Comments
 (0)