Initial commit
This commit is contained in:
22
content-about.php
Normal file
22
content-about.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<p class="about-text">
|
||||
<? the_content();?>
|
||||
</p>
|
||||
<? $people = get_field('editorial-people');?>
|
||||
<? if($people) :?>
|
||||
<p class="about-title">Редакция</p>
|
||||
<div class="about-items">
|
||||
<? foreach ($people as $person) : ?>
|
||||
<div class="about-item">
|
||||
<div class="about-item__img">
|
||||
<img src="<?= $person['image']['url']?>" alt="" />
|
||||
</div>
|
||||
<div class="about-item__wrapper">
|
||||
<p class="about-item__name">
|
||||
<?= $person['name']?>
|
||||
</p>
|
||||
<div class="about-item__position"><?= $person['position']?></div>
|
||||
</div>
|
||||
</div>
|
||||
<? endforeach;?>
|
||||
</div>
|
||||
<? endif; ?>
|
||||
Reference in New Issue
Block a user