Hello guys. Is it possible to add content from custom fields to the Global Blocks?
I’m using custom fields in my php files like:
<?php $image = get_field('image_1'); if( !empty($image) ): ?> <div style="background-image: url('<?php echo $image; ?>');"></div> <?php endif; ?>
And it works great for me. I would love to add similar feature to my Global Blocks. How can I do that? Thanks for your help!