Skip to main content
se eliminaron 35 caracteres en el cuerpo
Origen Enlace
ErnestoRM
  • 1.8k
  • 1
  • 10
  • 20
$(document).ready(function() {
  $('#media').carousel({
    pause: true,
    interval: false,
  });
});

<?php
// check for rows (parent repeater)
if (have_rows('localidades_prov')): ?>
    <?php // loop through rows (parent repeater)
    while (have_rows('localidades_prov')): the_row(); ?>
        <article class="localidad">
            <?php the_sub_field('titulo_localidad'); ?>
            <p><strong>Técnico Local:</strong>
                <?php the_sub_field('tecnico_local'); ?></p><?php
                // check for rows (sub repeater)
                $active = "active";
                if (have_rows('galeria')): ?>
                    <div class="carousel slide media-carousel" id="media">
                        <div class="carousel-inner">
                        // loop through rows (sub repeater)
                        <?php while (have_rows('galeria')):
                            the_row(); ?>

                            <div class="item  <?php echo $active; ?>">
                                <div class="row">
                                    <div class="col-md-12">
                                        <img style="width: 100%"
                                             src="<?php the_sub_field('galeria_imagen'); ?>"/>

                                    </div>
                                </div>
                              </div>
                            <?php endwhile;$active = ''; ?>
                            <?php $active = '';endwhile; ?>
                            
                        </div>
                        <a data-slide="prev" href="#media" class="left carousel-control">‹</a>
                        <a data-slide="next" href="#media" class="right carousel-control">›</a>
                    </div>
                <?php endif; //if( get_sub_field('galeria') ): ?></article>
    <?php endwhile; // while( has_sub_field('localidad') ): ?>
<?php endif; // if( get_field('localidad') ): ?>
$(document).ready(function() {
  $('#media').carousel({
    pause: true,
    interval: false,
  });
});

<?php
// check for rows (parent repeater)
if (have_rows('localidades_prov')): ?>
    <?php // loop through rows (parent repeater)
    while (have_rows('localidades_prov')): the_row(); ?>
        <article class="localidad">
            <?php the_sub_field('titulo_localidad'); ?>
            <p><strong>Técnico Local:</strong>
                <?php the_sub_field('tecnico_local'); ?></p><?php
                // check for rows (sub repeater)
                $active = "active";
                if (have_rows('galeria')): ?>
                    <div class="carousel slide media-carousel" id="media">
                        <div class="carousel-inner">
                        // loop through rows (sub repeater)
                        <?php while (have_rows('galeria')):
                            the_row(); ?>

                            <div class="item  <?php echo $active; ?>">
                                <div class="row">
                                    <div class="col-md-12">
                                        <img style="width: 100%"
                                             src="<?php the_sub_field('galeria_imagen'); ?>"/>

                                    </div>
                                </div>
                              </div>
                            <?php endwhile; ?>
                            <?php $active = ''; ?>
                            
                        </div>
                        <a data-slide="prev" href="#media" class="left carousel-control">‹</a>
                        <a data-slide="next" href="#media" class="right carousel-control">›</a>
                    </div>
                <?php endif; //if( get_sub_field('galeria') ): ?></article>
    <?php endwhile; // while( has_sub_field('localidad') ): ?>
<?php endif; // if( get_field('localidad') ): ?>
$(document).ready(function() {
  $('#media').carousel({
    pause: true,
    interval: false,
  });
});

<?php
// check for rows (parent repeater)
if (have_rows('localidades_prov')): ?>
    <?php // loop through rows (parent repeater)
    while (have_rows('localidades_prov')): the_row(); ?>
        <article class="localidad">
            <?php the_sub_field('titulo_localidad'); ?>
            <p><strong>Técnico Local:</strong>
                <?php the_sub_field('tecnico_local'); ?></p><?php
                // check for rows (sub repeater)
                $active = "active";
                if (have_rows('galeria')): ?>
                    <div class="carousel slide media-carousel" id="media">
                        <div class="carousel-inner">
                        // loop through rows (sub repeater)
                        <?php while (have_rows('galeria')):
                            the_row(); ?>

                            <div class="item  <?php echo $active; ?>">
                                <div class="row">
                                    <div class="col-md-12">
                                        <img style="width: 100%"
                                             src="<?php the_sub_field('galeria_imagen'); ?>"/>

                                    </div>
                                </div>
                              </div>
                           <?php $active = ''; ?>
                            <?php endwhile; ?>
                        </div>
                        <a data-slide="prev" href="#media" class="left carousel-control">‹</a>
                        <a data-slide="next" href="#media" class="right carousel-control">›</a>
                    </div>
                <?php endif; //if( get_sub_field('galeria') ): ?></article>
    <?php endwhile; // while( has_sub_field('localidad') ): ?>
