Link View : Hiding Image if Empty
-
Hello there.
Im finding that LinkView is a great plugin to feature our site’s listing of artists and creatives. However, Im wondering if there is a conditional that one can set for link images.
About 90% of the people can provide me an image (like a banner sized image) for their link listing. However, for the 10% who just dont want to provide one (or cant), I run into the problem of that listing still creating an img element, with it being blank inside. Is there any shortcode for Linkview that can be used to say “show image unless empty”?
My current shortcode
[linkview show_img=1 cat_name="Art from SoCal Furs" list_symbol=none cat_columns="css(num_columns=2)" link_columns=2 link_items='{"image_l": "", "name_l": ""}' ]
The topic ‘Link View : Hiding Image if Empty’ is closed to new replies.