Last active
January 15, 2019 14:28
-
-
Save taciara/06952742f2cb485da0470e0a0171aa5f to your computer and use it in GitHub Desktop.
COMO INSERIR UM REPETIDOR DENTRO DE OUTRO REPETIDOR ACF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php //COMO INSERIR UM REPETIDOR DENTRO DE OUTRO REPETIDOR ACF ?> | |
<section id="case-resultados"> | |
<div class="grid-container"> | |
<?php if(get_field('itens_cases_resultado')): ?> | |
<div id="cases-results"> | |
<?php foreach(get_field('itens_cases_resultado') as $key => $value): ?> | |
<div class="item"> | |
<figure> | |
<img src="<?php echo $value['logo_cases_resultado']; ?>"> | |
</figure> | |
<?php if(isset($value['resultados_cases'])): ?> | |
<div class="list"> | |
<?php foreach($value['resultados_cases'] as $key2 => $value2): ?> | |
<div class="info"> | |
<div class="number"><?php echo $value2['resultado_numeros']; ?></div> | |
<div class="text"><?php echo $value2['chamada_numeros_case']; ?></div> | |
</div> | |
<?php endforeach; ?> | |
</div> | |
<?php endif; ?> | |
</div> | |
<?php endforeach; ?> | |
</div> | |
<?php endif; ?> | |
</div> | |
</section> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment