Code Snippets
Prevent Media From Being Duplicated When Cloning Listings
By default, when you clone a listing that has images (logo, cover, gallery, etc.), those images will be duplicated, filling up your WordPress Media Library.
By default, when you clone a listing that has images (logo, cover, gallery, etc.), those images will be duplicated, filling up your WordPress Media Library.
Note: The default images (Default Logo, Default Map Marker, and Default Cover) are not duplicated, so they must be added or adjusted as desired. Video
This guide will show you how to easily duplicate the Elementor-based content of your MyListing website without a plugin or code snippet.
This snippet will duplicate a Post, Page, Listing, etc., set the status to ‘Draft, and drop you right into editing mode.