• Resolved amancalledhawk

    (@amancalledhawk)


    It was suggested that I change the default template to “show download title only”. I did that but the download count still shows on the web site. I can’t disable the count. Any ideas on how to fix it?

    The page I need help with: [log in to see the link]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hello,

    Can you please let us know how you have added the download link on the https://dss.defenseintelligence.net/general-duties/ page? If you have used a shortcode, please share it with us but if you have used a widget, then please share with us a screenshot of the widget settings.

    Thread Starter amancalledhawk

    (@amancalledhawk)

    I went into pages > edit > Add Widget inside SiteOrigin Editor > edit > insert download > quick-add download and dropped the file.

    It created:
    [download id=”469″ template=”image”]

    Open content-download-filename.php from wp-content/plugins/download-monitor/templates

    Remove this:

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

    Thread Starter amancalledhawk

    (@amancalledhawk)

    Nope. Didn’t work.

    Thread Starter amancalledhawk

    (@amancalledhawk)

    I just checked again with other settings and found that the number download still showed, even when I picked show version.

    When inputing a link to a specific file, I got it to stop by using the “Title” option like this
    [download_data id=”1″ data=”title”]

    Now if I could just figure out how to do it when listing all of the files on one page. I tried using the “offset” modifier assuming this would make the download count stop showing until it reached 1000, but it didn’t work.
    [downloads offset=1000]

    Wait, I just found this answer and it worked!
    https://www.ads-software.com/support/topic/php-notice-screen_icon-is-deprecated-since-3-8-0-with-no-alternative-available-2/

    In case the link doesn’t work, these are the instructions.

    To remove the counter, you can go to the “Download > Settings” menu in your WordPress admin and from the “Default Template” option, select “Title – Show download title only” and save.

    Thread Starter amancalledhawk

    (@amancalledhawk)

    Was one of the steps I tried and failed.

    which one? I gave two suggestions.

    Thread Starter amancalledhawk

    (@amancalledhawk)

    One of the steps implies I have gone through numerous steps. I have looked in the programming of several files looking for similar coding. I have tried all the settings with no changes.

    Hello,

    For the settings to work, please use a shortcode such as [downloads]. If this still shows a download count, please check your theme folder and make sure there is no template overrides inside a “download-monitor” subfolder.

    Thread Starter amancalledhawk

    (@amancalledhawk)

    I have to wonder if the template=”image” part of the coding was to blame. Using just [download id=”469″], it gives me the file name, which I can use. But I would have preferred labeling it “Download Brochure”.

    Thread Starter amancalledhawk

    (@amancalledhawk)

    To confirm, it was the template comment that was screwing everything up. Now that it is gone, it looks correct.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Download Count won’t disable’ is closed to new replies.