<?php/*Template Name: Front page Template*/?>    <!--------------- ------------------->    <!-- Intro section                 -->    <!--------------- ------------------->    <section id="intro">        <header class="intro-header">            <img src="<?php echo get_stylesheet_directory_uri(); ?>/assets/img/picture-header.png"                 class="intro-background">            <h1 class="intro-title">What is I/O ?</h1>            <div class="powered-by">Powered by Code Centric</div>        </header>        <div class="intro-venue">            <div class="date">                <?php                $dateformatstring = "d F Y";                $unixtimestamp = strtotime(get_field('event_date'));                echo date_i18n($dateformatstring, $unixtimestamp);                ?>            </div>            <div class="address"><?php the_field('event_place'); ?><br>                <?php the_field('event_address'); ?>            </div>        </div>        <div class="intro-text row">            <?php if (get_field('question_boxes')): ?>                <?php while (have_rows('question_boxes')):                    the_row(); ?>                    <div class="text-box">                        <h3><span class="<?php the_sub_field('icon'); ?>"></span>                            <?php the_sub_field('question'); ?></h3>                        <span>                            <?php the_sub_field('answer'); ?>                        </span>                    </div>                <?php endwhile; ?>            <?php endif; ?>        </div>    </section>    <!--------------- ------------------->    <!-- About us section              -->    <!--------------- ------------------->    <section id="about-us">        <h2>Über uns</h2>        <div class="row">            <?php            $page = get_page_by_title('Uber uns');            $id = $page->ID;            $post = get_post($id);            $content = apply_filters('the_content', $post->post_content);            echo $content;            ?>        </div>    </section>    <!--------------- ------------------->    <!-- Topics section                -->    <!--------------- ------------------->    <section id="topics">        <div class="triangle-down">            <div></div>        </div>        <div class="row">            <h2>Topics</h2>            <?php if (get_field('topic', 35)): ?>                <?php while (have_rows('topic', 35)):                    the_row(); ?>                    <div class="topic">                        <div class="topic-title">                            <span class="icon-<?php the_sub_field('topic_icon'); ?>"></span>                            <h3><?php the_sub_field('topic_title'); ?></h3>                        </div>                        <div class="topic-description"><?php the_sub_field('topic_description'); ?></div>                    </div>                <?php endwhile; ?>            <?php endif; ?>        </div>    </section><?php get_template_part('speakers'); ?>    <!--------------- ------------------->    <!-- Program section               -->    <!--------------- -------------------><?php $page = get_page_by_title('Program');if (get_field('programm', $page->ID)): ?>    <section id="programm">        <h2>Programm</h2>        <!-- Timetable -->        <div class="row">            <div class="table-responsive">                <table class="timetable table">                    <?php while (has_sub_field('programm', $page->ID)): ?>                        <tr>                            <th><?php the_sub_field('time'); ?></th>                            <td><?php the_sub_field('first_day'); ?></td>                            <td><?php the_sub_field('second_day'); ?></td>                            <td><?php the_sub_field('third_day'); ?></td>                        </tr>                    <?php endwhile; ?>                </table>            </div>        </div>    </section><?php endif; ?>