PluginProbe
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages / 2.7.4
Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages v2.7.4
3.4.2 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 All 195 releases
convertkit / views / backend / setup-wizard / footer.php

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

69 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs the footer template for a Setup Wizard screen
4 *
5 * @package ConvertKit
6 * @author ConvertKit
7 */
8
9 ?>
10 </div><!-- /#convertkit-setup-wizard-content -->
11
12 <div id="convertkit-setup-wizard-footer">
13 <?php
14 // Display a back link if supplied.
15 if ( $this->previous_step_url ) {
16 ?>
17 <div class="left">
18 <a href="<?php echo esc_url( $this->previous_step_url ); ?>" class="button button-hero">
19 <?php esc_html_e( 'Back', 'convertkit' ); ?>
20 </a>
21 </div>
22 <?php
23 }
24
25 // Display a submit button if supplied.
26 if ( isset( $this->steps[ $this->step ]['next_button'] ) ) {
27 ?>
28 <div class="right">
29 <?php
30 if ( isset( $this->steps[ $this->step ]['next_button']['link'] ) ) {
31 // Link.
32 ?>
33 <a href="<?php echo esc_url( $this->steps[ $this->step ]['next_button']['link'] ); ?>" class="button button-primary button-hero"><?php echo esc_html( $this->steps[ $this->step ]['next_button']['label'] ); ?></a>
34 <?php
35 } else {
36 // Submit button.
37 wp_nonce_field( $this->page_name );
38 ?>
39 <button class="button button-primary button-hero"><?php echo esc_html( $this->steps[ $this->step ]['next_button']['label'] ); ?></button>
40 <?php
41 }
42 ?>
43 </div>
44 <?php
45 }
46 ?>
47 </div>
48 </form>
49 </div><!-- /#convertkit-setup-wizard-body -->
50
51 <?php
52 // Show exit link if we're not on the last step.
53 if ( $this->step < count( $this->steps ) && ! $this->is_modal() ) {
54 ?>
55 <div id="convertkit-setup-wizard-exit-link">
56 <a href="<?php echo esc_url( $this->exit_url ); ?>" class="convertkit-confirm" title="<?php esc_html_e( 'Exit wizard', 'convertkit' ); ?>" data-message="<?php esc_html_e( 'Are you sure you want to exit the wizard? Setup is incomplete.', 'convertkit' ); ?>">
57 <?php esc_html_e( 'Exit wizard', 'convertkit' ); ?>
58 </a>
59 </div>
60 <?php
61 }
62
63 // Output Intercom.
64 convertkit_output_intercom_messenger();
65 ?>
66 </div>
67 </body>
68 </html>
69