Hello, Great plugin, makes setting up custom post types and custom fields super easy. :)
Now I want to interact with them. :)
I know how to display a custom field, manually, without Views Plugin, but How can I check if a custom filed is filled in, and thus echo the field or not?
I tried simple if isset like this:
$prop_city_info = types_render_field("prop-city-info", array("raw"=>"true")); if (isset($prop_city_info))
But it comes back TRUE even though there is no output when I echo the variable.
This custom filed is a File type. And this custom field is empty for sure.
I'm using a custom theme I created. it's very simple. WP 3.3.2 and Types 1.0.1
I've created a custom_post_type of Properties
I've created a Group of Custom Fields called Property Attributes
The custom fields are; address, city info (PDF), marketing flyer (PDF), etc. mostly File types (PDFs) and a few TextFields (simple strings)
Thanks for the help!