Skip to content

Wordpress @image directive returns image ID instead of get_field function when using ACF #50

@plumthedev

Description

@plumthedev

When I using @image directive with ACF key, Blade renders it as wp_get_attachment_image(<image id here>, ...) instead of wp_get_attachment_image(get_field('acf key here'), ...). It is problem because image ID by ACF is dynamic and after change it in dashboard, changes does not make effect until rendered views will not be deleted. It is persistent on application in production mode and very dynamic content.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions