Hi Guys,
I’ve been having trouble with displaying a custom post’s image, for some reason it won’t call the image URL, but returns some sort of post ID. Can someone see if I’m doing it wrong?
background-image: url('<?php the_field('image', ($post_id[0]), $p->ID); ?>')
Basically, I want to display the events image from the custom post, on the front dynamically so it can call it by itself on the homepage.
Thanks so much in advanced!
Anybody with more clue than myself?