Hiding empty widget
-
Hello,
I am using the core text widget on my site. In it, I have a shortcode that will display the EXIF data of the image on that specific post. But, some of my images don’t have EXIF data. When that happens, the title of the text widget (EXIF) still appears in the sidebar. I want to have the widget (the whole thing if possible, but at least the title) not display if there is no EXIF data to show so there is no title with nothing under it.
I’ve been searching the web and trying a variety of things for several hours and I can’t find the solution. I’m hoping that someone might be able to assist me.
Thanks.
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Hiding empty widget’ is closed to new replies.