The Duplicate Post widget adds a button that allows users to duplicate posts directly from the frontend. Users can quickly create copies of listings, templates, or any content they have permission to duplicate.
Overview
Enable users to duplicate posts without accessing the WordPress admin. The widget displays a button that creates a copy of the current post and optionally redirects the user to edit the new copy. Role-based permissions control who can duplicate content.
Key Features
One-click post duplication
Role-based access control
Post type restrictions
Custom button text
Redirect options after duplication
Custom title suffix for copies
Full button styling controls
Setup Instructions
Step 1: Enable the Function
Navigate to Voxel Toolkit > Functions in your WordPress admin
Find Duplicate Post in the list
Toggle the switch to enable the function
Configure which post types can be duplicated
Set allowed user roles
Click Save Changes
Step 2: Enable the Widget
Navigate to Voxel Toolkit > Widgets
Find Duplicate Post in the list
Toggle the switch to enable the widget
Click Save Changes
Step 3: Add to Template
Edit your single post template in Elementor
Search for Duplicate Post (VT)
Drag the widget to your desired location
Configure button text and redirect options
Save the template
Widget Settings
Content Settings
Setting
Description
Default
Button Text
Text displayed on the duplicate button
“Duplicate Post”
Redirect After Duplicate
Where to go after duplication
Create/Edit Page
Copying Text
Text shown while duplication is in progress
“Duplicating…”
Title Suffix
Text added to the duplicated post title
“(Copy)”
Redirect Options
Create/Edit Page – Redirect to the Voxel create/edit form for the new post
Current Page – Stay on the current page after duplication
Styling Options
Button Style
Typography (font family, size, weight)
Text color (normal and hover)
Background color/gradient (normal and hover)
Border settings
Border radius
Box shadow
Padding
Hover animation
Alignment (left, center, right)
Permission Settings
Configure who can duplicate posts in Voxel Toolkit > Functions > Duplicate Post:
Post Types
Select which post types can be duplicated. The button will only appear on enabled post types.
Allowed Roles
Choose which user roles can duplicate posts:
Administrator
Editor
Author
Contributor
All Roles (allows any logged-in user)
Use Cases
Listing Templates
Allow business owners to duplicate their own listings to create similar ones quickly.
Event Duplication
Let event organizers duplicate past events to create recurring or similar events.
Product Variations
Enable sellers to duplicate product listings to create variations with minor differences.
Content Templates
Create template posts that users can duplicate and customize.
Troubleshooting
Button Not Appearing
Check that the Duplicate Post function is enabled
Verify the post type is in the allowed list
Ensure the user is logged in
Check that the user’s role is allowed to duplicate
Shows “Duplication Disabled”
Enable the Duplicate Post function in Toolkit settings
Shows “Not Enabled for This Post Type”
Add this post type to the allowed post types in function settings
Shows “Login Required”
Users must be logged in to duplicate posts
Check that the user’s role is in the allowed roles list