-
AuthorSearch Results
-
Jun 8, 2020 at 2:53 pm #130106
In reply to: Image preview doesn’t show – 404 image not found
Sef HendrickxParticipantHi Nayeem,
You’re mentioning Additional previews. But i’m not adding mutlple images to the packages.
I’m importing from dropbox so the image preview per item in the package i want to show i based on the url-image i may assume.The demo shows perfect lay-out but i’m getting to the point that it may only work with uploading from the library.
Jun 8, 2020 at 11:47 am #130102In reply to: Download button from appearing in the link template
Jaewon KimParticipant<div class="card bg-light c2a4 mt-2 mb-2"> <div class="card-body text-center pb-4"> <div class="text-center wicon"> [thumb_128x128] </div> <h3 class="p-0 m-0 mb-2"><a style="font-weight: 700" href="[page_url]">[title][ifbutton]</a></h3> <div class="text-muted text-small"><i class="fas fa-hdd"></i> [file_size] <i class="far fa-arrow-alt-circle-down ml-2"></i> [download_count] downloads [ifbutton]</div> </div> <div class="card-footer text-center"> <a href="[page_url]" class="btn btn-secondary">View More</a> <div class="d-button d-inline-block">[download_link]</div> <div class="ml-3 [hide_empty:download_link]">[download_link]</div> </div> </div> <style> .w3eden .c2a4 .wpdm_icon{ height: 64px !important; width: auto; } .well.c2a4 .media-body{ font-size: 11pt; } .w3eden .c2a4 .wicon img{ border-radius: 500px; max-width: 96px;margin: 5px auto 25px; } .w3eden .c2a4 .btn{ border-radius: 50px; font-weight: 500; margin: 0 3px; padding: 0 25px; height: 36px; line-height: 36px; font-size: 12px; } </style>

