Forum Replies Created
Please send me sample PDF to check with my setup.
I have to check package permissions. Please send wp-admin login info in private reply.
Send temporary wp-admin and FTP login info in private reply. I will add the code for you.
1 ) Added some custom css in theme customizer to adjust the category section heading
2 ) Added the following code in theme’s functions.php file to hide admin bar for all roles except administrator,
add_action('after_setup_theme', 'wpdm_remove_admin_bar');
function wpdm_remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
show_admin_bar(false);
}
}
3 ) You have to set the page template Contact to load the map.
4 ) Where does it redirect after payment? Although an email is sent to the user with necessary instructions to access their downloads.
Please install the latest version and let me know when it is done. Plugin deletion option is not appearing for my user even though I disabled it on all subsites.
Sorry, I forgot to inform you about that doc preview works only in public downloads. Because google doc viewer needs access to the file to show the preview.
You can use the PDF Viewer add-on. It works on private file too.
Please add the following code to your theme’s functions.php file and use [wpdm_download_tags cols="4" icon="tag" btnstyle="default"] shortcode to show the custom download tag created by the code I posted above.
add_shortcode( 'wpdm_download_tags', 'wpdm_download_tags');
function wpdm_download_tags($params = array()){
global $wpdb;
@extract($params);
$parent = isset($parent)?$parent:0;
$args = array(
'orderby' ► 'name',
'order' ► 'ASC',
'hide_empty' ► false,
'exclude' ► array(),
'exclude_tree' ► array(),
'include' ► array(),
'number' ► '',
'fields' ► 'all',
'slug' ► '',
'parent' ► $parent,
'hierarchical' ► true,
'child_of' ► 0,
'get' ► '',
'name__like' ► '',
'pad_counts' ► false,
'offset' ► '',
'search' ► '',
'cache_domain' ► 'core'
);
$categories = get_terms('download-tag',$args);
$pluginsurl = plugins_url();
$cols = isset($cols)&&$cols>0?$cols:2;
$scols = intval(12/$cols);
$icon = isset($icon)?"":"";
$btnstyle = isset($btnstyle)?$btnstyle:'success';
$k = 0;
$html = "";
foreach($categories as $id►$category){
$catlink = get_term_link($category);
if($category->parent==$parent) {
$ccount = $category->count;
if(isset($showcount)&&$showcount) $count = " ($ccount)";
$html .= "";
$k++;
}
}
$html .= "
";
if($k==0) $html = '';
return "".str_replace(array("\r","\n"),"",$html)."";
}
The red box means the user doesn’t have access to the package. If you set a message from it is shown there. However, as you are saying all settings are same I need temporary access to your installation to further investigate the issue. Please send temporary wp-admin login info in private reply.
Current PDF Stamper library has a limitation. When stamping it flattens the hyperlinks. For now, there is no other solution for this. But if something better available we will update the add-on.
wpdm_search_result won’t work in homepage. This shortcode is intended for widget use only.
For this kind of search, Directory Add-on ( Archive Page ) has a better shortcode [wpdm_simple_search] with AJAX search feature. Here is the demo https://demo.wpdownloadmanager.com/wpdmpro/simple-search/
You double typed the logo URL. I have removed the last part, now it is working.
What is the wp role of your front end users? Do they have Administrator role? Could you please check with an admin user?
Hi Marc,
Do you have the latest version of Download Manager? There was an issue with the login feature in version 4.7.5 which has been fixed in 4.7.6
If you are using the older version please install the latest version manually. Login will work on the latest one.
Thanks.
Hi,
You can use Header Style 3 for this type of header. But the login form popup feature is not available in The Next theme. What we have here is a customized version of The Next.
Send wp-admin and FTP info in private reply, I will add the login/register popup on your site.
Btw, I didn’t understand what you meant by MiniCard. Did you refer to the popup or sliding cart widget?
Thanks.
We will update the changelog page soon to reflect the latest changes https://www.wpdownloadmanager.com/wordpress-download-manager-change-log/
Yes, you can hide or show any package info you want using a custom link template. You can create custom link template from Dashboard Downloads Templates page.
Related documentation: https://www.wpdownloadmanager.com/doc/templates/creating-a-new-template/
Please read more about custom templates here https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
It’s not possible yet. But you can set an expiry date for a package after which no downloads will be available.
Please send me your license key in private reply.
Added some CSS in your theme option’s custom CSS tab to make some spacing and bigger font. You can adjust the numbers there to match your target.
Hi,
Menu is working fine in my test. Here is a screenshot from the Cebuano page. Also, there is not “Page Not Found” error.
https://www.evernote.com/l/AUdvSa6k-iBDcahr-zzs-dOsIaSyz-TjHZgB/image.png
Maybe the issue was coming from a plugin conflict which you have deactivated later
Do you want to sort packages by title in category archive?
You can do achieve that by adding the following code at the bottom of the functions.php file.
add_filter( 'pre_get_posts', 'wpdm_category_archive_sorting' );
function wpdm_category_archive_sorting( $query ) {
if( is_tax('wpdmcategory') ) {
$query->query_vars['orderby'] = 'title';
$query->query_vars['order'] = 'ASC';
}
return $query;
}