| @@ -15,9 +15,9 @@ | ||
| 15 | 15 | if ( $this->previous_step_url ) { |
| 16 | 16 | ?> |
| 17 | 17 | <div class="left"> |
| 18 | 18 | <a href="<?php echo esc_url( $this->previous_step_url ); ?>" class="button button-hero"> |
| 19 | - <?php echo esc_html_e( 'Back', 'convertkit' ); ?> | |
| 19 | + <?php esc_html_e( 'Back', 'convertkit' ); ?> | |
| 20 | 20 | </a> |
| 21 | 21 | </div> |
| 22 | 22 | <?php |
| 23 | 23 | } |
| @@ -49,9 +49,9 @@ | ||
| 49 | 49 | </div><!-- /#convertkit-setup-wizard-body --> |
| 50 | 50 | |
| 51 | 51 | <?php |
| 52 | 52 | // Show exit link if we're not on the last step. |
| 53 | - if ( $this->step < count( $this->steps ) ) { | |
| 53 | + if ( $this->get_current_step_number() < $this->get_total_steps() && ! $this->is_modal() ) { | |
| 54 | 54 | ?> |
| 55 | 55 | <div id="convertkit-setup-wizard-exit-link"> |
| 56 | 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 | 57 | <?php esc_html_e( 'Exit wizard', 'convertkit' ); ?> |
| @@ -58,8 +58,11 @@ | ||
| 58 | 58 | </a> |
| 59 | 59 | </div> |
| 60 | 60 | <?php |
| 61 | 61 | } |
| 62 | + | |
| 63 | + // Output Intercom. | |
| 64 | + convertkit_output_intercom_messenger(); | |
| 62 | 65 | ?> |
| 63 | 66 | </div> |
| 64 | 67 | </body> |
| 65 | 68 | </html> |