I have two custom templates that display the same data using this code:
<strong>Type:</strong> [types field="publication-type"][/types] [wpv-if pub_type="wpcf-publication-type" evaluate="$pub_type = 'Book'"]- [types field="book-type" raw="true"][/types][/wpv-if] <br /> <strong>Cancer Type(s):</strong> [types field="cancer-type" separator=", "][/types]</p>
When I'm logged in as admin, book-type and cancer-type display properly, but not when I'm logged out. I've looked all over for filters and can't find any.
One custom template is used as a detail page for a CPT, and that doesn't display the data for those fields at all for a logged out user.
The other custom template is for a WordPress Archive page set up through Views for the same CPT. I'm just using test data for 4 publications now. Two are books, one with book-type Fiction and one with book-type Non-fiction. The odd thing on the archive page is that all custom field data displays properly except the book-type field for Fiction. But that data does display when I'm logged in. Have I missed a filter somewhere?