A block is a group of items with the same shape: home page slides, service cards, partner logos. The administrator manages them under Blocks, with ordering, images (gallery) and fields.
Rendering
foreach (cms39_block_items('slider', ['limit' => 5]) as $slide) {
echo '<h2>' . htmlspecialchars($slide['title']) . '</h2>';
echo $slide['post']; // the body
foreach ($slide['gallery'] as $img) { /* its images */ }
}Each item is what PageDetail() returns, plus gallery, filters and order. Only published items are returned; use ['status' => 'all'] for the rest.
New block from code
cms39_block_register('partners'); // appears in the admin, ready for itemsE-MAIL or by phone at (+30) +30.2152151245-8