<?php
    if (!isset($size)) {
        $size = 'small';
    }
    $title = get_sub_field( 'title' );
?>

<?php if($title): ?>
    <?php if($size == 'big'): ?>
        <h2 class="section-title section-title--big"><?php echo $title; ?></h2>
    <?php elseif($size == 'small'): ?>
        <h3 class="section-title section-title--small"><?php echo $title; ?></h3>
    <?php endif; ?>
<?php endif; ?><?php /**PATH D:\Projekti\WordPress\aphea\public\app\themes\aphea\resources\views/blocks/image-text/heading.blade.php ENDPATH**/ ?>