Hi,
I am using the “Button Template” in Link Templates.
However as I will have multiple downloads on each page I would like to show the filename as the active link text on the button instead of the word “Download”. Can you explain how I can accomplish this please?
I tried adding [title] to the template, which renders the filename, but I want the filename to be the actual link, so that I can remove the word ‘download’
Thanks
Problem solved.
The error was not from wpdm-general functions. Here filenames with umlauts are no problem. But if you use a link template with pdf_thumbnail imagemagick doesn’t find the pdf.
It then throws this error in front-end as I wrote above.
ImagickException thrown
UnableToOpenBlob `C:/xampp/htdocs/wordpress/wp-content/uploads/download-manager-files/1490028691wpdm_ExtbäseFluidCheatSheetTypovision.pdf’: No such file or directory @ error/blob.c/OpenBlob/2702
With <strong>utf8_encode</strong>($source) in class.Filesystem.php:339 it works.
if(!class_exists('Imagick')) return "Imagick is not installed properly";
try{
$source = utf8_encode($source);
$image = new \imagick($source);
$image->readImage($source);
$image->setResolution( 800, 800 );
$image->setImageFormat( "png" );
$image->writeImage($dest);
}
Now I try to find out why some colored pdf’s only render greyscaled thumbnails … :-/
This reply has been marked as private.
Using wpdm pro, if you make something like this:
https://demo.wpdownloadmanager.com/wpdmpro/download/audio-songs/
You can achieve it by adding multiple MP3 files with your package and enabling individual file download.
or this ( at the bottom of the page ):
https://demo.wpdownloadmanager.com/wpdmpro/ready-to-use-templates/#audio
You simply need to use category or package shortcode and select template link-template-audio
You also can make your own template using template tags, Docs:
Templates
But, please let me know if anything is not clear, in that case, please give me temporary wp-admin login info in a private reply, I shall create some sample for you.

JMember
Thanks for the CSS class names Shahriar.
Theres’ a lot about design I’m still learning but part of the reason why I purchase themes and plugins from developers is so that I can spend less time searching or tweaking code and work more with other extensive customization interfaces and options.
However when it’s necessary to edit code it’s helpful when the developer openly provides basic documentation to it’s paid users on how to make the required changes in the style.css or functions.php files rather than having to use tools like inspector.
Fortunately you’ve documented many other action, filter, and function references but there isn’t anything on customizing download_link_extended
and the template builder doesn’t allow us to change the default design which may not work well in various cases.
Different plugins for the different purpose, coded by different coders with different coding styles and you can’t measure on the same scale. I asked for the screenshot to see how you want to make it, after seeing your screenshot, it seems to me, to is not possible to bring exact style just editing CSS. You repeatedly asking for CSS classes, with due respect, actually who knows well about design, don’t have to ask for CSS classes, they can easily identify it using inspector with the browser ( https://developer.mozilla.org/en-US/docs/Tools/Page_Inspector/UI_Tour ). I also sent you the screenshot for that in my reply #55668. However, the exact CSS class names are .form-group
for wrapper div and .form-control
for input field:
https://www.evernote.com/l/AV3ZS5mmnm5NIbotu9itDIiXiVRqljsRNZYB/image.png

JMember
Hi Shahriar,
I would like to change the default [download_link_extended] design to a simpler inline opt-in as pictured in the attachment.
I plan on using different colors and text but I would like the the same basic form layout.
If you have any recommendations that will be greatly appreciated since I don’t have the predefined CSS classes you used to style the [download_link_extended]
form, but I will try to use the inspector as well.
Many thanks.
As shaon mentioned in #55646
#2. They can configure their public profile page ( store display page ) from here http://clics.online/store/author-dashboard/?adb_page=edit-profile
And To sell items, your need to configure payment gateways ( docs: https://www.wpdownloadmanager.com/doc/using-premium-package/settings-premium-package/ )
Anyone can signup from here http://clics.online/store/sign-up/
And start selling from http://clics.online/store/author-dashboard/, in wpdm setting front-end page, you can keep their product pending for approval or auto publish.
All docs, explaining those features are available here https://www.wpdownloadmanager.com/docs/
Actually the code part of [download_link_extended]
is complex, please give me a screenshot mockup making what you exactly want to change, so that, I can suggest your required CSS changes. But, if you are looking for the names of CSS classes and IDs, you may use inspector like this:
https://www.evernote.com/l/AV2KymMDrS1OtY0Oq80A9JrSZjV-YTKhXJsB/image.png
Your order is now linked with your account, you can download it from https://www.wpdownloadmanager.com/user-dashboard/purchases/

JMember
Thank you for the action, filter, and function references Shaon.
I haven’t been able to find the other predefined CSS classes you used to style the [download_link_extended] form.
I know you’ve already mentioned .wpdm_submit.btn.btn-success in your earlier post, but what about the other classes and ID’s?
I would really appreciate that info so that I can customize the [download_link_extended] form.
Many thanks.
If you are using multi-site structure, you don’t need additional add-ons, you simply need to activate wpdm in each subsite separately, Admin of any subsite will be able to manage his category and downloads the way they want, as items of one subsite doesn’t interfere with items of another subsite.
But,
#1. if you want to allow the admin to edit categories from front-end, what will require some customization ( Around 3 hours ). = $225 – https://www.wpdownloadmanager.com/download/custom-upgrade-service/
#2. You will need developer license of WordPress Download Manager = ( Upgrade price is $175, upgrade link https://www.2checkout.com/checkout/purchase?sid=1560048&quantity=1&product_id=6 )
So, total cost is only $400, you even don’t have to go to bank, a punch from your credit card corner will be enough 😀
Hi,
what can I do : Download is not possible: Expired link. I use the prof version and the password lock.
It works with firefox but not with safari.
Thanks
W.
You can do it manually in this way:
<a href="//your-site-url/?wpdmdl=[ADD_FILE_ID]">[your custom button image or text]</a>
Or, use short-code:
[wpdm_package id="[ID]" template="link-template-button.php"]
And use the following add-on to add your custom button image:
WPDM Image Button
Thanks Shaon.
The url is: http://atesolutions.co.uk.gridhosted.co.uk/module-testing/flex-10/
On the right hand side there are a number of download links.
The first one is attempting to use the shortcode.
The next four are the original buttons with no shortcode.
The bottom button labelled ‘Download’ is using your shortcode but added via a text widget. This proves the shortcode works normally when not used in a custom field. However as I need different buttons on each page I cannot add them using the text widget.
I have added the following code to my page template used for that page:
echo apply_filters('the_content', get_post_meta($post->ID,'pdf_download_button', true));
The name of the custom field is: Pdf Download Button
Thanks for taking the time to help.
Kind Regards,
David
Sorry for your trouble, your order is now linked with your account, please go to premium download area ( https://www.wpdownloadmanager.com/user-dashboard/purchases/ ) to download.
The shortcode used there is:
[wpdm-archive button_style="inverse" link_template="link-template-panel-1-3" order_by="post_title" order="asc" items_per_page="10" cat_view="compact"]
You may use the following add-on to generate shortcode:
Advanced TinyMCE button
Thank you very much Shaon, as I get familiar with this product while setting up my new site I see that it is every bit as valuable and well built as I expected.
It is forcing me to extend my coding skills too. I’ve read up on the Combinators for Selectors so I completely get the formatting now. Because you’ve laid everything out so well it is really actually quite easy.
The last question I have for this thread is this:
I cannot get the font color to change for the actual [Page_Link]. I this becasue it is inside a shortcode?
I thought the complete identifier for the css element was:
.col-md-6 .thumbnail .media .media-body .h4 {
color:blue;
}
But no combination gets the font color to respond.
My Link Template code:
<div class="col-md-6">
<div class="thumbnail">
<div class="media">
<a class="pull-left" href="[page_url]">[icon]</a>
<div class="media-body">
<h4 style="padding-top: 70px;border:0px;margin:0px;">[page_link]</h4>
[download_link] <i style="margin: 2px 0 0 5px;opacity:0.5" class="fa fa-th-large"></i></br>
[file_size] <i style="margin: 2px 0 0 5px;opacity:0.5" class="fa fa-download-alt"></i></br>
[download_count] downloads
</div>
</div>
</div>
</div>
.

JMember
I appreciate the help thus far, and I understand if it’s too lengthy to do this feature by feature in a forum thread.
However as I initially asked I’d like to try to customize it myself, but like many other previous requests in the forum, it would be nice to know the list of predefined CSS selectors and functions we need to edit in the style.css and functions.php ?
While the template editor does provide a lot of helpful code to customize many other links and page features, but all it allows me to do with [download_link_extended] is rearrange the default design.
Do you provide any documentation for paid Pro users that want to make further customizations to [download_link_extended] on their own ?
Thank you.
@manuelpalachuk, you simply need to create a new link/page template or clone an existing template, then edit html and save. Yes, you can override class css styles by apply new rules for that class in custom css box showed in earlier reply :), but please let me know if anything is not clear, or you may also give me a mockup image of the template, in that case, I can suggest your proper css.
@jj1, Yes, you need to create a new link template only using tag [download_link_extended]
The URL’s was not working due to htaccess rules or something else related to your server, however, I modified download link code little bit and now they are working fine. Please check here: http://biometaldemo.eu/wpdm-test/.
This reply has been marked as private.
Hi, I’m trying to add Download Manager to an existing site.
I currently have download buttons appearing in a side bar on the right of my page. These are added by including the links in ‘Custom fields’ section of the page.
When I replace the links with the Shortcode for Download Manager, it only displays the shortcode. Is there any way to get the custom fields to render the shortcode to get the Download Manager functionality?
Thanks,
Dave

JMember
Yes it would be nice to learn more about CSS selectors so we can customize templates variables.
For example how can I customize the Email lock variable [download_link_extended] using CSS?
I would like to edit the “Subscribe to download” title as well as the color of the “Download” button.
Also is there any way to edit the default WPDM New Package widget to create a simpler e-mail before download opt-in using just the [download_link_extended] variable?
Many thanks.
For search button and category selector, you may use following short-code:
[wpdm-archive button_style="inverse" link_template="link-template-panel-1-3" order_by="post_title" order="asc" items_per_page="10" cat_view="compact"]
Demo:
https://demo.wpdownloadmanager.com/wpdmpro/archive-page-compact/
For translation, did you create wpdmap-es_ES.po
?