| @@ -66,14 +66,20 @@ | ||
| 66 | 66 | |
| 67 | 67 | <div id="convertkit-setup-wizard-body"> |
| 68 | 68 | <form action="<?php echo esc_attr( $this->next_step_url ); ?>" method="POST"> |
| 69 | 69 | <div id="convertkit-setup-wizard-content"> |
| 70 | - <div id="convertkit-setup-wizard-step"> | |
| 70 | + <?php | |
| 71 | + if ( ! $this->is_modal() ) { | |
| 72 | + ?> | |
| 73 | + <div id="convertkit-setup-wizard-step"> | |
| 74 | + <?php | |
| 75 | + printf( | |
| 76 | + /* translators: %1$s: Current Step, %2$s: Total Steps */ | |
| 77 | + esc_html__( 'Step %1$s of %2$s', 'convertkit' ), | |
| 78 | + esc_html( $this->step ), | |
| 79 | + esc_html( count( $this->steps ) ) | |
| 80 | + ); | |
| 81 | + ?> | |
| 82 | + </div> | |
| 71 | 83 | <?php |
| 72 | - echo sprintf( | |
| 73 | - /* translators: %1$s: Current Step, %2$s: Total Steps */ | |
| 74 | - esc_html__( 'Step %1$s of %2$s', 'convertkit' ), | |
| 75 | - esc_html( $this->step ), | |
| 76 | - esc_html( count( $this->steps ) ) | |
| 77 | - ); | |
| 78 | - ?> | |
| 79 | - </div> | |
| 84 | + } | |
| 85 | + ?> | |