Commit e124e623 by rajshah

registered case study listing

parent 1140ca5b
...@@ -819,5 +819,21 @@ function my_acf_init_block_types() ...@@ -819,5 +819,21 @@ function my_acf_init_block_types()
], ],
], ],
)); ));
// Case Study - Listing Block
acf_register_block_type(array(
'name' => 'Case Study Listing Block',
'title' => __('Case Study Listing Block'),
'description' => __('Case Study - Listing Block for Makura Projects'),
'render_template' => 'blocks/case-study/case-study-listing.php',
'category' => 'formatting',
'icon' => file_get_contents(get_template_directory() . '/assets/img/makura.svg'),
'keywords' => array('Case Study - Listing Block', 'case study', 'listing', 'makura'),
'example' => [
'attributes' => [
'mode' => 'preview',
'data' => [],
],
],
));
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment