Hi. I’m thinking buy the pro versión, but first I need to know how to implement the ACF into my calendar plugin, Timely All-in-One Events Calendar. I have a custom theme for it, but when using, for example, this code,
I do not know how the other plugin works. When you try to get an ACF field then ACF must be able to figure out what post to get the value from. Usually this is done by getting field inside of “The Loop”. If ACF cannot determine the post ID then you must supply it.
How you can do this depends where, how and when they code is used. Is it in a function? is it in “The Loop”? How is your code called?
Thanks for the reply. From what I’ve managed to find out, php doesn’t work with the plugin’s format, which is Timber (twig files). That’s why the ACF php code doesn’t work, although the shortcodes don’t work either…
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users