Home › Forums › WoodMart support forum › Dummy content and lightbox › Reply To: Dummy content and lightbox
May 16, 2022 at 2:35 pm
#376179
Artem Temos
Keymaster
Hello,
We are sorry for the inconvenience.
To remove some particular pages from the import data and be able to import it again try to do the following
1. Add this code to the functions.php file in your CHILD theme
add_action( 'wp', function () {
if ( ! isset( $_GET['wd_clear_page'] ) || empty( $_GET['wd_clear_page'] ) ) {
return;
}
$imported_versions = get_option( 'wd_import_imported_versions' );
$imported_versions = array_flip( $imported_versions );
unset( $imported_versions[$_GET['wd_clear_page']] );
$imported_versions = array_flip( $imported_versions );
$imported_versions = array_values( $imported_versions );
update_option( 'wd_import_imported_versions', $imported_versions );
} );
2. Find your page in the file woodmart/inc/configs/versions.php and copy its slug https://gyazo.com/f51b0a862e8fb1d33b66fad3248c3858
3. Open the link as an example replacing your website URL and page slug woodmart-site.com/?wd_clear_page=SLUG
4. Go to dummy content and try to import this page.
Feel free to contact us if you have any further questions.
Kind Regards