<?php endif; // if( get_field('localidad') ): ?>
se añadieron 34 caracteres en el cuerpo
Origen Enlace
ErnestoRM
  • 1.8k
  • 1
  • 10
  • 20
$(document).ready(function() {
  $('#media').carousel({
    pause: true,
    interval: false,
  });
});

<?php
// check for rows (parent repeater)
if (have_rows('localidades_prov')): ?>
    <?php // loop through rows (parent repeater)
    while (have_rows('localidades_prov')): the_row(); ?>
        <article class="localidad">
            <?php the_sub_field('titulo_localidad'); ?>
            <p><strong>Técnico Local:</strong>
                <?php the_sub_field('tecnico_local'); ?></p><?php
                // check for rows (sub repeater)
                $active = "active";
                if (have_rows('galeria')): ?>
                    <div class="carousel slide media-carousel" id="media">
                        <div class="carousel-inner">
                        // loop through rows (sub repeater)
                        <?php while (have_rows('galeria')):
                            the_row(); ?>

                            <div class="item  <?php echo $active; ?>">
                                <div class="row">
                                    <div class="col-md-12">
                                        <img style="width: 100%"
                                             src="<?php the_sub_field('galeria_imagen'); ?>"/>

                                    </div>
                                </div>
                              </div>
                            <?php endwhile; ?>
                            <?php $active = ''; ?>
                            </div>
                        </div>
                        <a data-slide="prev" href="#media" class="left carousel-control">‹</a>
                        <a data-slide="next" href="#media" class="right carousel-control">›</a>
                    </div>
                <?php endif; //if( get_sub_field('galeria') ): ?></article>
    <?php endwhile; // while( has_sub_field('localidad') ): ?>
<?php endif; // if( get_field('localidad') ): ?>
$(document).ready(function() {
  $('#media').carousel({
    pause: true,
    interval: false,
  });
});

<?php
// check for rows (parent repeater)
if (have_rows('localidades_prov')): ?>
    <?php // loop through rows (parent repeater)
    while (have_rows('localidades_prov')): the_row(); ?>
        <article class="localidad">
            <?php the_sub_field('titulo_localidad'); ?>
            <p><strong>Técnico Local:</strong>
                <?php the_sub_field('tecnico_local'); ?></p><?php
                // check for rows (sub repeater)
                $active = "active";
                if (have_rows('galeria')): ?>
                    <div class="carousel slide media-carousel" id="media">
                        <div class="carousel-inner">
                        // loop through rows (sub repeater)
                        <?php while (have_rows('galeria')):
                            the_row(); ?>

                            <div class="item  <?php echo $active; ?>">
                                <div class="row">
                                    <div class="col-md-12">
                                        <img style="width: 100%"
                                             src="<?php the_sub_field('galeria_imagen'); ?>"/>

                                    </div>
                                </div>

                            <?php endwhile; ?>
                            <?php $active = ''; ?>
                            </div>
                        </div>
                        <a data-slide="prev" href="#media" class="left carousel-control">‹</a>
                        <a data-slide="next" href="#media" class="right carousel-control">›</a>
                    </div>
                <?php endif; //if( get_sub_field('galeria') ): ?></article>
    <?php endwhile; // while( has_sub_field('localidad') ): ?>
<?php endif; // if( get_field('localidad') ): ?>
$(document).ready(function() {
  $('#media').carousel({
    pause: true,
    interval: false,
  });
});

<?php
// check for rows (parent repeater)
if (have_rows('localidades_prov')): ?>
    <?php // loop through rows (parent repeater)
    while (have_rows('localidades_prov')): the_row(); ?>
        <article class="localidad">
            <?php the_sub_field('titulo_localidad'); ?>
            <p><strong>Técnico Local:</strong>
                <?php the_sub_field('tecnico_local'); ?></p><?php
                // check for rows (sub repeater)
                $active = "active";
                if (have_rows('galeria')): ?>
                    <div class="carousel slide media-carousel" id="media">
                        <div class="carousel-inner">
                        // loop through rows (sub repeater)
                        <?php while (have_rows('galeria')):
                            the_row(); ?>

                            <div class="item  <?php echo $active; ?>">
                                <div class="row">
                                    <div class="col-md-12">
                                        <img style="width: 100%"
                                             src="<?php the_sub_field('galeria_imagen'); ?>"/>

                                    </div>
                                </div>
                              </div>
                            <?php endwhile; ?>
                            <?php $active = ''; ?>
                            
                        </div>
                        <a data-slide="prev" href="#media" class="left carousel-control">‹</a>
                        <a data-slide="next" href="#media" class="right carousel-control">›</a>
                    </div>
                <?php endif; //if( get_sub_field('galeria') ): ?></article>
    <?php endwhile; // while( has_sub_field('localidad') ): ?>
<?php endif; // if( get_field('localidad') ): ?>
se añadieron 4 caracteres en el cuerpo
Origen Enlace
ErnestoRM
  • 1.8k
  • 1
  • 10
  • 20
