This used to work. For a very long time and still does on some content templates. Now, it does not. It returns jumbled HTML like: "‘][/types] ‘][/types] ‘][/types]"
See:
hidden link
Is there any documentation that you are following?
This has worked for me for a very long time. But, I resaved the custom post type and now it doesn't generate. It just gives me the [type/] in the HTML like my code is wrong. But it is not.
If I just put [types field='1st-place-bat-review-id' output='raw'][/types] it will return the value (a number of the post ID). But, when I nest it inside of the other item= it does not work.
So strange, because, like I said, it has worked for a very long time for me. I'm wondering if something became corrupted? Maybe I need to reinstall?
I am editing this directly into a content template. Then, I am using that content template in my post to draw out the custom fields of that particular post. Is that a pagebuilder? I don't know.
Also, what is interesting. If I take your code snippet
and put it into a new content template, it works fine. But, it is when it is inside the content template I have been using for a while it spits out these errors. So, I'd have to retype all of that. Hmmmm.
Hi. Sorry. I see now that, somehow, I had a syntax error in the above section of my content template. No idea when or how it got there, but somehow it did and started throwing off my entire code. It is fixed now. :/