Gradient Themes
Forum Replies Created
-
Forum: Plugins
In reply to: [Advanced Import: One-Click Demo Import for WordPress] Demo import errorI have tried above,
can you add below code to your plugin and import demo 2 times, first time it will install, second time it will display error: plugin file does not exist, contact theme author:error
‘plugins’ => array(
array(
‘name’ => __( ‘Gutentor’, ‘text-domain’ ),
‘slug’ => ‘gutentor’,
),
array(
‘name’ => __( ‘Contact Form 7’, ‘text-domain’ ),
‘slug’ => ‘contact-form-7’,
‘main_file’ => ‘wp-contact-form-7.php’,/*the main plugin file of contact form 7 is different from plugin slug */
),
)Forum: Plugins
In reply to: [Advanced Import: One-Click Demo Import for WordPress] Demo import error‘plugins’ => array(
array(
‘name’ => ‘Elementor Page Builder’,
‘slug’ => ‘elementor’,
),array(
‘name’ => ‘WooCommerce’,
‘slug’ => ‘woocommerce’,
),array(
‘name’ => ‘Product Quick View’,
‘slug’ => ‘yith-woocommerce-quick-view’,
),array(
‘name’ => ‘WP Forms’,
‘slug’ => ‘wpforms-lite’,
‘main_file’ => ‘wpforms.php’,
),array(
‘name’ => esc_html__(‘Wishlist’, ‘best-shop’ ),
‘slug’ => ‘yith-woocommerce-wishlist’,),
)Use fresh installation and install
First time it will install, if you install same demo or another demo again, the above error displayed.Also you can test it with your sample plugin array above
- This reply was modified 4 years, 4 months ago by Gradient Themes.