Hi, and thank you for reply!
Yes, when i put post ID, i get result, it works.
But without ID it does not work.
But i am using Exec-PHP plugin for inserting php in wordpress and i think it’s the problem with that plugin since the code works in normal php file.
Thank you very much!
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