Skip to content

Tag: advanced-custom-fields

WordPress custom field outside of loop

I currently have a banner image on a site which is pulled in via the featured image. The code below that does this works: I would like to change this to use a custom field instead via Advanced Custom Fields. I have made a custom field called banner_image with the type as image url. I cannot seem to get this