Support

Account

Home Forums Add-ons Repeater Field embed linked not showing in repeater

Unread

embed linked not showing in repeater

  • Hi

    I want to show multiple embed links in one Modal, for this purpose I am using the ACF repeater loop. Let me share my existing code:

    ============================ code start ============================
    <!– repeater-loop –>
    <?php if (have_rows(‘conversation_detail_box’)) : ?>

    <?php
    $counter_video_box = 0;
    while (have_rows(‘conversation_detail_box’)) : the_row();

    // vars
    $conversation_box_title = get_sub_field(‘conversation_box_title’);
    $conversation_box_detail_text = get_sub_field(‘conversation_box_detail_text’);
    $conversation_video_link = get_sub_field(‘conversation_video_link’);

    ?>
    <div class=”kp-careers-row”>
    <div class=”row justify-content-between align-items-center”>
    <div class=”col-lg-3″>
    <div class=”play-video-thumbnail”>
    <div class=”embed-container”>
    <?php the_field(‘conversation_video_link’); ?>
    </div>
    <!– <iframe width=”560″ height=”315″ src=”https://www.youtube.com/embed/Ak6mmcilcho?rel=0&modestbranding=1&autohide=1&showinfo=0&controls=0&#8243; frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe> –>
    </div>
    </div>
    <div class=”col-lg-7″>
    <div class=”kp-careers-content”>
    <h2> <?php echo $conversation_box_title; ?> </h2>
    <div class=”d-readmore-wrapp”>
    <div class=”d-readmore” id=”d-readmore-0″ style=”transition-property: height, min-height; transition-duration: 650ms; transition-timing-function: ease; height: 5.1em;”>
    <p class=”text-truncate-5″>
    <?php echo $conversation_box_detail_text; ?>
    </p>
    </div>
    </div>
    </div>
    </div>
    <div class=”col-lg-2″>
    <div class=”slider-btns-box”>
    “> Play Video
    </div>
    </div>
    </div>
    </div>

    <?php
    $counter_video_box++;
    endwhile; ?>

    <?php endif; ?>
    <!– repeater-loop –>

    ============================ code end ============================

    Can anyone help me in this regard?

Viewing 1 post (of 1 total)

The topic ‘embed linked not showing in repeater’ is closed to new replies.