Hi to all,
I’m wondering if is there a way to check if are there any file for a category/tag and show a block of code only if there are some files to show.
In plain English:
[check if there are some file in the “catalogue” category: if true, show the following code]
<h4>Catalogues</>
[wpdm_category id="catalogue" tags="downloadable" toolbar="0" order_by="Date" order="desc" paging="0" cols=1 colspad=1 colsphone=1 template="link-template-default"]
[end check]
The goal is to hide the title if there isn’t any file to download.
Any hint? Thanks in advance.