• Resolved kierok

    (@kierok)


    Hello. Is it possible to clone posts via frontend without need to access wordpress dashboard? Was trying to add duplicate_post_clone_post_link( __(‘Clone this Post’,’duplicate-post’), $before, $after, $id ); inside my template, but it always redirecting me to edit.php of cloned post for admin account, and for accounts that can`t access wordpress dashboard but got cap for clone only reload of current page happens.

    Thank You for support and nice plugin.
    If needed i can add translations in russian and ukrainian languages of this plugin to show my support to u)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter kierok

    (@kierok)

    I was trying something like this –

    <a href="<?php echo wp_nonce_url(add_query_arg(array('action'=>'duplicate_post_save_as_new_post','resume_id'=>$post->ID),admin_url('admin.php') ) ); ?>">Clone this</a>

    and

    <?php echo do_shortcode('[duplicate_post]'); ?>

    • This reply was modified 8 years, 10 months ago by kierok.
    Moderator Yui

    (@fierevere)

    永子

    If needed i can add translations in russian and ukrainian languages of this plugin to show my support to u)

    both uk and ru are at 100%
    language pack for ru should be created/updated within a hour

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘FrontEnd post clone’ is closed to new replies.