guided_tour_steps() );
}
/**
* Template for steps.
*
* @since 2.2.0
*/
public function print_templates() {
?>
__( 'Welcome to the Customizer', 'storefront' ),
/* translators: %s: 'End Of Line' symbol */
'message' => sprintf( __( 'Here you can control the overall look and feel of your store.%sTo get started, let\'s add your logo', 'storefront' ), PHP_EOL . PHP_EOL ),
'button_text' => __( 'Let\'s go!', 'storefront' ),
'section' => '#customize-info',
);
if ( ! has_custom_logo() ) {
$steps[] = array(
'title' => __( 'Add your logo', 'storefront' ),
'message' => __( 'Open the Site Identity Panel, then click the \'Select Logo\' button to upload your logo.', 'storefront' ),
'section' => 'title_tagline',
);
}
$steps[] = array(
'title' => __( 'Customize your navigation menus', 'storefront' ),
'message' => __( 'Organize your menus by adding Pages, Categories, Tags, and Custom Links.', 'storefront' ),
'section' => 'nav_menus',
);
$steps[] = array(
'title' => __( 'Choose your accent color', 'storefront' ),
'message' => __( 'In the typography panel you can specify an accent color which will be applied to things like links and star ratings. We recommend using your brand color for this setting.', 'storefront' ),
'section' => 'storefront_typography',
);
$steps[] = array(
'title' => __( 'Color your buttons', 'storefront' ),
'message' => __( 'Choose colors for your button backgrounds and text. Once again, brand colors are good choices here.', 'storefront' ),
'section' => 'storefront_buttons',
);
$steps[] = array(
'title' => '',
/* translators: 1: open tag, 2: close tag, 3: 'End Of Line' symbol */
'message' => sprintf( __( 'All set! Remember to %1$ssave & publish%2$s your changes when you\'re done.%3$sYou can return to your dashboard by clicking the X in the top left corner.', 'storefront' ), '', '', PHP_EOL . PHP_EOL ),
'section' => '#customize-header-actions .save',
'button_text' => __( 'Done', 'storefront' ),
);
return $steps;
}
}
endif;
return new Storefront_NUX_Guided_Tour();