<?php
/**
 * Settings for theme wizard
 *
 * @package Whizzie
 * @author Catapult Themes
 * @since 1.0.0
 */

/**
 * Define constants
 **/
if ( ! defined( 'WHIZZIE_DIR' ) ) {
	define( 'WHIZZIE_DIR', dirname( __FILE__ ) );
}
// Load the Whizzie class and other dependencies
require trailingslashit( WHIZZIE_DIR ) . 'free-content.php';
// Gets the theme object
$current_theme = wp_get_theme();
$theme_title = $current_theme->get( 'Name' );

/**
 * Make changes below
 **/

// Change the title and slug of your wizard page
$grocery_supermarket_chain_config['grocery_supermarket_chain_page_slug'] 	= 'grocery-supermarket-chain';
$grocery_supermarket_chain_config['grocery_supermarket_chain_page_title']	= 'Free Demo Content';

// You can remove elements here as required
// Don't rename the IDs - nothing will break but your changes won't get carried through
$grocery_supermarket_chain_config['steps'] = array(
	'intro' => array(
		'id'			=> 'intro',
		'title'			=> __( 'Welcome to ', 'grocery-supermarket-chain' ) . $theme_title,
		'icon'			=> 'dashboard',
		'button_text'	=> __( 'System Status', 'grocery-supermarket-chain' ),
		'can_skip'		=> false,
	),
	'plugins' => array(
		'id'			=> 'plugins',
		'title'			=> __( 'Plugins', 'grocery-supermarket-chain' ),
		'icon'			=> 'admin-plugins',
		'button_text'	=> __( 'Install Plugins', 'grocery-supermarket-chain' ),
		'can_skip'		=> true,
	),
	'widgets' => array(
		'id'			=> 'widgets',
		'title'			=> __( 'Free Demo Content', 'grocery-supermarket-chain' ),
		'icon'			=> 'welcome-widgets-menus',
		'button_text_one'	=> __( 'Click On The Image To Import Customizer Demo', 'grocery-supermarket-chain' ),
		'button_text_two'	=> __( 'Click On The Image To Import Gutenberg Block Demo', 'grocery-supermarket-chain' ),
		'can_skip'		=> true,
	),
	'done' => array(
		'id'			=> 'done',
		'title'			=> __( 'All Done', 'grocery-supermarket-chain' ),
		'icon'			=> 'yes',
	)
);

/**
 * This kicks off the wizard
 **/
if( class_exists( 'GrocerySupermarketChainThemeWhizzie' ) ) {
	$GrocerySupermarketChainThemeWhizzie = new GrocerySupermarketChainThemeWhizzie( $grocery_supermarket_chain_config );
}
