I don’t want this addon to show this field on the live listings if the business hasn’t filled in that it has any franchises…currently, it is showing a blank field (“connected businesses”). This is the shortcode I’ve used in the tabs to make this show on the listing details page:
[gd_listings post_type=”gd_place” sort_by=”latest” title_tag=”h3″ layout=”list” post_limit=”5″ franchise_of=”auto” add_location_filter=”0″]
I didn’t add it to the menu because I noticed that won’t go away if there’s no info…but I have been able to make this happen for operating hours, where if they do not have operating hours, it won’t show on the front end…I would like this same thing for the franchise feature.
What do I add to make it so that it only shows if there’s actual info to show?