Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Make and save edits to published posts/pages in WordPress without immediately replacing the public content.
PHP Shell CSS JavaScript

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
images
interface
js
tests
.gitignore
bu-versions.php
readme.md

readme.md

BU Versions is a WordPress plugin that adds new workflows to WordPress that make it possible to create, review, and schedule changes to published content with ease.

The plugin was written by Boston University IS&T staff with design and UX support from the Interactive Design group in Marketing & Communications.

Features:

  • An alternate version can be created for each post or page.
  • Revision history is accessible for the alternate version.
  • Supports custom post types automatically.
  • Supports the cloning of post meta data.

Roadmap:

  • Add support for page templates to the Alternate Version for pages.
  • Add an "Edit Version" link to the frontend admin bar.

To report an issue, file an issue on Github.

For Plugin Developers:

To add postmeta support for the BU Versions plugin, must use the following filter to register the feature and the postmeta keys for the feature. During a clone, the data associated with the meta key will be copied. When the alternate version is "published" the data will overwrite the data stored in each meta key of the original.


function foo_register_alt_version_features($features) {
    $features['feature_name'] = array(
        '_foo_meta_key1',
        '_foo_meta_key2'
    );
    return $features;
}


add_filter('bu_alt_versions_feature_support', 'foo_register_alt_version_features');

Changlog

0.5

  • Replaced the "Edit " admin bar menu with a "Edit" dropdown.

0.4

  • Added support for the cloning / overwriting of meta data.
Something went wrong with that request. Please try again.