I made it with the code above, but it doesn’t seem to work properly.
How can I use this tag properly?-
This reply was modified 5 years, 8 months ago by
Jaewon Kim.
Greg HarteParticipantThis reply has been marked as private.May 21, 2020 at 7:01 pm #128846In reply to: adding custom taxonomy to upload form
Nektar BaziotisParticipantThis reply has been marked as private.May 17, 2020 at 1:50 pm #128513In reply to: privete message plugin not come properly
ShahjadaKeymasterThis reply has been marked as private.May 17, 2020 at 4:37 am #128488In reply to: email link is broken
Nayeem RiddhiModeratorHi,
Which add on are you talking about? is it related to https://www.wpdownloadmanager.com/download/file-hosting-sharing-add-on/ or others? please share your package or page URL.
Thanks.
May 14, 2020 at 11:01 am #128280
ShahjadaKeymasterWhen you are using user review plugin, here is the exact code you need to use:
add_filter("wpseo_schema_webpage", function($ldjson){ if(!is_singular("wpdmpro")) return $ldjson; global $wpdm_user_reviews; $reviews = get_posts("post_type=wpdmreview&meta_key=pid&meta_value=".get_the_ID()."&post_parent=0"); $ratingCount = count($reviews); $ldjson['@type'] = 'SoftwareApplication'; $ldjson['@id'] = get_permalink(get_the_ID()).'#SoftwareApplication'; $ldjson['applicationCategory'] = "http://schema.org/OtherApplication"; $ldjson['fileFormat'] = "application/zip"; $ldjson['downloadUrl'] = get_permalink(get_the_ID()); $ldjson['softwareVersion'] = get_post_meta(get_the_ID(), '__wpdm_version', true); $ldjson['operatingSystem'] = 'Any'; $ldjson['aggregateRating'] = array( "@type" ► "AggregateRating", "worstRating" ► 0, "bestRating" ► 5, "ratingValue" ► $wpdm_user_reviews->wpdm_get_average_reviews(get_the_ID()), "ratingCount" ► $ratingCount, "reviewCount" ► $ratingCount ); $ldjson['interactionStatistic'] = array( "@type" ► "InteractionCounter", "interactionType" ► "http://schema.org/DownloadAction", "userInteractionCount" ► (int)get_post_meta(get_the_ID(), '__wpdm_download_count', true) ); return $ldjson; }, 999);May 14, 2020 at 10:35 am #128271
ShahjadaKeymasterIt it is Yoast SEO, you need the add the following PHP code at the end of your active theme’s functions.php:
add_filter("wpseo_schema_webpage", function($ldjson){ if(!is_singular("wpdmpro")) return $ldjson; $ldjson['@type'] = 'SoftwareApplication'; $ldjson['@id'] = get_permalink(get_the_ID()).'#SoftwareApplication'; $ldjson['applicationCategory'] = "http://schema.org/OtherApplication"; $ldjson['fileFormat'] = "application/zip"; $ldjson['downloadUrl'] = get_permalink(get_the_ID()); $ldjson['softwareVersion'] = get_post_meta(get_the_ID(), '__wpdm_version', true); $ldjson['operatingSystem'] = 'Any'; $ldjson['aggregateRating'] = array( "@type" ► "AggregateRating", "worstRating" ► 0, "bestRating" ► 5, "ratingValue" ► "*.*", "ratingCount" ► 0000, "reviewCount" ► 0000 ); $ldjson['interactionStatistic'] = array( "@type" ► "InteractionCounter", "interactionType" ► "http://schema.org/DownloadAction", "userInteractionCount" ► (int)get_post_meta(get_the_ID(), '__wpdm_download_count', true) ); return $ldjson; }, 999);There, replace
*.*with an average rating and0000with rating and review count.May 14, 2020 at 6:40 am #128251In reply to: New Page Template
Nayeem RiddhiModeratorFor the login button adjustment, is it related with WPDM membership add on. please give your page URL too.
Thanks.
May 10, 2020 at 2:05 am #127937In reply to: Paypal Payment Pro
ShahjadaKeymasterMay 6, 2020 at 4:50 pm #127679Topic: cols Parameter Affecting Subsequent Page Element
in forum Download Manager Pro
Linsey PerryParticipantHi!
I am building a grid of downloads using a featured image and title / download link.
My shortcode is…
[wpdm_category id="brochures" title="Brochures & Flooring Guides" template="5eb2d25e265b5" order_by="title" order="asc" cols=3 colspad=2 colsphone=1 download_link=1]My custom template is…
<div class="knowledge-base-download"><a href="[download_url]">[thumb_200x200] <b><a href="[download_url]" class="knowledge-base-download-heading" style="text-decoration: none;">[title]</b></div>Two problems…
- The first element after the wpdm_category shortcode is affected by this code. It looks like it’s throwing everything into a strange column layout, so I’m guessing it’s something to do with the columns.
- Second, less critical problem, is that the title doesn’t appear. Any obvious issues? I don’t mind adding this manually, but while I’m here 🙂
Any ideas or fixes would be massively appreciated.
Thanks so much in advance!
May 4, 2020 at 4:32 pm #127488In reply to: How to create direct download link
Nayeem RiddhiModeratorPlease put this code in your theme
functions.php, let me know if it works for you,add_filter("wpdm_download_url_base", function($base, $ID) { return home_url('/'); } , 10, 2 );Thanks.
Apr 27, 2020 at 7:19 am #126996In reply to: Help With AppShop Theme
Nayeem RiddhiModeratorHi,
For #option1, please your related page link and site URL
For #option2, Short-code for generating tree view of all packages and categories:
[wpdm_tree]are you talking about this? this is related to this add on, https://www.wpdownloadmanager.com/download/wpdm-extended-short-codes/.
Thanks.
Apr 25, 2020 at 8:54 am #126867In reply to: Product Name Not Displayed Properly in PayPal
ShahjadaKeymasterHi,
I had to set the tag[download_page]as return URL value to redirect to the order details page after purchase.

