Prepare New Version Wordpress Plugin - Rating, Reviews, Demo & Download

Prepare New Version Preview Wordpress Plugin - Rating, Reviews, Demo & Download
4.8 Average out of 6 ratings
Free
Follow for free plugins, new theme releases and theme news

Plugin Description

Sometimes happiness is about small things. What about being able to prepare a new version of your content while its original is still online?

Anticipating and preparing the next version of an article which is already online can quickly become a tedious and risky task. Indeed, most publishers will create a brand new post, fill it in, publish it once it’s ready and finally disable the original article.

Basic features:

  • creation of a new version of an article in 1 click;
  • direct access to other pending versions of an article;
  • update of an article to its new version in 1 click.

Advanced features:

  • duplication of an article into a brand new independent copy;
  • hookable 😉
  • works with any post types, custom or not
  • makes coffee (we’re still working on that)

About

Hooks

pnv_duplicata_status_args
Filter that can be used to alter arguments sent to ‘register_post_status’.
Default arguments are:

  • label => Duplicate

  • public => false

  • exclude_from_search => true

  • show_in_admin_all_list => false

  • label_count =>

    • singular => Duplicate (%s)
    • plural => Duplicates (%s)

pnv_erase_content_destination
Filter that can be used to alter $destination array before ‘wp_insert_post’ get called when a copy, duplication or replacement is triggered
This filter sends 3 other parameters: the $source object (WP_Post instance) and the $copy boolean

pnv_filtered_metas
Filter that can be used to alter meta names that must not be treated while a post is copied, duplicated or replaced
The default metas is an array with these values:

  • _pnv_duplicata => true

pnv_erase_content
Action triggered at the end of a copy, duplication or replacement.
This action sends 4 parameters:

  • the $source object (WP_Post instance)

  • the $destination array (represents post data)

  • the $copy boolean

  • the destination’s post ID

pnv_action_url_redirect
Filter that can be used to alter redirect URL after a copy, duplication or replacement.
The default value is the admin edit page for the destination post (the one that has been saved)
This filter sends 1 other parameter: the destination post ID
pnv_{column_name}_column_value
Filter that can be used to alter the value displayed on the posts list, in the ‘{column_name}’ column.
This plugin comes with only one custom column for now, ‘duplicata’, so {column_name} will always be ‘duplicata’, and the default value will be the count of duplicates for the post.
This filter sends 1 other parameter: the post ID

Thank’s

The original version of this plugin has been developed by Lionel POINTET (https://github.com/lpointet) who keeps following the project carefully.

A big thank-you to Groupe Moniteur for which a great part of this development was intended and which accepted enthusiastically to do a completely open source plugin from it. Thank you to Uncategorized Creations people, for their regular advice and their perseverance in making WordPress a leading CMS.

GLOBALIS

GLOBALIS is a web IT consulting company based in Paris, and a pioneer of the PHP and LAMP platform. Since 1997, we have been designing, making and maintaining Internet, intranet or mobile software. We have been working with open source CMS since 2000 and have regularly been using WordPress since 2007.

Screenshots

  1. <strong>New handy box in editing view</strong> - When creating/editing a post or a page, users get access to a new box to prepare a new version or create a copy of the document with only <strong>one click</strong> !

    New handy box in editing view – When creating/editing a post or a page, users get access to a new box to prepare a new version or create a copy of the document with only one click !

  2. And when you're ready to update the current online article, it will just take you one more click. Easy as a pie!

    And when you’re ready to update the current online article, it will just take you one more click. Easy as a pie!

  3. Create a new post as usual. When you’re done,  you can of course publish it (A) or directly create a new version (B), or even create a copy (C). If you directly create a new version or a copy, the post is saved as a draft.

    Create a new post as usual. When you’re done, you can of course publish it (A) or directly create a new version (B), or even create a copy (C). If you directly create a new version or a copy, the post is saved as a draft.

  4. After you prepared a new version, the “Pending versions” block now looks like the picture below (D). To access the pending versions list, you first need to edit the original post, or one of its pending versions.

    After you prepared a new version, the “Pending versions” block now looks like the picture below (D). To access the pending versions list, you first need to edit the original post, or one of its pending versions.

  5. Once you clicked on a pending version of a post, you can edit it as a normal one. Inside the “Publish” block, hit the save button (E) to save the pending version you’re working on, or the preview button (F). To delete the pending version, click on the link “Move to trash” (H). If you want to replace the current version of the original post with the pending version click on the button “Update original” (G). You can also directly move to another pending version by clicking the link (I), create another new version (J) or create a complete new post (K) based on the current pending version.

    Once you clicked on a pending version of a post, you can edit it as a normal one. Inside the “Publish” block, hit the save button (E) to save the pending version you’re working on, or the preview button (F). To delete the pending version, click on the link “Move to trash” (H). If you want to replace the current version of the original post with the pending version click on the button “Update original” (G). You can also directly move to another pending version by clicking the link (I), create another new version (J) or create a complete new post (K) based on the current pending version.

  6. <strong>Preparing a new version</strong> - A copy of the article is created. "[New version]" is automatically prepended to its title and a link to the original article is available at the top of the editing form. The created post is completely independent of the original. It is in a Draft status and "[Copy]" is automatically prepended to its title.

    Preparing a new version – A copy of the article is created. “[New version]” is automatically prepended to its title and a link to the original article is available at the top of the editing form. The created post is completely independent of the original. It is in a Draft status and “[Copy]” is automatically prepended to its title.

  7. In the Posts list, a new column “Pending version” appears in last position.

    In the Posts list, a new column “Pending version” appears in last position.


Reviews & Comments