mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-07-17 21:43:20 +09:00
Create one working block (CPT)
This commit is contained in:
@@ -254,9 +254,12 @@ class Display_Featured_Image_Genesis {
|
||||
if ( ! function_exists( 'register_block_type' ) ) {
|
||||
return;
|
||||
}
|
||||
include_once 'blocks/class-displayfeaturedimagegenesis-blocks.php';
|
||||
$blocks = new DisplayFeaturedImageGenesisBlocks();
|
||||
$blocks->init();
|
||||
// include_once 'blocks/class-displayfeaturedimagegenesis-blocks.php';
|
||||
// $blocks = new DisplayFeaturedImageGenesisBlocks();
|
||||
// $blocks->init();
|
||||
include_once 'widgets/class-displayfeaturedimagegenesis-output-block.php';
|
||||
$block = new DisplayFeaturedImageGenesisOutputBlock();
|
||||
$block->init();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user