Sample code to help customize WP Document Revisions. Once adapted to your needs the files in the cookbook should be dropped into your /wp-content/plugins/ directory (or a sub-directory thereof) and activated like any plugin would be.
- Third Party Encryption - example of how to integrate at rest encryption using third-party tools
- Audit Trail - creates check in / check out audit trail
- Bulk Import - how to batch import a directory (or other list) of files as documents
- Change Tracker - Auto-generates and appends revision summaries for changes to taxonomies, title, and visibility'
- Document Parent - Creates UI for selecting document's post parent (useful for querying on the front-end like attachments)
- Filetype Taxonomy - Adds support to filter by filetype
- Network Admin - Provides interface to set document upload directory when plugin is not network activated on multisite installs
- Rename Documents - changes all references to "Documents" in the interface to any label of your choosing
- State Change Notification - how to use document api to allow the author to receive notification whenever his or her document changes workflow states
- Taxonomy Permissions - allows setting user-level permissions and access control based on document being in a given workflow state or other custom taxonomy such as department
Integration plugins that will integrate WP Document Revisions with other plugins.
- Role Permissions - Integrates the Members plugin Content Permissions functionality into WP Document Revisions to provide role based document access.
- WPML Support - Integrates WPML with WP Document Revisions to provide multi-language documents.
To use these integration plugins, the specific directory should be zipped (i.e. a single compressed file) and then loaded as a plugin and activated.
Code Cookbook Alumni (Deprecated functions now included with the plugin by default):
- Recently Revised Widget - example of how to list recently revised documents in a widget
- Revision Shortcode - Code sample to demonstrate short code to list revisions
- Edit Flow Support - detect and integrate with Edit Flow, when present
- Remove Workflow States - Completely removes Workflow state taxonomy backend and UI
- Remove Date from Permalink - Remove the automatically prepended
/yyyy/mm/
from document links
See also, the full set up custom plugins used to power a peer reviewed scholarly publication's workflow.