We will review the implementation of a hook to change the page template on the fly. In the meantime, I have a suggestion for your membership area implementation. Instead of linking to the details page, use a shortcode with link-template which will provide instant download without visiting the package details page. This will make things easier for your members.
Download Limit add-on doesn’t require the WP Pro Membership add-on or any other membership plugin. It set’s the download limit based on user roles. Our WP Pro Membership just integrates the add-on with membership plans.
Please send temporary wp-admin login info in private reply to check the issue.
Hi Ian, Which shortcode are you using there?
Could you please send temporary wp-admin login info as a private reply? I have to check the issue on your setup.
There are 2 access options for view and managing custom fields groups. You missed those options.
“Who can view?” and “Who can manage?”
Please ignore the previous reply. It was meant for the add-on.
How do you want to display the date file-meta? As these fields are in text format, the data will be displayed just like they are inserted.
The generate download button is right under the package name. This is a live feature, we have no plan to remove it. Maybe you are logged in as editor. The button is available only to the administrator role.
Yes, you need ImageMagick to use the dynamically sized featured images.
Sorry, it isn’t possible. What is a possible scenario where you want to use a different page template?
Hi,
If you want to show packages from a specific category then just define the category in the archive shortcode category="slug"
As you want to create different pages for different categories then use the same shortcode with different category parameters.
Please let me know if you wanted to know something else.
Thanks.
Use PoEdit https://poedit.net/ to create translation from the pot file.
Please update the “Button Template Clone” with the following code. Adjust the image src
to set your own image.
<a class="wpdm-download-link" href="[download_url]"><img src="https://img.icons8.com/nolan/50/000000/download.png"></a>
Define your tags inside the tags
parameter. Check out the following example shortcode,
[wpdm_category id="free," tags="plugin" cols="1" toolbar=1 desc=1 item_per_page=10 paging=1 template="link-template-calltoaction3" order_by="publish_date" order="desc"]
Hi,
Yes, it is possible to use different featured image styles for package and post.
Use custom post type template single-wpdmpro.php
for your packages to apply a unique style to package featured image. Currently, the packages are using the same template as posts which is single.php
You can copy the single.php
( this is a template file inside your active theme ) and rename it single-wpdmpro.php
. Then make the necessary changes to your new template.
Thanks.
Add the code to your theme’s functions.php file and visit any page just once. Then delete this code.
function wpdm_bulk_update_access(){ $params = array( 'post_type' ► 'wpdmpro', 'posts_per_page' ► -1, ); $packs = new WP_Query( $params ); while( $packs->have_posts() ) { $packs->the_post(); $access = array('subscriber'); update_post_meta(get_the_ID(),'__wpdm_access',$access ); } } add_action('init', 'wpdm_bulk_update_access');
Here is a quick solution. Add the code to your theme’s functions.php file and visit the blog posts page just once. Then delete this code.
function update_file_path(){ if( ! is_home() ) return; $params = array( "post_status" ► "publish", "post_type"►"wpdmpro","posts_per_page"► -1 ); $q = new WP_Query($params); while ( $q->have_posts() ) { $q->the_post(); $files = maybe_unserialize(get_post_meta(get_the_ID(), '__wpdm_files', true)); if ( ! is_array( $files ) ) $files = array(); foreach ($files as $key ► $file): $files[$key] = str_replace('/lyngsoes/','/lyngsoe2/', $file); endforeach; update_post_meta(get_the_ID(),'__wpdm_files', $files ); } } add_action('init','update_file_path');
Please send temporary wp-admin login info in private reply to check the issue.
You can use the /download-manager/languages/download-manager.pot
file to create the Italian translation file.
Another option is creating a custom template of /download-manager/tpls/lock-options/email-lock-form.php
. You have to copy this file and place it in /active-theme/download-manager/lock-options/email-lock-form.php
. Then add your changes in this new template.
Yes, member-only or subscriber access is the same thing.