That worked for me thanks Nayeem Riddhi.
I have another doubt if i want to edit this message: “No downloads found!”, is it possible?
I use this shortcode [wpdm_category id=“details, roof-tile” operator=“AND” order_by=“create_date” order=“ASC” cols=“2” colspad=“2” colsphone=“1” toolbar= “0” paging=“0” ] and this returns me when no result is found.
Hi Again Nayeem Riddhi,
I want to get the package ID that is displayed on my page, is it possible? I am using a combination of the shortcode:
[wpdm_category id="details, terraclad" operator="AND" order_by="create_date" order="ASC" cols="2" colspad="2" colsphone="1" toolbar= "0" paging="0" ]
And I modified the default template to display the structure I need, I tried to use get_the_ID but it returns me the post ID but not all the packages that are displayed on my page
<!-- WPDM Link Template: Default Template -->
<div class="link-template-default card mb-2">
<?php
echo 'Post ID: ' . get_the_ID();
?>
<div class="card-body">
<div class="media">
<div class="mr-3 img-48">[icon]</div>
<div class="media-body">
<h3 class="package-title">[page_link]</h3>
<div class="text-muted text-small"><i class="fas fa-copy"></i> [file_count] [txt=file(s)] <i class="fas fa-hdd ml-3"></i> [file_size]</div>
</div>
<div class="ml-3">
[file_list_extended]
[download_link]
</div>
</div>
</div>
</div>
Hi Nayeem Riddhi,
I already achieved what I wanted but I had to use CSS and some styles that I don’t see as flexible but I don’t see another solution, it would be good if each file had a unique class to identify them or instead of the “download” button give the option to show an image instead with the same functionality.
Same thank you very much for the help :).