How to check if there is any data imported inside field?
-
Hello.
1.
I tried without success to check if there is any data inside some filed and if there is to show it, and if there is no to show some other text for example:check if there is caption and show it if it is there, else, echo some other text?
2.
Also I noticed that if “Automatically display exif” is checked you can control which fields should be shown at the end of post, but if I use php function inside theme files to show for example caption:echo exifography_display_exif(‘caption’);
if there is caption added it will show it even if I checked-out that field on that post from wp edit post page.
Is there any function to check first if that field should be displayed, and if it shout to display it, of course if exist?
Best regards.
- The topic ‘How to check if there is any data imported inside field?’ is closed to new replies.