Forum Replies Created
Yes, that worked.
Is there any documentation on this, because its quite frustrating to try and error and I have to redo 80 packages!!!
I have problems with downloading, not viewing.
While using the above template code (which also has [file_list] as the code to see the preview and download button together), the download button is still opening the pdf instead of downloading. So I think there is still something wrong in [file_list] short code.
https://www.twsalaska.org/test/
-
This reply was modified 4 years, 8 months ago by
Iris Vandenham.
I have the same problem:
https://www.twsalaska.org/test/
I do not have the single-column-with-doc-preview template.
I use a custom template: template-view-download.
<div class=”link-template-default card mb-2″>
<div class=”card-body”>
<div class=”media”>
<div class=”mr-3 img-48″>[icon]</div>
<div class=”media-body”>
<h3 class=”package-title”>[title]</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]
</div>
</div>
</div>
</div>
So it seems the [file_list] shows the 2 buttons
View opens in the pdf viewer
Download opens the pdf file in the same tab, instead of downloads it.
Thanks. Updating the plugin did the trick.
That is what I did.
The following code works:
[wpdm_archive_flat orderby=”title” order=”ASC”]
None of these codes resolve. They just show the code itself:
[wpdm-archive button_style=”secondary” link_template=”link-template-panel” order_by=”post_title” order=”asc” items_per_page=”10″ cols=2]
[wpdm-archive button_style=”default” link_template=”link-template-panel” items_per_page=”10″ category=”category-slug” order_by=”asc” cat_view=”compact”]
[wpdm-archive button_style=”inverse” link_template=”link-template-panel” order_by=”post_title” order=”asc” items_per_page=”9″ cat_view=”compact” cols=3]
[wpdm-archive]
[wpdm-archive category=”8″ cat_view=”compact” button_style=”primary” link_template=”link-template-default.php” order_by=”post_title” order=”asc” items_per_page=”10″]