get_all_plugins_list() as $slug => $plugin_data ) {
if ( ( 'base' === $plugin_data['access'] ) ) {
$required_plugins[ $slug ] = $plugin_data;
continue;
}
if ( jet_plugins_wizard_data()->is_current_skin_plugin( $slug ) ) {
$recommended_plugins[ $slug ] = $plugin_data;
continue;
}
$rest_plugins[ $slug ] = $plugin_data;
}
if ( ! empty( $required_plugins ) ) {
echo '
';
echo '
' . esc_html__( 'Required Plugins', 'jet-plugins-wizard' ) . '
';
echo '
' . esc_html__( 'The minimum set of service plugins for your theme installation is set by default.', 'jet-plugins-wizard' ) . '
';
foreach ( $required_plugins as $slug => $plugin_data ) {
jet_plugins_wizard()->get_template( 'configure-plugins/item.php', array_merge(
array( 'slug' => $slug ),
$plugin_data
) );
}
echo '
';
}
if ( ! empty( $recommended_plugins ) ) {
echo '
';
echo '
' . esc_html__( 'Recommended Plugins', 'jet-plugins-wizard' ) . '
';
echo '
' . esc_html__( 'The recommended set of basic plugins to display the template’s pages. The best option for your site\'s future configuration. If you will not install one or more plugins from this list, the specific sections of the template, for which these plugins are responsible, will not be displayed.', 'jet-plugins-wizard' ) . '
';
foreach ( $recommended_plugins as $slug => $plugin_data ) {
jet_plugins_wizard()->get_template( 'configure-plugins/item.php', array_merge(
array( 'slug' => $slug ),
$plugin_data
) );
}
echo '
';
}
if ( ! empty( $rest_plugins ) ) {
echo '
';
echo '
' . esc_html__( 'Extra Plugins', 'jet-plugins-wizard' ) . '
';
echo '
' . esc_html__( 'The full list of plugins available for a template installation is recommended if you want to get additional functionality to your theme.', 'jet-plugins-wizard' ) . '
';
foreach ( $rest_plugins as $slug => $plugin_data ) {
jet_plugins_wizard()->get_template( 'configure-plugins/item.php', array_merge(
array( 'slug' => $slug ),
$plugin_data
) );
}
echo '
';
}
?>