'Breadcrumb NavXT', 'slug' => 'breadcrumb-navxt', 'required' => false, ), array( 'name' => 'WP-PageNavi', 'slug' => 'wp-pagenavi', 'required' => false, ), array( 'name' => 'Comet Cache', 'slug' => 'comet-cache', 'required' => false, ), array( 'name' => 'Meta Slider', 'slug' => 'ml-slider', 'required' => false, ), array( 'name' => 'The Events Calendar', 'slug' => 'the-events-calendar', 'required' => false, ), ); /** * Array of configuration settings. Amend each line as needed. * If you want the default strings to be available under your own theme domain, * leave the strings uncommented. * Some of the strings are added into a sprintf, so see the comments at the * end of each line for what each argument will be. */ $message_strings = '
'; $message_strings .= ''; $config = array( 'default_path' => '', // Default absolute path to pre-packaged plugins. 'menu' => 'tgmpa-install-plugins', // Menu slug. 'has_notices' => true, // Show admin notices or not. 'dismissable' => true, // If false, a user cannot dismiss the nag message. 'dismiss_msg' => '', // If 'dismissable' is false, this message will be output at top of nag. 'is_automatic' => false, // Automatically activate plugins after installation or not. 'message' => $message_strings, // Message to output right before the plugins table. ); tgmpa( $plugins, $config ); }