• Resolved ahmet5489

    (@ahmet5489)


    Hi. thanks for this plugins. how to make my users duplicate “listings” in their dashboard.

    i use this code but not work. its only show on if user is administrator.
    i want to show on “customer” and “customer_alt” user roles. how to make this? Is it possible? Thanks.

    <?php duplicate_post_clone_post_link( $link, $before, $after, $id ); ?>
    

    My theme:
    MyListing – Directory & Listing WordPress Theme

Viewing 1 replies (of 1 total)
  • Plugin Support Michael Ti?a

    (@mikes41720)

    Hi @ahmet5489

    Is “listings” a public custom post type generated by your theme? If so, could you go to your WP admin dashboard > Settings (sidebar) > Duplicate Post > Permissions tab and check the ‘roles allowed to copy’ (for your users) and ‘enable for these post types’ (for your listings CPT) and check on the settings there? You may need to tick the correct options and then save the options.

    Otherwise, we aren’t able to provide specific assistance with the custom code in those filters and functions, as it will require further investigation. We hope you understand. You can review all of the available developer documentation here – https://developer.yoast.com/duplicate-post/overview/

Viewing 1 replies (of 1 total)
  • The topic ‘Frontend Duplicate For Spesific User Role’ is closed to new replies.