Title: Simple Download Counter
Author: Jeff Starr
Published: <strong>19 Eylül 2022</strong>
Last modified: 19 Nisan 2026

---

Eklentilerde ara

![](https://ps.w.org/simple-download-counter/assets/icon-256x256.png?rev=2787275)

# Simple Download Counter

 [Jeff Starr](https://profiles.wordpress.org/specialk/) tarafından

[İndir](https://downloads.wordpress.org/plugin/simple-download-counter.2.3.2.zip)

 * [Detaylar](https://tr.wordpress.org/plugins/simple-download-counter/#description)
 * [İncelemeler](https://tr.wordpress.org/plugins/simple-download-counter/#reviews)
 *  [Kurulum](https://tr.wordpress.org/plugins/simple-download-counter/#installation)
 * [Geliştirme](https://tr.wordpress.org/plugins/simple-download-counter/#developers)

 [Destek](https://wordpress.org/support/plugin/simple-download-counter/)

## Açıklama

Simple Download Counter (SDC) provides a simple yet powerful way to count file downloads.
Works with any file type that’s supported by WordPress (e.g., JPG, PNG, ZIP, MP4,
TXT, and many more).

**Important / Please Read**

This plugin enables Admin-level users to add download files of any type, from anywhere
on the server, or from any remote public location. Only Administrators are allowed
to add download files. Please use caution and use responsibly.

> 👉 This plugin is not compatible with WordPress Multisite.

**How it works**

Visit the plugin settings to add a download file. Then use the shortcode to display
a download link on any post or page. The plugin will then count every download and
display it in the plugin settings. You can also display the download count on the
front end using a shortcode.

**Features**

 * Simple and powerful download counter
 * Supports local and remote file URLs
 * Supports any file type supported by WordPress
 * Lightweight – entire plugin size is < 160 KB
 * Super fast and built for optimal performance
 * Clean code tightly integrated with WordPress
 * No Apache/.htaccess required

Check out the [screenshots](https://wordpress.org/plugins/simple-download-counter/#screenshots)
below to get a better idea of the plugin settings and more.

**How is this better?**

There are numerous “download counter” or “download manager” plugins available, but
none of them satisfy all of my specific, stringent requirements:

 * Current with latest WordPress
 * Clean and simple code using WP APIs
 * Lightweight with minimal useless features
 * Supports all local and remote downloads
 * No automatically created posts or pages
 * No advertisements or weird admin notifications
 * No obtuse styling of default WP Admin elements
 * Download posts are visible only in the Admin Area
 * Descriptive error handling for upload files
 * No redundant or sloppy coding practices
 * No requirement for cookies or sessions
 * No requirement for Apache/.htaccess
 * No weird database shenanigans

So I decided to build my own. Let me emphasize the utter simplicity of this plugin.
It does one thing and does it well: counts the number of downloads for your files.
And makes it easy to display download links and download counts anywhere on the 
front end.

**Privacy**

This plugin does not collect or store any user data. It does not set any cookies,
and it does not connect to any third-party locations. The _only_ thing this plugin
does is count the number of times files are downloaded. So 100% privacy friendly
for everyone.

Simple Download Counter is developed and maintained by [Jeff Starr](https://x.com/perishable),
15-year [WordPress developer](https://plugin-planet.com/) and [book author](https://books.perishablepress.com/).

**Support development**

I develop and maintain this free plugin with love for the WordPress community. To
show support, you can [make a donation](https://monzillamedia.com/donate.html) or
purchase one of my books:

 * [The Tao of WordPress](https://wp-tao.com/)
 * [Digging into WordPress](https://digwp.com/)
 * [.htaccess made easy](https://htaccessbook.com/)
 * [WordPress Themes In Depth](https://wp-tao.com/wordpress-themes-book/)
 * [Wizard’s SQL Recipes for WordPress](https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/)

And/or purchase one of my premium WordPress plugins:

 * [BBQ Pro](https://plugin-planet.com/bbq-pro/) – Blazing fast WordPress firewall
 * [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) – Automatically block
   bad bots
 * [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) – Monitor traffic and
   ban the bad guys
 * [GA Google Analytics Pro](https://plugin-planet.com/ga-google-analytics-pro/)–
   Connect WordPress to Google Analytics
 * [Head Meta Pro](https://plugin-planet.com/head-meta-pro/) – Ultimate Meta Tags
   for WordPress
 * [REST Pro Tools](https://plugin-planet.com/rest-pro-tools/) – Awesome tools for
   managing the WP REST API
 * [Simple Ajax Chat Pro](https://plugin-planet.com/simple-ajax-chat-pro/) – Unlimited
   chat rooms
 * [USP Pro](https://plugin-planet.com/usp-pro/) – Unlimited front-end forms

Links, tweets and likes also appreciated. Thanks! 🙂

## Ekran Görüntüleri

 * [[
 * View Downloads screen
 * [[
 * Edit Download screen
 * [[
 * Plugin settings

## Yükleme

**Installing the plugin**

Activate like any other plugin and done. For usage instructions, continue reading
to the “How to use” section below.

More info on [installing WP plugins](https://wordpress.org/documentation/article/manage-plugins/#installing-plugins-1).

**How to use**

After activating the plugin, visit Downloads in the WP menu. There you can click“
Add New” to add a download file. Here are the steps:

 1. Visit Add New
 2. Give the download a title
 3. Upload your image by clicking “Upload File”
 4. Optionally set the starting count and version
 5. Publish the post and done!

After adding a download, you can display a download link on the front end. Here 
are the steps:

 1. Visit Downloads to view a list of all downloads
 2. In the “Shortcode” column, click button to copy shortcode
 3. Visit any post or page and paste the shortcode
 4. Save changes and done!

Note: If you’re getting 404 errors when trying to download, here is a [quick solution](https://wordpress.org/support/topic/note-about-404-errors-how-to-fix/).

To display the count (number of downloads) on any post or page, follow these steps:

 1. Add the count shortcode `[sdc_count id="123"]` to your page
 2. Change the `id` attribute value to match your download ID
 3. Save changes and done!

Alternately you can display the download count (and other file information) next
to the download link. To learn how, check out the next section on shortcodes.

**Shortcodes**

Description of all shortcodes..

**Display download link:** `[sdc_download]`

Attributes:

    ```
    id      (required) download ID
    wrap    (optional) element to use for markup (p, div, span, none)
    text    (optional) download link text
    title   (optional) download link title
    before  (optional) content to display before the download link
    after   (optional) content to display after the download link
    class   (optional) custom class for markup (separate multiple classes with commas)
    type    (optional) display as "link", "button", or "none" (with none, only the before and after attributes are displayed, no link)
    ```

For example, a shortcode configuration that includes some possible attributes:

    ```
    [sdc_download id="123" wrap="div" text="%title%" before="Download " after=" %size%"]
    ```

That will display a download link that says, “Download {download title} 64 KB”. 
And you can customize further with shortcut variables. Notice where it says `%title%`
and `%size%`. Those are dynamic placeholders that output the download title and 
file size, respectively. You can use any of the following shortcuts for the `text`,`
title`, `before`, and `after` attributes:

    ```
    %id%       displays download ID
    %count%    displays download count
    %title%    displays download title
    %version%  displays download version
    %type%     displays download type (local or remote)
    %ext%      displays download file extenstion (e.g., JPG)
    %size%     displays download file size
    ```

Using these shortcut variables, it’s possible to configure your download links however
is desired.

**Display download count:** `[sdc_count]`

Attributes:

    ```
    id      (required) download ID
    wrap    (optional) element to use for markup (p, div, span, none)
    before  (optional) content to display before the download count
    after   (optional) content to display after the download count
    class   (optional) custom class for markup (separate multiple classes with commas)
    ```

For example, a shortcode configuration that includes some possible attributes:

    ```
    [sdc_count id="123" wrap="div" before="Download count: " after=" - Version: %version%"]
    ```

That will display a line that says, “Download count: {download count} – Version:{
download version}”. You can customize further with shortcut variables. Notice where
it says `%version%`. That outputs the download version. You can use any of the following
shortcuts for the `before` and `after` attributes:

    ```
    %id%       displays download ID
    %title%    displays download title
    %version%  displays download version
    %type%     displays download type (local or remote)
    %ext%      displays download file extenstion (e.g., JPG)
    %size%     displays download file size
    ```

Using these shortcut variables, it’s possible to configure your download counts 
however is desired.

**Display total download count:** `[sdc_count_total]`

This shortcode displays the total number of times any/all published downloads have
been downloaded.

    ```
    [sdc_count_total]
    ```

No attributes for this one, just add to page and enjoy results.

**Display the number of downloads:** `[sdc_downloads_published]`

A simple shortcode to display the number of published downloads:

    ```
    [sdc_downloads_published]
    ```

No attributes, just grab gulp and go.

**Display download metadata:** `[sdc_meta]`

Attributes:

    ```
    id      (required) download ID
    title   (optional) download title
    url     (optional) download URL
    count   (optional) download count
    version (optional) download version
    type    (optional) download type
    ext     (optional) download file extension
    size    (optional) download size
    ```

This shortcode displays any bit of meta information about the download. Here are
some examples:

    ```
    [sdc_meta id="123" size="true"] // displays the file size for download ID 123
    [sdc_meta id="123" type="true"] // displays the file type for download ID 123
    [sdc_meta id="1728" title="true" count="true"] // displays the title and count
    ```

By default, only the `id` is required. All other attributes are optional. Here is
a blank template for quick copy/paste:

    ```
    [sdc_meta id="" title="" url="" count="" version="" type="" ext="" size=""]
    ```

And here is another template with all available attributes set to `true`:

    ```
    [sdc_meta id="123" title="true" url="true" count="true" version="true" type="true" ext="true" size="true"]
    ```

Remember to be mindful of the `id` attribute, make sure it is correct according 
to your downloads.

**Display menu/list of download links** `[sdc_menu]`

Attributes:

    ```
    cat     (required) category name/slug
    number  (optional) number of download links included in a list
    extra   (optional) show extra select menu for more downloads (true or false)
    text    (optional) text for "Download more..." text in select menu
    ```

For example, a shortcode configuration that includes all possible attributes:

    ```
    [sdc_menu cat="uncategorized" number="3" extra="true" text="Download more stuff.."]
    ```

That will display a list containing three download links. And also will display 
a dropdown/select menu with all other files available for download. This is a very
flexible shortcode. Do experiment.

**Display categories for any download** `[sdc_cats]`

Attributes:

    ```
    id     (required) download ID
    links  (optional) display category names as links to archives (true or false)
    format (optional) output format for category names (list, div, or span)
    ```

For example, a shortcode configuration that includes all possible attributes:

    ```
    [sdc_cats id="123" links="true" format="list"]
    ```

That will display links for each category assigned to the download that has ID =
123. The links will be displayed using list markup. To display a simple comma separated
list, use `div` or `span` for the `format` attribute.

**Micro API**

As of version 2.3, Simple Download Counter provides a “Micro API” for getting download
counts via URL request. Learn all about it at [Perishable Press](https://perishablepress.com/micro-api-simple-download-counter/).

**Like the plugin?**

If you like Simple Download Counter, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/simple-download-counter/reviews/?rate=5#new-post).
It helps to keep development and support going strong. Thank you!

**Uninstalling**

To uninstall/remove the plugin, visit the WP Plugins screen, deactivate and delete
the plugin. When the plugin is deleted in this way, all plugin options are removed
from the database automatically.

**Note:** Any defined downloads/files that may have been added will NOT be removed.
Those are left in place in order for the site admin to decide whether or not to 
delete. Only the plugin options are removed when the plugin is uninstalled.

> 👉 Questions? Comments? Send ’em via the [contact form](https://plugin-planet.com/support/#contact)
> at Plugin Planet.

## SSS

### How to disable inline-block style on button forms?

By default, download button forms are styled with inline-block. To disable and display
as block-level, add the following code snippet [via theme functions or simple plugin](https://digwp.com/2022/12/custom-code-wordpress/):

    ```
    function simple_download_counter_button_style($style) { return ''; }
    add_filter('simple_download_counter_button_style', 'simple_download_counter_button_style');
    ```

No changes necessary, save and done.

### How to stop bots from crawling download URLs?

By default, the plugin uses download URLs with the following structure:

    ```
    https://example.com/sdc_download/19890/?key=1234567890abc
    ```

In the Admin Area, the plugin displays these download URLs/links in various places,
like the “Edit” screen. On the front end, the plugin does not add any download URLs/
links. So by default, there is no way that any bots will know about any of your 
download links. As soon as you add a download link anywhere on the front end, bots
will be able to find and crawl, etc. To prevent good/obedient bots from crawling
your download links, add the following to your site’s robots.txt file:

    ```
    User-agent: *
    Disallow: /sdc_download
    ```

Then to verify, use a free online robots.txt validator to make sure the new rules
mesh well with any existing rules. Adding the above rules to robots.txt will prevent
good bots (who obey robots.txt) from following the links.

### Is it possible to define custom file headers?

Yes, here is a [tutorial](https://perishablepress.com/custom-headers-simple-download-counter/)
that explains how to set it up.

### Got a question?

Send any questions or feedback via my [contact form](https://plugin-planet.com/support/#contact)

## İncelemeler

![](https://secure.gravatar.com/avatar/0f8ac5b69d043c146f3507e012eb9eb61fb88f47d88f3ab7c86a8990db0163a8?
s=60&d=retro&r=g)

### 󠀁[Fabulous!!](https://wordpress.org/support/topic/fabulous-245/)󠁿

 [ginajackson](https://profiles.wordpress.org/ginajackson/) 3 Şubat 2026

Does what it says and with complete, clean simplicity.

![](https://secure.gravatar.com/avatar/ad88ccacf80111e3cc22ce17295c18ddec22c0a201766f8e18e08754a7062f1f?
s=60&d=retro&r=g)

### 󠀁[Super!](https://wordpress.org/support/topic/super-3058/)󠁿

 [mitrakov](https://profiles.wordpress.org/mitrakov/) 19 Şubat 2025

Super cool and easy-to-use. No additional blocks or buttons. You just need to update
your links.

![](https://secure.gravatar.com/avatar/ab62eb42e842b6adca897024806bbf5eaebe9896ac46f2d6823973e6d9d27d42?
s=60&d=retro&r=g)

### 󠀁[Simply a great Plugin](https://wordpress.org/support/topic/simply-a-great-plugin-6/)󠁿

 [Hans-Gerd Gerhards](https://profiles.wordpress.org/hage/) 6 Ekim 2024

Thanks a lot for this great Plugin. It does exactly what it is supposed to do, simply
count how often a file is downloaded. And the plugin is very lightweight. The additional
options in connection with the shortcode leave nothing to be desired.

![](https://secure.gravatar.com/avatar/f387c94acf6678cf53d00d09643ddc04d287ae64de666aac77efe31694666007?
s=60&d=retro&r=g)

### 󠀁[Great Simple Plugin, Great Developer](https://wordpress.org/support/topic/great-simple-plugin-great-developer/)󠁿

 [garrettm30](https://profiles.wordpress.org/garrettm30/) 27 Mart 2024

This simple plugin does just what it claims to do, all without the huge bloat like
in some other plugins pushing paid pro versions. I have also found by first-hand
experience that developer behind this free plugin is great to work with for other
developers who submit detailed bug reports or respectfully request hooks. A credit
to the WordPress community.

![](https://secure.gravatar.com/avatar/4f0ef294038989ca9f0131e0a0627b0c289f0c498e3bdeb97f21f6fe940065a8?
s=60&d=retro&r=g)

### 󠀁[Simply Awesome!](https://wordpress.org/support/topic/simply-awesome-335/)󠁿

 [Julian Song](https://profiles.wordpress.org/julians3/) 26 Şubat 2024

Thank you Jeff for another awesome lightweigt plugin!

![](https://secure.gravatar.com/avatar/f2dbfa9168dab27955e5b71744da44875df333d73135bc55be39136a2fe190ca?
s=60&d=retro&r=g)

### 󠀁[Simply brilliant!](https://wordpress.org/support/topic/simply-brilliant-102/)󠁿

 [Marjoline](https://profiles.wordpress.org/marjoline/) 18 Aralık 2023

Jeff Starr is such an Ace when ik comes to creating simple stuff that just works!
Perfect! Thanks so much, Jeff!

 [ 18 incelemeyi oku ](https://wordpress.org/support/plugin/simple-download-counter/reviews/)

## Katkıda Bulunanlar ve Geliştiriciler

“Simple Download Counter” açık kaynaklı yazılımdır. Aşağıdaki kişiler bu eklentiye
katkıda bulunmuşlardır.

Katkıda bulunanlar

 *   [ Jeff Starr ](https://profiles.wordpress.org/specialk/)

[“Simple Download Counter” eklentisini dilinize çevirin.](https://translate.wordpress.org/projects/wp-plugins/simple-download-counter)

### Geliştirmeyle ilgilenir misiniz?

[Kodu görüntüleyin](https://plugins.trac.wordpress.org/browser/simple-download-counter/),
[SVN deposuna](https://plugins.svn.wordpress.org/simple-download-counter/) göz atın
ya da [RSS](https://plugins.trac.wordpress.org/log/simple-download-counter/?limit=100&mode=stop_on_copy&format=rss)
ile [geliştirme günlüğüne](https://plugins.trac.wordpress.org/log/simple-download-counter/)
abone olun.

## Değişiklik Kaydı

If you like Simple Download Counter, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/simple-download-counter/reviews/?rate=5#new-post).
It helps to keep development and support going strong. Thank you!

**2.3.2 (2026/04/19)**

 * Fixes bug with reset options
 * Updates plugin settings page
 * Improves readme.txt documentation
 * Tests on WordPress 7.0

Full changelog @ [https://plugin-planet.com/wp/changelog/simple-download-counter.txt](https://plugin-planet.com/wp/changelog/simple-download-counter.txt)

## Meta

 *  Sürüm **2.3.2**
 *  Son güncelleme **11 saat önce**
 *  Etkin kurulumlar **2.000+**
 *  WordPress sürümü ** 5.0 veya üstü **
 *  Test edilen sürüm **7.0**
 *  PHP sürümü ** 5.6.20 veya üstü **
 *  Dil
 * [English (US)](https://wordpress.org/plugins/simple-download-counter/)
 * Etiketler
 * [download counter](https://tr.wordpress.org/plugins/tags/download-counter/)[download manager](https://tr.wordpress.org/plugins/tags/download-manager/)
   [downloads](https://tr.wordpress.org/plugins/tags/downloads/)[file manager](https://tr.wordpress.org/plugins/tags/file-manager/)
   [statistics](https://tr.wordpress.org/plugins/tags/statistics/)
 *  [Gelişmiş görünüm](https://tr.wordpress.org/plugins/simple-download-counter/advanced/)

## Puanlar

 5 üzerinden 4.9 yıldız.

 *  [  16 5 yıldızlı inceleme     ](https://wordpress.org/support/plugin/simple-download-counter/reviews/?filter=5)
 *  [  2 4 yıldızlı inceleme     ](https://wordpress.org/support/plugin/simple-download-counter/reviews/?filter=4)
 *  [  0 3 yıldızlı inceleme     ](https://wordpress.org/support/plugin/simple-download-counter/reviews/?filter=3)
 *  [  0 2 yıldızlı inceleme     ](https://wordpress.org/support/plugin/simple-download-counter/reviews/?filter=2)
 *  [  0 1 yıldızlı inceleme     ](https://wordpress.org/support/plugin/simple-download-counter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-download-counter/reviews/#new-post)

[Tüm değerlendirmeleri görün](https://wordpress.org/support/plugin/simple-download-counter/reviews/)

## Katkıda bulunanlar

 *   [ Jeff Starr ](https://profiles.wordpress.org/specialk/)

## Destek

Söyleyeceğiniz bir şey mi var? Yardım mı lazım?

 [Destek forumunu görüntüle](https://wordpress.org/support/plugin/simple-download-counter/)

## Bağış yap

Bu eklentinin geliştirilmesini desteklemek ister misiniz?

 [ Bu eklentiye bağış yap ](https://monzillamedia.com/donate.html)