Giacomo Bruzzo

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: ACF Widgets Templates location #95666
    Giacomo Bruzzo
    Participant

    Hello there!

    excellent, apologies for the d’oh! question, should have been more thourough before wasting your time.

    Fantastic plugin, has enabled me to do some wonderful things.

    Giacomo Bruzzo

    in reply to: 'conditional widgets' #94169
    Giacomo Bruzzo
    Participant

    Hello Daron,

    thank you very much, matter was solved.

    Had to insert a repeater field to enter date into a Jquery plugin / player – here is the template code I used, hope it helps others

    Thanks for your help

    <?php

    global $wp_query;

    $post_obj = $wp_query->get_queried_object();

    $page_ID = $post_obj->ID;

    ?>

    <div class=”player”>
    <span class=”tracks”>
    <div class=”post”>
    <?php if( have_rows(‘music’, $page_ID) ): ?>
    <?php while( have_rows(‘music’, $page_ID) ): the_row(); ?>
    ” class=”sc-player”><?php the_sub_field(‘title’, $page_ID ); ?>
    <?php endwhile; ?>
    <?php endif; ?>
    </div>
    </span>
    </div>

Viewing 2 posts - 1 through 2 (of 2 total)