One Click Copy
-
Hi Lopo,
Thanks for the great plugin.
I am using a frontend link to clone the post:
<a href="http://myfashn.com/wp-admin/admin.php?action=duplicate_post_save_as_new_post_draft&post=<?php echo get_the_ID(); ?>">SAVE</a>After clicking save it clones the post and redirects to the backend. I have seen in some other forum post you mentioned that the response of the function could be changed so it doesn’t redirect but stays on the same page.
Could you explain how to do that?Please note that i am also using the template tag duplicate_post_clone_post_link( $link, $before, $after, $id ), and i want to keep using it.
Secondly, i am using a custom taxonomy called “collection”, would it be possible to set the term of the taxonomy to “clone” when using this method?
So basically i am looking to have two methods:
1) quick clone, with no redirect to the backend, but with option to set taxonomy term automatically to a fixed term
2) normal clone, where user has the option to change some fields manually.
The topic ‘One Click Copy’ is closed to new replies.