Home › Forums › Backend Issues (wp-admin) › Can a field generate a button? › Reply To: Can a field generate a button?
Jarvis, thank for replying. I am doing something wrong. But here is an image to illustrate. Not working with PHP – I have a feeling I don’t have the php code in the correct location as the text “Add button code here” shows up regardless of whether condition works.
See the attached image. If I do not have the php code in the correct place – where does it go?
I left the “Add button” text as I am not there yet. I just want that text to appear and disappear depending on whether the “position_open” T/F is ticked or not in the Position CPT.
Thanks for any continued help.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.