Viewing 13 replies - 1 through 13 (of 13 total)
  • Yes! Please adjust such that the download count can be disabled!

    How do I disable the download counter on [download id”xxxx”] but not in the admin area where each download by name must be counted.

    See the new docs – formats have been replaced.

    Hi – I’m sorry, I’ve had a look at the docs and I’m really struggling to find how to do this now? I can’t find what to add to the shortcode to get rid of the (0 downloads).

    ok, I’ve seen that there’s the “download_count” shortcode.

    I’ve added this to my page “[download_data id=”413″ data=”download_count”]”

    But it’s still showing “0” instead of the link?

    ok, so I’ve found the file “download-monitor/templates/content-download.php”

    What do I need to change in the code so that the count isn’t displayed?

    I’ve just changed it to this and it seems to be working….

    <?php
    /**
     * Default output for a download via the [download] shortcode
     */
    
    global $dlm_download;
    ?><a class="download-link" title="<?php if ( $dlm_download->has_version_number() ) printf( __( 'Version %s', 'download_monitor' ), $dlm_download->get_the_version_number() ); ?>" href="<?php $dlm_download->the_download_link(); ?>" rel="nofollow">	<?php $dlm_download->the_title(); ?></a>

    Thanks for your help

    To remove the count from the display remove the code below from the content-download template: “download-monitor/templates/content-download.php”

    (<?php printf( _n( '1 download', '%d downloads', $dlm_download->get_the_download_count(), 'download_monitor' ), $dlm_download->get_the_download_count() ) ?>)

    Thank you

    Try to do it via your theme (moving the template actually into your theme/download-monitor/ folder). Then your changes will be kept during plugin updates.

    mack28

    (@mack28)

    Sorry… I’m confused: Try to do it via your theme (moving the template actually into your theme/download-monitor/ folder). Then your changes will be kept during plugin updates.

    No such file folder in My Theme.

    Please explain further.

    You have to create the folder/file in your theme. Its not automatic.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘New version will not hide or switch off "download count " Format ="1"’ is closed to new replies.