• Resolved eGuard

    (@eguard)


    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.

    https://ww.wp.xz.cn/plugins/duplicate-post/

Viewing 1 replies (of 1 total)
  • Hi,
    what you ask is not possible at the moment, but these are very interesting improvements and I’m adding them to my to-do list!

    About the custom taxonomy “clone” term, all cloned items have a custom field _dp_original (set to the ID of the original item): I don’t know if that can help you to get all cloned items and set the right term for all of them, until I add the feature you asked…

    Thanks for your suggestions!

Viewing 1 replies (of 1 total)

The topic ‘One Click Copy’ is closed to new replies.