Now, it will redirect to the order details page after purchase.Also, I’ve updated to download limit add-on, and tested there, it is working fine.
However, I’m watching this topic now, please let me know if you need any other assistance or I missed something there.
Apr 24, 2020 at 11:19 pm #126847In reply to: Twitter Lock – Critical Error
ShahjadaKeymasterHi,
Please add your site URL as twitter redirect URL, that will resolve the issue:

And as you know you can create twitter app from here:
https://developer.twitter.com/en/appsApr 20, 2020 at 12:57 pm #126301
BParticipantHi, we are experiencing something similar. The requests that worked fine a couple of weeks ago now returns “404 no route was found matching the url”, which I suspect was caused by the upgrade of WP. Were you able identify the issue?
I’ll add wp-admin login details in a private reply below in case you want check our setup
Apr 17, 2020 at 8:49 pm #126159In reply to: User defined file access
Nayeem RiddhiModeratorThere is also available for download URL generate in the PRO version, but it is limited with the user access role. however, for sharing files you can also use file hosting and sharing add on.
Thanks.
Apr 17, 2020 at 1:07 pm #126089In reply to: Icons not changing inside the packages
Associação Brasileira de FacilitiesParticipantThis reply has been marked as private.Apr 15, 2020 at 3:04 pm #125931
Nayeem RiddhiModeratorHere, One line code has been
$preview = wp_get_attachment_url($preview);updated. for that, it may be missing the earlier additional images. Earlier code settings maybe now deprecated.Apr 14, 2020 at 6:51 pm #125870
FrebersParticipantThis reply has been marked as private.Apr 8, 2020 at 5:00 am #125399In reply to: Download Link not working
AnkushMemberHi Nayeem,
You’re trying the direct download link – which is not what users see.
Go to this page: http://www.nutemplates.com/invoices/blank-invoice-template/
You will see I have an “email lock” on Word & Excel download – they are not working.
When user clicks on them it adds #unlock in the URL and nothing happens.
Please note: there is no email lock on PDF download, which is working fine.So, it is a problem with “email lock” functionality with download.
Please check again!
Apr 7, 2020 at 4:45 pm #125377
ShahjadaKeymasterOkay now. However, here is the explanation:
get_post_meta(get_the_ID(),'__wpdm_additional_previews', true);returns media object ids for additional previews, so code should be like this:$previews = get_post_meta(get_the_ID(),'__wpdm_additional_previews', true); foreach($previews as $preview){ $preview = wp_get_attachment_url($preview); //...... //..... }And to get the featured image, user wordpress’s native function
the_post_thumbnail( 'full' );Apr 7, 2020 at 1:03 pm #125349In reply to: Custom icon
Christiaan van DurenParticipantBut can I add an icon to that library? So I don’t have to find the right url every time?
Apr 4, 2020 at 2:17 pm #125113In reply to: SOCIAL UNLOCK PRO PACKAGE NOT WORKING
Elizabeth MorleyParticipantThis reply has been marked as private.Mar 29, 2020 at 8:41 am #123005In reply to: File Cart Is Empty
Vlado DjuricicParticipantThis reply has been marked as private. -
This reply was modified 5 years, 8 months ago by
-
AuthorSearch Results
Search Results for 'Add Url'
-
Search Results
-
Hi!
I am building a grid of downloads using a featured image and title / download link.
My shortcode is…
[wpdm_category id="brochures" title="Brochures & Flooring Guides" template="5eb2d25e265b5" order_by="title" order="asc" cols=3 colspad=2 colsphone=1 download_link=1]My custom template is…
<div class="knowledge-base-download"><a href="[download_url]">[thumb_200x200] <b><a href="[download_url]" class="knowledge-base-download-heading" style="text-decoration: none;">[title]</b></div>Two problems…
- The first element after the wpdm_category shortcode is affected by this code. It looks like it’s throwing everything into a strange column layout, so I’m guessing it’s something to do with the columns.
- Second, less critical problem, is that the title doesn’t appear. Any obvious issues? I don’t mind adding this manually, but while I’m here 🙂
Any ideas or fixes would be massively appreciated.
Thanks so much in advance!