$(document).ready(function() {
  $('#media').carousel({
    pause: true,
    interval: false,
  });
});

<?php
// check for rows (parent repeater)
if (have_rows('localidades_prov')): ?>
    <?php // loop through rows (parent repeater)
    while (have_rows('localidades_prov')): the_row(); ?>
        <article class="localidad">
            <?php the_sub_field('titulo_localidad'); ?>
            <p><strong>Técnico Local:</strong>
                <?php the_sub_field('tecnico_local'); ?></p><?php
                // check for rows (sub repeater)
                $active = "active";
                if (have_rows('galeria')): ?>
                    <div class="carousel slide media-carousel" id="media">
                        <div class="carousel-inner">
                        // loop through rows (sub repeater)
                        <?php while (have_rows('galeria')):
                            the_row(); ?>
                        <div class="carousel-inner">
                            <div class="item  <?php echo $active; ?>">
                                <div class="row">
                                    <div class="col-md-12">
                                        <img style="width: 100%"
                                             src="<?php the_sub_field('galeria_imagen'); ?>"/>

                                    </div>
                                </div> 

                            </div>?php endwhile; ?>
                            <?php endwhile;$active = ''; ?>
                            <?php $active = ''; ?>/div>
                        </div>
                        <a data-slide="prev" href="#media" class="left carousel-control">‹</a>
                        <a data-slide="next" href="#media" class="right carousel-control">›</a>
                    </div>
                <?php endif; //if( get_sub_field('galeria') ): ?></article>
    <?php endwhile; // while( has_sub_field('localidad') ): ?>
<?php endif; // if( get_field('localidad') ): ?>
$(document).ready(function() {
  $('#media').carousel({
    pause: true,
    interval: false,
  });
});

<?php
// check for rows (parent repeater)
if (have_rows('localidades_prov')): ?>
    <?php // loop through rows (parent repeater)
    while (have_rows('localidades_prov')): the_row(); ?>
        <article class="localidad">
            <?php the_sub_field('titulo_localidad'); ?>
            <p><strong>Técnico Local:</strong>
                <?php the_sub_field('tecnico_local'); ?></p><?php
                // check for rows (sub repeater)
                $active = "active";
                if (have_rows('galeria')): ?>
                    <div class="carousel slide media-carousel" id="media">

                        // loop through rows (sub repeater)
                        <?php while (have_rows('galeria')):
                            the_row(); ?>
                        <div class="carousel-inner">
                            <div class="item  <?php echo $active; ?>">
                                <div class="row">
                                    <div class="col-md-12">
                                        <img style="width: 100%"
                                             src="<?php the_sub_field('galeria_imagen'); ?>"/>

                                    </div>
                                </div>
                            </div>
                            <?php endwhile; ?>
                            <?php $active = ''; ?>
                        </div>
                        <a data-slide="prev" href="#media" class="left carousel-control">‹</a>
                        <a data-slide="next" href="#media" class="right carousel-control">›</a>
                    </div>
                <?php endif; //if( get_sub_field('galeria') ): ?></article>
    <?php endwhile; // while( has_sub_field('localidad') ): ?>
<?php endif; // if( get_field('localidad') ): 
$(document).ready(function() {
  $('#media').carousel({
    pause: true,
    interval: false,
  });
});

<?php
// check for rows (parent repeater)
if (have_rows('localidades_prov')): ?>
    <?php // loop through rows (parent repeater)
    while (have_rows('localidades_prov')): the_row(); ?>
        <article class="localidad">
            <?php the_sub_field('titulo_localidad'); ?>
            <p><strong>Técnico Local:</strong>
                <?php the_sub_field('tecnico_local'); ?></p><?php
                // check for rows (sub repeater)
                $active = "active";
                if (have_rows('galeria')): ?>
                    <div class="carousel slide media-carousel" id="media">
                        <div class="carousel-inner">
                        // loop through rows (sub repeater)
                        <?php while (have_rows('galeria')):
                            the_row(); ?>

                            <div class="item  <?php echo $active; ?>">
                                <div class="row">
                                    <div class="col-md-12">
                                        <img style="width: 100%"
                                             src="<?php the_sub_field('galeria_imagen'); ?>"/>

                                    </div>
                                </div> 

                            <?php endwhile; ?>
                            <?php $active = ''; ?>
                            </div>
                        </div>
                        <a data-slide="prev" href="#media" class="left carousel-control">‹</a>
                        <a data-slide="next" href="#media" class="right carousel-control">›</a>
                    </div>
                <?php endif; //if( get_sub_field('galeria') ): ?></article>
    <?php endwhile; // while( has_sub_field('localidad') ): ?>
<?php endif; // if( get_field('localidad') ): ?>
Origen Enlace
ErnestoRM
  • 1.8k
  • 1
  • 10
  • 20
Loading