Use the WP Document Revisions plugin as very basic & simple download manager with this additional add-on plugin.
Yes, this plugin works really fine with the LATEST WordPress branch 3.5+! :-) It was also tested with WordPress version 3.4.2 and worked like a charm! It may work with versions before but this was NOT tested. I always recommend to run the latest version of WordPress anyways :).
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:
2) 2 base shortcodes of WPDR:
[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 invironment.
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. They will also be published on my own Knowledge Base Site coming soon.
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:
functions.phpfile: Resource One - Resource Two (both by Thomas Griffin Media)
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 :)
Requires: 3.4+ or higher
Compatible up to: 3.5.2
Last Updated: 4 years ago
Active Installs: 700+
Got something to say? Need help?