I want to include:
<?php the_field('200_200_1', 'option'); ?>
before the opening div tag in the line below...
$output .= '<div class="datebarcolor">'.$dates4.'</div>';
I am not sure how to insert the php tag in these circumstances. This is a php file, btw.
Can someone point me in the right direction?
include 'your_file_path.php';at the point you need it. But I do not advice it in your case. Try learning about templating - have a google on it.<?php? Am I wrong?