Hi,
I want to use an audio module inside my WP_Query loop, but I can’t find a way to accomplish this. Kindly provide the solution for this issue.
<?php
$posts = get_posts(array(
'post_type' => 'testimonials',
));
?>
<div>
<ul class="owl-carousel">
<?php
$i = 0;
foreach($posts as $post) {
$imgUrl = get_the_post_thumbnail_url($post->ID, 'full'); ?>
<li>
<div>
<img src="<?php echo $imgUrl ?>" />
</div>
<div>
<?php echo wpautop($post->post_content, false); ?>
<div>
<h4><?php echo get_the_title($post->ID); ?></h4>
<h6>President, Trade Association - Africa</h6>
</div>
</div>
</li>
<?php $i++; } ?>
</ul>
</div>
I want to use a beaver builder module. Kindy help solve the issue.