Forum Replies Created
Yes, default value’s bulk update doesn’t work for “Ask For Visitors Name” field, however, we are adjusting it and a new update will be released within the next few hours. Thanks.
If you want you can change these restrictions using the following filters:
add_filter('wpdm_review_package_access_required', function (){ return false; } );
add_filter('wpdm_review_purchase_required', function (){ return false; } );
add_filter('wpdm_review_download_required', function (){ return false; } );
When 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);
What I meant, you need the change the following values with original values:
"ratingValue" ► "*.*",
"ratingCount" ► 0000,
"reviewCount" ► 0000
It 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 and 0000 with rating and review count.
Hi,
Which SEO plugin you are using there?
Yes, you’re right, we missed the expire period for private links generated from lock option. However, we shall adjust it with the nexty update.
They are UI library, please check:
How to manage the styles and scripts of WordPress Download Manager Pro?
You’re welcome.
And many thanks for your appreciation :).
that is not a generic issue, it probably happened due to css conflcit with your theme.
You’re welcome :D.
BTW, if you get some free moments someday, please give us a 5* here https://wordpress.org/support/plugin/download-manager/reviews/#new-post. Thanks in advance.
Also, let me know if you need any other assistance.
However, I see, you also have configured PayPal smart button, which also works fine and customers can pay with PayPal or credit card without leaving your site, why are you trying to use PayPal pro.









