I think that you’ve lost me, I don’t understand what the problem you having is. Are you trying to put PHP into the wysywig editor of the post? It the code in the template file? I’m going to need a lot more information on what you’re doing and where.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users