Hi, I’ve got the same issue as it’s here: https://acfwidgets.com/support/topic/post-object/. In the widget is the same title as it’s on the top of page. Doesn’t matter if that’s post or page. I need to show there post which I choose in the widget… Any solution?
$post_object = get_field(‘my_post_object’, $acfw);
if( $post_object ):
// override $post
$post = $post_object;
setup_postdata( $post );
?>
<div>
<h3>“><?php the_title(); ?></h3>
</div>
<?php wp_reset_postdata(); // IMPORTANT – reset the $post object so the rest of the page works correctly ?>
<?php endif; ?>