<?php $videos = get_posts(array( 'post_type' => 'videos', 'meta_query' => array( 'relation' => 'AND', array( 'key' => 'speaker', 'value' => get_the_ID() ), array( 'key' => 'events', 'value' => $eventid ) ) )); ?> <?php $videoquerys = new WP_Query($videos); ?>
I cam up with trying this inside the foreach(speaker) but i still can’t get the information to show would really appreciate help
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!