PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 2.2.0
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v2.2.0
3.4.1 3.4.0 3.3.9 3.3.8 3.3.7 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 3.3.1 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.2.7 2.2.8 2.2.9 2.3.0 2.3.1 2.3.2 2.3.3 All 194 releases
convertkit / views / backend / setup-wizard / header.php

header.php in Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages 2.2.0, at views/backend/setup-wizard/header.php

70 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs the header template for a Setup Wizard screen
4 *
5 * @package ConvertKit
6 * @author ConvertKit
7 */
8
9 ?>
10 <!DOCTYPE html>
11 <html <?php language_attributes(); ?>>
12 <head>
13 <meta name="viewport" content="width=device-width"/>
14 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
15 <title><?php echo esc_html( CONVERTKIT_PLUGIN_NAME ); ?> &lsaquo; <?php bloginfo( 'name' ); ?> &#8212; WordPress</title>
16 <script type="text/javascript">
17 var ajaxurl = '<?php echo esc_js( admin_url( 'admin-ajax.php', 'relative' ) ); ?>';
18 </script>
19 <?php
20 do_action( 'admin_print_scripts' );
21 do_action( 'admin_print_styles' );
22 do_action( 'admin_head' );
23 ?>
24 </head>
25 <body class="wp-admin wp-core-ui convertkit">
26 <div id="convertkit-setup-wizard">
27 <header id="convertkit-setup-wizard-header">
28 <h1><?php echo esc_html( CONVERTKIT_PLUGIN_NAME ); ?></h1>
29 </header>
30
31 <div class="wrap">
32 <div id="convertkit-setup-wizard-progress">
33 <ol>
34 <?php
35 foreach ( $this->steps as $step_count => $step ) {
36 ?>
37 <li class="step-<?php echo esc_attr( $step_count ); ?><?php echo ( $step_count <= $this->step ? ' done' : '' ); ?>"><?php echo esc_html( $step['name'] ); ?></li>
38 <?php
39 }
40 ?>
41 </ol>
42 </div>
43
44 <?php
45 // If an error occured, display an error notice.
46 if ( $this->error ) {
47 ?>
48 <div class="notice notice-error is-dismissible">
49 <p><?php echo esc_html( $this->error ); ?></p>
50 </div>
51
52 <?php
53 }
54 ?>
55 </div>
56
57 <div id="convertkit-setup-wizard-body">
58 <form action="<?php echo esc_attr( $this->next_step_url ); ?>" method="POST">
59 <div id="convertkit-setup-wizard-content">
60 <div id="convertkit-setup-wizard-step">
61 <?php
62 echo sprintf(
63 /* translators: %1$s: Current Step, %2$s: Total Steps */
64 esc_html__( 'Step %1$s of %2$s', 'convertkit' ),
65 esc_html( $this->step ),
66 esc_html( count( $this->steps ) )
67 );
68 ?>
69 </div>
70