|
24 | 24 | <div class="row">
|
25 | 25 | <!-- Logo -->
|
26 | 26 | <div class="col-md-6">
|
27 |
| - <h1><img src="/wp-content/themes/cctoolkit/img/logo/<? echo $logo_link ?>" class="img-responsive"/></h1> |
| 27 | + <h1><img src="/wp-content/themes/cctoolkit/img/logo/<?= $logo_link ?>" class="img-responsive"/></h1> |
28 | 28 | </div>
|
29 | 29 | <!-- Menus -->
|
30 | 30 | <div class="col-md-6">
|
31 | 31 | <div id="lang_switcher" class="hidden-xs">
|
32 |
| - <? the_widget('qTranslateXWidget', array('type' => 'list-item', 'hide-title' => true) ) ?> |
| 32 | + <?php the_widget('qTranslateXWidget', array('type' => 'list-item', 'hide-title' => true) ) ?> |
33 | 33 | </div>
|
34 | 34 | <nav class="hidden-xs">
|
35 | 35 | <ul>
|
36 |
| - <li><a href="#intro"><? echo $word_introduction ?></a></li> |
37 |
| - <li><a href="#content"><? echo $word_how ?></a></li> |
38 |
| - <li><a href="#links"><? echo $word_links ?></a></li> |
39 |
| - <li><a href="#downloads"><? echo $word_downloads ?></a></li> |
| 36 | + <li><a href="#intro"><?= $word_introduction ?></a></li> |
| 37 | + <li><a href="#content"><?= $word_how ?></a></li> |
| 38 | + <li><a href="#links"><?= $word_links ?></a></li> |
| 39 | + <li><a href="#downloads"><?= $word_downloads ?></a></li> |
40 | 40 | </ul>
|
41 | 41 | </nav>
|
42 | 42 |
|
|
48 | 48 | <button class="btn dropdown-toggle" type="button" data-toggle="dropdown">
|
49 | 49 | <img src="/wp-content/themes/cctoolkit/img/outline-language-24px.svg" /></button>
|
50 | 50 | <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
|
51 |
| - <? the_widget('qTranslateXWidget', array('type' => 'list-item', 'hide-title' => true) ) ?> |
| 51 | + <?php the_widget('qTranslateXWidget', array('type' => 'list-item', 'hide-title' => true) ) ?> |
52 | 52 | </div>
|
53 | 53 | </div>
|
54 | 54 |
|
|
87 | 87 | }
|
88 | 88 | ?>
|
89 | 89 |
|
90 |
| - <a href="<? echo $download_file_url ?>"><? echo $word_download_call_to_action ?></a> |
| 90 | + <a href="<?= $download_file_url ?>"><?= $word_download_call_to_action ?></a> |
91 | 91 | </p>
|
92 | 92 | </div>
|
93 | 93 |
|
94 | 94 |
|
95 | 95 | <!-- Introduction text -->
|
96 | 96 | <div class="row" style="margin: 0 auto;">
|
97 | 97 | <div class="introduction_text col-md-6 col-xs-12 col-md-offset-3">
|
98 |
| - <? the_field('introduction', 'option'); ?> |
| 98 | + <?php the_field('introduction', 'option'); ?> |
99 | 99 | </div>
|
100 | 100 | </div>
|
101 | 101 | </section>
|
|
104 | 104 | <section id="content" name="how">
|
105 | 105 | <div class="row">
|
106 | 106 | <div class="col-md-12">
|
107 |
| - <h2 name="how"><span><i class="material-icons">business_center</i><? echo $word_how_benefit ?></span></h2> |
| 107 | + <h2 name="how"><span><i class="material-icons">business_center</i><?= $word_how_benefit ?></span></h2> |
108 | 108 | </div>
|
109 | 109 | </div>
|
110 | 110 |
|
|
133 | 133 | <img src="<?php the_field('illustration')['url'] ?>" />
|
134 | 134 | </div>
|
135 | 135 | <div class="col-md-6">
|
136 |
| - <h3><? the_title(); ?></h3> |
| 136 | + <h3><?php the_title(); ?></h3> |
137 | 137 | <p><?php the_field('text') ?></p>
|
138 | 138 | </div>
|
139 | 139 | </div>
|
140 |
| - <? } else { ?> |
| 140 | + <?php } else { ?> |
141 | 141 | <div class="row item left">
|
142 | 142 | <div class="col-md-4 visible-xs">
|
143 | 143 | <img src="<?php the_field('illustration')['url'] ?>"/>
|
144 | 144 | </div>
|
145 | 145 | <div class="col-md-6 col-md-offset-1">
|
146 |
| - <h3><? the_title(); ?></h3> |
| 146 | + <h3><?php the_title(); ?></h3> |
147 | 147 | <p><?php the_field('text') ?></p>
|
148 | 148 | </div>
|
149 | 149 | <div class="col-md-4 hidden-xs">
|
150 | 150 | <img src="<?php the_field('illustration')['url'] ?>"/>
|
151 | 151 | </div>
|
152 | 152 | </div>
|
153 |
| - <? } ?> |
| 153 | + <?php } ?> |
154 | 154 |
|
155 | 155 |
|
156 | 156 | <?php
|
|
172 | 172 |
|
173 | 173 | <!-- Call to Action -->
|
174 | 174 | <div class="call_to_action">
|
175 |
| - <p><? echo $word_for_more_information ?></p> |
| 175 | + <p><?= $word_for_more_information ?></p> |
176 | 176 | <p class="download">
|
177 | 177 | <i class="material-icons">cloud_download</i>
|
178 |
| - <a href="<? echo $download_file_url ?>"><? echo $word_download_call_to_action ?></a> |
| 178 | + <a href="<?= $download_file_url ?>"><?= $word_download_call_to_action ?></a> |
179 | 179 | </p>
|
180 | 180 | </div>
|
181 | 181 |
|
|
185 | 185 | <div class="col-md-2">
|
186 | 186 | </div>
|
187 | 187 | <div class="col-md-4" id="links">
|
188 |
| - <h3 name="links"><span><i class="material-icons">link</i><? echo $word_links ?></span></h3> |
| 188 | + <h3 name="links"><span><i class="material-icons">link</i><?= $word_links ?></span></h3> |
189 | 189 | <?php
|
190 | 190 |
|
191 | 191 | $posts = get_posts(array(
|
|
215 | 215 | <?php endif; ?>
|
216 | 216 | </div>
|
217 | 217 | <div class="col-md-4" id="downloads">
|
218 |
| - <h3 name="downloads"><span><i class="material-icons">folder</i><? echo $word_downloads ?></span></h3> |
| 218 | + <h3 name="downloads"><span><i class="material-icons">folder</i><?= $word_downloads ?></span></h3> |
219 | 219 | <?php
|
220 | 220 |
|
221 | 221 | $posts = get_posts(array(
|
|
0 commit comments