Hi I'm using ACF or Advanced Custom Fields which i saw here a while ago..
What i want is to output a second featured image in the homepage..
Question: 1
<div class="jpl-widgets-d" style="background: url('<?php the_field('featured_home_page_image'); ?>') no-repeat;">
</div>
<?php the_field('featured_home_page_image'); ?>
= URL OF THE IMAGE
The ACF should output the URL of the image i uploaded..
Here's the plugin documentation LINK
Field Name: featured_home_page_image Field type: Image Return Value: URL
Help. thanks!
src
attribute or thestyle
attribute after you run the code. Look at the page source. Never write "it's not working" in a question. Tell what is happening or not happening.