[Resolved] hide if empty when using shortcodes?
I use the shortcode format for the layout of my post data. Part of it looks like this:
Sometimes the maps field is left empty but because I have a style applied to the li there is a border at the bottom, like this: <a href=”http://www.oldhousedreams.com/2010/06/10/1639-cape-cod-sandwich-ma”>link</a>, see the extra line under ‘References’?
Is there a way to hide the entire line of
when that field is left blank?
- The topic ‘[Resolved] hide if empty when using shortcodes?’ is closed to new replies.