Hello @ceylonthemes ,
Can you send exported zip file download link and theme link. Also let me know the option name. I will test and let you know if I find anything.
Best Regards!
Themes are https://wordpress.org/themes/green-shop/ and https://wordpress.org/themes/shop-starter/
Install above theme and activate plugins and test import feature,
example options array of settings (not working),
// address
$wp_customize->add_setting( 'ecommerce_plus_options[contact_section_address]' , array(
'default' => $ecommerce_plus_options['contact_section_address'],
'sanitize_callback' => 'sanitize_text_field',
'type'=>'option'
));
parent theme is ecommerce-plus
Demo files with plugin:- https://plugins.svn.wordpress.org/ceylon-demo-installer/trunk/includes/demo-data/
Hello @ceylonthemes,
I quickly gone through your theme code. Your theme is not storing all data on theme mods option but also added another option ecommerce_plus_options, see here. I think reviewer has missed it.
Anyway if you want to include this option for import, here is FAQ Some option table are not exported, what is happening?, there is a code example to include your needed options. For your case, the code will be something like this.
add_action('advanced_export_include_options','prefix_include_my_options');
function prefix_include_my_options( $included_options ){
$my_options = array(
'ecommerce_plus_options',
);
return array_unique (array_merge( $included_options, $my_options));
}
After adding the code on your WordPress installation( recommended using your companion plugin), export the demo and try to import again. It should work.
Best Regards!
Hi @codersantosh,
That is the way of using options array in instead of saving each options one by one.
It seems working now.
Another issue is custom widgets not importing with demo import.
ex: create a page with elementor, add widgets starting prefix +, export
(Use ecomemrce plus theme)
Thanks a lot
Hello @ceylonthemes , Sorry but could not get you.