I have created an image custom field using ACF which will be used as a featured image for each category. What I can't figure out is how to take that information and display it as a background image.
$category = get_the_category(); $category_id = $category->term_id; $category_image = get_field( 'featured_image', $category_id ); var_dump($category_image);
I have used the ACF documentation to write the above but this is displayed as "NULL".
Thanks in advanced!