блоки в админку и фиксы стилей

This commit is contained in:
GP_DEV committed 2025-06-03 21:52:23 +03:00
1 parent 32e9eba2ac
commit 9aa5906efa
16 files changed
+3797 -436

No files matched your search

@@ -73,6 +73,21 @@ function register_acf_blocks() {
),
));
acf_register_block_type(array(
'name' => 'tiles-block',
'title' => __('Блок с плитками'),
'description' => __('Блок с плитками'),
'render_template' => 'template-parts/la-components/blocks/tiles-block/tiles-block.php',
'category' => 'theme-blocks',
'icon' => 'grid-view',
'keywords' => array('плитки', 'карточки', 'tiles', 'cards'),
'supports' => array(
'align' => array('wide', 'full'),
'anchor' => true,
'customClassName' => true,
),
));
acf_register_block_type(array(
'name' => 'reviews-block',
'title' => __('Блок с отзывами'),