Answer the question
In order to leave comments, you need to log in
How to pass post id to modal window in php code?
Kind.
When you click on a post, a modal window opens.
Code in modal window.
<?php
$id = 70;
echo do_shortcode( ''.get_field('slider_exercises', $id).'' );
?>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question