WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. pixel8
    Member
    Posted 2 years 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 2 years 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 2 years 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 2 years ago #

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

  5. derekshirk
    Member
    Posted 2 years 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 years ago #

    derekshirk - Can you post an example

  7. derekshirk
    Member
    Posted 2 years ago #

    Problem solved.

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic