I´ve made a custom filed for taxonomy term as category. In fact the image input appears correctly in each category and I´ve uploaded images for them.
My problem is that I dont´t find a way to show the images in this part of the code:
echo ‘<div class=”menu_section_parallax” style=”background-image: url(”)”></div>’;
My idea was to put the custom field code in the background-image url
I´ve tried several solutions I found online but anything works, probably because I´ve made syntax errors or maybe because my approach is wrong.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users