I’m trying to display 3 custom fields in the sidebar.php, but none of them are showing on front-end
<div><?php the_field('img_lancamento_1'); ?></div>
<p><?php the_field('titulo_lancamento_1'); ?></p>
<span><?php the_field('data_lancamento_1'); ?></span>
Are you calling the acf function inside “The Loop” (somewhere inside the while(have_posts())
loop.
If not then you’ll need to supply the post ID to get the fields from, it’s an optional second parameter for many ACF functions https://www.advancedcustomfields.com/resources/the_field/