Commit 6bf35d81 by rajshah

registered block for quote

parent f54d22ac
...@@ -723,5 +723,21 @@ function my_acf_init_block_types() ...@@ -723,5 +723,21 @@ function my_acf_init_block_types()
], ],
], ],
)); ));
// SEO - Quote Section
acf_register_block_type(array(
'name' => 'SEO - Quote Section',
'title' => __('Quote Block'),
'description' => __('SEO - Quote Section for SEO Pages'),
'render_template' => 'blocks/seo/quote.php',
'category' => 'formatting',
'icon' => file_get_contents(get_template_directory() . '/assets/img/makura.svg'),
'keywords' => array('SEO - Quote Section'),
'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