exygy / duplicate-and-merge-posts Goto Github PK
View Code? Open in Web Editor NEWDuplicate and merge post WordPress Plugin. https://wordpress.org/plugins/duplicate-and-merge-posts/
Home Page: http://exygy.com
Duplicate and merge post WordPress Plugin. https://wordpress.org/plugins/duplicate-and-merge-posts/
Home Page: http://exygy.com
=== Duplicate and Merge Posts === Contributors: Exygy, David Wells, Pllum Donate link: mailto: [email protected] License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: duplicate post, copy, clone, merge, fork Requires at least: 3.8 Tested up to: 4.1 Stable Tag: 1.0.5 Duplicate existing pages on your site, edit them, and merge them back over the original. Think drafts on steroids. == Description == > In a nutshell: Finally be able to duplicate and edit live posts without messing up the live version of the post. This plugin gives users the ability to clone, edit, and then merge back the updated copy back into the original post. You control who has access to duplicate, you also control who has the permissions to merge the newly cloned edited post back into the original. = Here's the flow: = Original Post -> Clone -> Edit -> Merge back to Original Post = Watch it in action = http://www.youtube.com/watch?v=5ngkWcIcpsE = Use Cases = * Speed up page updating/iteration process * Duplicate / clone posts for quicker page creation * Grant visitors the ability to submit typo fixes * Turn your site into a wiki * ANYTHING! = Contribute to the plugin = Developers! Pull requests welcome: https://github.com/Exygy/duplicate-and-merge-posts == Installation == 1. Upload plugin folder to the `/wp-content/plugins/` directory 2. Activate the plugin through the 'Plugins' menu in WordPress == Frequently Asked Questions == *This is really cool, *That is not a question. == Screenshots == 1. Duplicate and edit the existing post 2. Duplicate from the admin bar 3. Submit updated copy for review, Merge back to the original Post, View Side by side differences, or save as a new post altogether 4. View Side by Side differences == Changelog == = 1.0.5 = * Added the ability to permanently unlink cloned posts. = 1.0.4 = * Update headers again! = 1.0.3 = * Update headers again! = 1.0.2 = * Update headers = 1.0.1 = Released
After merge clone button no longer working : http://www.screencast.com/t/5FmCctywmTSb
If a post is duplicated, edited and merged back to original, I think that the correct behaviour should be to not modify the original post creation date.
I've seen that the default option to copy date is set to false:
"duplicate_post_copydate" => false,
But I can not find when or why date is being copied when merging to original.
Is it a bug? Are you planning to add filters or make these options configurable?
I've been having an issue getting my custom post types to show up in the setting of the plugin. So I started trying to debug the issue.
In settings.php, in fields( $fields )
I dropped in a var_dump($post_types)
to see what post types it was pulling up. From the output it shows that it's only finding built in post types.
So then I went to my post creation hook.:
add_action( 'init', 'create_my_post_types', 0);
I added an echo inside of it, and sure enough, the echo is happening after the var_dump.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.