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


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’)) : ?>

    $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’); ?>
    <!– <iframe width=”560″ height=”315″ src=”; frameborder=”0″ allow=”accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture” allowfullscreen></iframe> –>
    <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; ?>
    <div class=”col-lg-2″>
    <div class=”slider-btns-box”>
    “> Play Video

    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.