File "method.php"
Full path: /home/xs854402/smcse.co.jp/public_html/test.smcse.co.jp/wp-content/themes/Sumitomo-Mitsui/template/method.php
File
size: 1.31 B
MIME-type: text/plain
Charset: utf-8
Download Open Edit Advanced Editor Back
<div class="p-child__methodContent">
<?php if(have_rows('download')) : ?>
<?php while (have_rows('download')) : the_row(); ?>
<div class="p-child__methodBlock">
<p class="p-child__browser"><?php the_sub_field('download_browser'); ?></p>
<?php
$repeat = get_sub_field('download_repeat');
foreach($repeat as $field) :
?>
<?php foreach($field as $term) : ?>
<div class="p-child__methodWrap">
<p class="c-text"><?php echo $term['download_description']; ?></p>
<?php
$acf_row_image = $term['download_img'];
$url = $acf_row_image['url'];
$alt = $acf_row_image['alt'];
if ($url) :
?>
<div class="p-child__methodImg">
<img src="<?php echo $url; ?>" alt="<?php echo $alt; ?>">
</div>
<?php endif; ?>
</div>
<?php endforeach; ?>
<?php endforeach; ?>
</div>
<?php endwhile; ?>
<?php endif; ?>
</div>