# convertkit/2.3.2/views/backend/setup-wizard/header.php

Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages, version 2.3.2. 80 lines.

- Page: https://pluginprobe.com/plugins/convertkit/2.3.2/code/views/backend/setup-wizard/header.php
- Raw: https://pluginprobe.com/plugins/convertkit/2.3.2/raw/views/backend/setup-wizard/header.php
- Modified: 2023-09-06T15:12:14+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/convertkit/2.3.2/code/views/backend/setup-wizard/header.php#L10-L20`.

```php
<?php
/**
 * Outputs the header template for a Setup Wizard screen
 *
 * @package ConvertKit
 * @author ConvertKit
 */

?>
<!DOCTYPE html>
<html <?php language_attributes(); ?>>
	<head>
		<meta name="viewport" content="width=device-width"/>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
		<title><?php echo esc_html( CONVERTKIT_PLUGIN_NAME ); ?> &lsaquo; <?php bloginfo( 'name' ); ?>  &#8212; WordPress</title>
		<script type="text/javascript">
		var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>';
		</script>
		<?php
		do_action( 'admin_print_scripts' );
		do_action( 'admin_print_styles' );
		do_action( 'admin_head' );
		?>
	</head>
	<body class="wp-admin wp-core-ui convertkit <?php echo esc_attr( $this->is_modal() ? ' convertkit-modal' : '' ); ?>">
		<div id="convertkit-setup-wizard">
			<?php
			if ( ! $this->is_modal() ) {
				?>
				<header id="convertkit-setup-wizard-header">
					<h1><?php echo esc_html( CONVERTKIT_PLUGIN_NAME ); ?></h1>
				</header>
				<?php
			}
			?>

			<div class="wrap">
				<?php
				if ( ! $this->is_modal() ) {
					?>
					<div id="convertkit-setup-wizard-progress">
						<ol>
							<?php
							foreach ( $this->steps as $step_count => $step ) {
								?>
								<li class="step-<?php echo esc_attr( $step_count ); ?><?php echo ( $step_count <= $this->step ? ' done' : '' ); ?>"><?php echo esc_html( $step['name'] ); ?></li>
								<?php
							}
							?>
						</ol>
					</div>
					<?php
				}

				// If an error occured, display an error notice.
				if ( $this->error ) {
					?>
					<div class="notice notice-error is-dismissible">
						<p><?php echo esc_html( $this->error ); ?></p>
					</div>

					<?php
				}
				?>
			</div>

			<div id="convertkit-setup-wizard-body">
				<form action="<?php echo esc_attr( $this->next_step_url ); ?>" method="POST">
					<div id="convertkit-setup-wizard-content">
						<div id="convertkit-setup-wizard-step">
							<?php
							printf(
								/* translators: %1$s: Current Step, %2$s: Total Steps */
								esc_html__( 'Step %1$s of %2$s', 'convertkit' ),
								esc_html( $this->step ),
								esc_html( count( $this->steps ) )
							);
							?>
						</div>

```
