- вставка области --- 
<?= CFS()->get('html_code_1') ?> 
-- ---
- Цикл ----
<?php $show_items = 0; $fields = CFS()->get('services'); $items_count = 0; if(is_array($fields)){foreach($fields as $field) { $items_count += 1; ?>
-  <?= $field['image'] ?>
-  <?= $field['title'] ?>
<?php }} ?>
-- ---
 - Чекбокс для ACF ----
<?php $chebox = CFS()->get( 'name_pp' ); ?>
<?php if ($chebox): ?>  
	Контент
<?php  endif; ?>
-- ---
Рубрики: WordPress