Linux 软件免费装
Banner图

Simple Download Manager for WP Document Revisions

开发者 daveshine
deckerweb
wpautobahn
更新时间 2019年11月13日 07:47
捐献地址: 去捐款
PHP版本: 5.6 及以上
WordPress版本: 5.3
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

widgets files documents file manager add-on download manager downloads revisions deckerweb wp document revisions easy downloads simple downloads

下载

1.0.0 1.2.0 1.2.1

详情介绍:

ADD-ON PLUGIN for "WP Document Revisions" (WPDR) 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! https://www.youtube.com/watch?v=NmT1MWFdzUI 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 :-). What this Add-On does - General Features Special Features of this Add-On Benefits of using "WP Document Revisions" as the base plugin Requirements Recommended Settings & Usage Instructions Third-party compatibility included Translations Be a Contributor 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. Documentation and Support Liked WP Document Revisions Simple Downloads? Recommended Time Saver 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 :) This Plugin ...

安装:

Minimum Requirements We Recommend Your Host Supports at least: Installation
  1. Install using the WordPress built-in Plugin installer (via Plugins > Add New - search for wpdr simple downloads), or extract the ZIP file and drop the contents in the wp-content/plugins/ directory of your WordPress installation.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Go to "Documents"/ "Downloads" > Download Settings to set a few options - or just be happy with the default settings :)
  4. Go and manage your downloas files :)
Recommended Settings: Go the add-on plugin's settings page (located under "Documents"/ "Downloads" > Download Settings): Basic Usage: Other Stuff: 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. Deinstallation 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

升级注意事项:

1.2.1 Major release: Back in life :-) - Fully working again. All code fixed, refactored and improved. - Have fun managing your download files ;-) -- Update highly recommended! 1.2.0 Major release: Back in life :-) - Fully working again. All code fixed, refactored and improved. - Have fun managing your download files ;-) -- Update highly recommended! 1.1.0 Private beta (unreleased). 1.0.0 Just released into the wild.

常见问题:

Why on earth do I need this plugin along with WPDR?

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.

Alternatives for inserting downloads/ documents?

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 ...]' ); ?>

What's going on, "Downloads" or "Documents"?

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 :).

Is this plugin Multisite compatible?

Of course it is! :) Works really fine in Multisite environment.

In Multisite, can I "network activate" this plugin?

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.

Where are the Hooks & Filters documented?

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 :)

More info on Translations?

  • English - default, always included
  • German (de_DE): Deutsch - immer dabei! :-)
  • 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 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) 1.2.1 - 2018-12-14 1.2.0 - 2018-12-12 1.1.0 - 2013-11-11 1.0.0 (2012-12-28)