Forum Replies Created

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter Gradient Themes

    (@gradientthemes)

    I 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 */
    ),
    )

    Thread Starter Gradient Themes

    (@gradientthemes)

    ‘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

Viewing 2 replies - 16 through 17 (of 17 total)