Essential grid not placing nice with ACF Pro

I am coming back on this previously unresolved ticket

I have set up a custom field in ACF pro.
Field type: File
Return value: File URL

If I insert a shortcode on my page, I get the URL of the file as expected.
I am trying to use this as a link to the file in Essential grid however.

In Essential grid settings I have added a reference to the ACF handle.
I can select this in the skin but the link returns the file ID instead of the URL. It seems that the alias does not respect the “return value” setting in ACF pro and only returns the ID.

Your response was:

ruenelStaff

Feb 27

Hello @mkt1,

I have investigated and I suspect that this is a bug in the latest release of the ACF Pro plugin. I’ve submitted this to our issue tracker so the developers will be made aware of it.

Please bear with us.

It’s been a few months so I contacted Mike, the ACF developer, who did an extensive test with screencast and concluded that ACF is not the cause of the wrong variable being passed. TBH I also could not see how ACF could be at fault as it’s shortcode returns the correct variable and only Essential grid returns the ID instead of the URL.

Could you please check this again as I really need to get this to work. The login credentials in the secure note in the original post still work.

Thank you!

Hi @mkt1,

The issue has been already reported to the plugin author, but regretfully there is no update till now. We will inform you once any update comes on this.

Thanks

Hi, do you mean you contacted the essential grid plugin author? Because I was previously told that the issue was in the ACF Pro plugin. That author checked his code and does not find a bug, he will not make an update and nothing will happen. Please let me know which author was contacted so I can follow up from my end.
Thank you.

Hi @mkt1,

Yes, this issue was already forwarded to the essential Grid plugin author and we don’t have any updates yet.

Thank you.

Interestingly, I have now tried to use “the grid” instead of “essential grid” and get the same result when I link to Meta Data Key my-acf-field-with-return-set-to-url.
When using a shortcode or get_field()/the_field for this it returns the URL as intended but when calling that variable from the grid/essential grid it returns the ID which is useless. So now I have no idea where this is going wrong.

Hi @mkt1,

Thanks for informing us on this, we will check and report this to The Grid plugin developer too.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.