Forums

WordPress Download Monitor
[resolved] Don't Show Download Counter (7 posts)

  1. pixel8
    Member
    Posted 6 months ago #

    I would like to know how to remove the document hits from my web sites download page, so that it just shows the title.
    e.g. Aims and Objectives (0), would change to just Aims and Objectives
    Here is a link to the page as it stands: http://www.littledreamsnursery.com/policies-and-procedures

    http://wordpress.org/extend/plugins/download-monitor/

  2. RayBernard
    Member
    Posted 6 months ago #

    You can define a custom format that will show only the title.

    In the Dashboard, go to Downloads, Configuration to define a Custom Output Format in the Add Format section.

    The example code below is for custom output format #1 defined like this (the Name field could be any name):

    Name: List with No Counts
    Format:<a href="{url}" class="downloadlink" title="{version} downloaded {hits} times">{title}</a>

    In your page you would list the files this way:

    [downloads format="1"]

    This should produce the same HTML output you have now except that the download count would not appear in the list.

    I hope this helps.
    Ray

  3. pixel8
    Member
    Posted 6 months ago #

    Thanks Ray, that seems to have worked. Now I have to figure out how to list all documents and not just the 5 it's showing
    http://www.littledreamsnursery.com/policies-and-procedures

  4. pixel8
    Member
    Posted 6 months ago #

    Sorted - just used the following:
    [downloads format="3" query="limit=0&orderby=title;"]

  5. derekshirk
    Member
    Posted 2 months ago #

    How would I go about removing the (#) of documents in each category in the default h3 category title

    Category title(#)

  6. pixel8
    Member
    Posted 2 months ago #

    derekshirk - Can you post an example

  7. derekshirk
    Member
    Posted 2 months ago #

    Problem solved.

    I ended up removing '.$count.' from line 807 of download-monitor-page-addon.php

Reply

You must log in to post.

About this Plugin

About this Topic