<?php /** * Template Name: Custom Template */ $settings = get_option('experiensa-segment-settings'); $segment = new Experiensa\Component\Segment($settings); $segment->setDataFromTemplateName('Custom Template'); $segment_container = $segment->getContainer(); $segment_align = $segment->getAlignment(); $segment_background = $segment->getBackground(); ?> <div class="ui <?php echo $segment_background['class']; ?> vertical segment" style="<?php echo $segment_background['style']; ?> "> <div class="ui <?php echo $segment_container['class']; ?> " style="<?php echo $segment_container['style']; ?> "> <?php while (have_posts()) { the_post(); ?> <div class="ui <?php