Closed kevinlisota closed 8 months ago
Assuming you're on the latest version, @image
in particular is a little busted right now. https://github.com/Log1x/sage-directives/issues/117
There's a PR open at https://github.com/Log1x/sage-directives/pull/118 but I think it will need something a little different than what is proposed at the moment. I will try to look into it soon.
I have a new installation of Sage 10 and Sage directives, so everything is current. ACF image field name is
my_photo
and returns the image ID.On my `content-single-CPT`` partial, I have the following code:
On my
content-CPT
archive partial, I have the following code:On the archive partial, the
@field
directive correctly returns the image ID from the ACF field. However, the @image directive does not output the image HTML.I'm a bit stumped. In both cases, the call is made "in the loop." Any pointers?