<?php /** * A HTML section with emphasis text and an optional call to action */ ?> <div class="lead text-center"> <?php echo $content; ?> <div class="topspace"> <?php Carawebs\Castleview\Display\Helpers::click_to_call(); //include_once( get_template_directory() . '/partials/click-to-call.php' ); ?> </div> </div>
<?php if (!empty($section_style)) { // The opening div for this section, with the required inline styles echo $section_style; } ?> <div class="container"> <div class="col-md-8 col-md-offset-2"> <div class="text-center"> <h2><?php echo $title; ?> </h2> <div class="lead"><?php echo $content; ?> </div> <?php echo Carawebs\Castleview\Display\Helpers::click_to_call(null, 'Call'); ?> </div> </div> </div> </div>