Use the WP Document Revisions plugin as very basic & simple download manager with this additional add-on plugin.
Want to offer public file downloads? Just use “WP Document Revisions” plus this little add-on plugin! This small and lightweight add-on plugin just adds a few specific additions to the awesome WPDR base plugin which does all the heavy lifting for you!
For my own projects I needed a new but robust and future-proof plugin with a custom post type solution to replace an old, unsupported download counter plugin. With its many benefits I wanted WPDR as a base foundation for that. Now, that I’ve finally found my solution, I hope it may help you as well :-).
en_US
= default, always includedde_DE
– always includedde_DE_formal
– always included.pot
file (wpdr-simple-downloads.pot
) for translators is always included in the plugin’s ‘languages’ folder 🙂If you want to translate, go to the Translation Portal at translate.wordpress.org.
You can also contribute code-wise via our WP Document Revisions Simple Downloads GitHub Repository – and see where you can help.
Try Toolbar Extras my other plugin for Site Builders and admins: Building sites with Elementor? Your work will get easier & faster with Toolbar Extras. With extended plugin & theme support baked right in. Of course, “Builder Template Categories” is integrated as well 🙂
toolbar extras
in the plugin installer 😉Enjoy using WP Document Revisions Simple Downloads? Please consider making a small donation to support the project’s continued development.
Idea Behind / Philosophy: I just needed a simple downloads/ file manager plugin that used a custom post type for management. Since there are no such good download managers out there yet, but with the “WP Document Revisions” plugin there was an awesome solution. It only had few things missing in my opinion if used for public downloads/ file management. So finally, this add-on plugin was born. I hope you also find it useful somehow… 🙂
manage_options
and/or edit_theme_options
wpdr simple downloads
), or extract the ZIP file and drop the contents in the wp-content/plugins/
directory of your WordPress installation.Go the add-on plugin’s settings page (located under “Documents”/ “Downloads” > Download Settings):
[display-posts]
shortcode Own translation/wording: For custom and update-safe language files please upload them to /wp-content/languages/wpdr-simple-downloads/
(just create this folder) – This enables you to use fully custom translations that won’t be overridden on plugin updates. Also, complete custom English wording is possible with that, just use a language file like wpdr-simple-downloads-en_US.mo/.po
to achieve that.
If you ever want to uninstall the add-on (i.e. “WP Document Revisions Simple Downloads”) you can use your stuff like before. All will work like normal as this plugin does NOT make any permanent modifications! Good to know, right?! 🙂
Add-On plugin's settings page
Settings page - "Usage" tab
Admin "Downloads" table with additional stuff added by add-on
Edit "Download" view with additional stuff added by add-on
Insert Download link via Visual Editor
Insert Download link via Text Editor (HTML)
Popular Downloads widget
Search Downloads widget
Taxonomy Widget - used for "File Categories"
Taxonomy Widget - used for "File Tags"
Original "Recently Revised Downloads" (Documents) widget - by base plugin WPDR :)
Help tab user guidance included
Good question, hehe :). — “WP Document Revision” (WPDR) already does all the heavy lifting for you, and in reality is your actual download manager! This add-on plugin here (a.k.a. “WP Document Revisions Simple Downloads”) does minor adjustments and additions for more comfort, even easier (admin) usage and provides specific “Downloads” specific wording/ translations. The add-on fully leverages the existing hooks & filters of its base plugin as well as from WordPress itself. So, in reality it does not make any (permanent) modifications. With this approach we avoid performance issues and load things only where and when needed. — Also, the add-on adds 3 nice little widgets which may help to improve your site/ download manager on the front end.
To insert download files (URLs) into posts, pages, other post types, sidebars or templates just use any of the following alternatives:
1) The easiest one: WordPress’ built-in “Insert Link” feature which is there in both editors, “Visual” and “Text”. — see screenshot 1, plus screenshot 2…
2) 2 base shortcodes of WPDR: [documents]
and [document_revisions]
— see Wiki for more info (scroll down a bit…)
3) 4 available widgets: 1 from WPDR, plus 3 from this add-on plugin.
4) Any third-party plugin or widget that does support custom post types by WordPress. I highly recommend one of these: Display Posts Shortcode – display a listing of posts or post types using the [display-posts]
shortcode // Count Shortcode – simple count posts or post types
5) For developers: shortcodes can also be used with their template tag equivalent: <?php do_shortcode( '[your_shortcode ...]' ); ?>
You decide, which wording or which translations will be loaded! In my opinion it’s better to use purpose-specific and consistent wording throughout both plugins which will avoid confusions in day to day usage with your team.
The add-on DOESN’T modifiy the actual post type that’s used as the base. This post type is by WPDR and has the ID “document”, therefore some admin urls and such still reflect this ID. But in the end this just doesn’t matter :).
Of course it is! 🙂 Works really fine in Multisite environment.
Yes, you can! Activating on a per-site basis is also possible. — I recommend activating on a per-site basis in combination with “WP Document Revisions” plugin.
Currently as Gist on GitHub.
Final note: I DON’T recommend to add customization code snippets to your main theme’s/ child theme’s functions.php
file! Please use a functionality plugin or an MU-plugin instead! This way you can also use this better for Multisite environments. In general you are then more independent from theme/child theme changes etc. If you don’t know how to create such a plugin yourself just use one of my recommended ‘Code Snippets’ plugins. Read & bookmark these Sites:
All the custom & branding stuff code above can also be found as a Gist on Github: https://gist.github.com/4395899 (you can also add your questions/ feedback there 🙂
/wp-content/languages/wpdr-simple-downloads/
(just create this folder) – This enables you to use fully custom translations that won’t be overridden on plugin updates. Also, complete custom English wording is possible with that as well, just use a language file like wpdr-simple-downloads-en_US.mo/.po
to achieve that (for creating one see the following tools).Easy WordPress.org plugin translation platform with GlotPress platform:Translate “WP Document Revisions Simple Downloads”…
Note: All my plugins are internationalized/ translateable by default. This is very important for all users worldwide. So please contribute your language to the plugin to make it even more useful. For translating and validating I recommend the awesome “Poedit Editor”, which works fine on Windows, macOS and Linux.
(Join my WordPress plugins newsletter)
.pot
file for translators, plus German translationscomposer.json
file to the plugin’s root folder – this is great for developers using ComposerREADME.md
file for plugin’s GitHub.com repository to make it more readable there.pot
file for translators, plus German translations