| @@ -8,8 +8,10 @@ | ||
| 8 | 8 | if ( ! defined( 'ABSPATH' ) ) { |
| 9 | 9 | exit; |
| 10 | 10 | } |
| 11 | 11 | |
| 12 | +// phpcs:disable WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- template partial included within a method; variables are method-scoped, not global. | |
| 13 | + | |
| 12 | 14 | $templates_path = BDTUPK_INC_PATH . 'setup-wizard/assets/data.json'; |
| 13 | 15 | $templates = json_decode( file_get_contents( $templates_path ), true ); |
| 14 | 16 | |
| 15 | 17 | ?> |
| @@ -14,8 +16,9 @@ | ||
| 14 | 16 | |
| 15 | 17 | ?> |
| 16 | 18 | <div class="bdt-wizard-step bdt-text-center" data-step="finish"> |
| 17 | 19 | |
| 20 | + <div class="bdt-goodtogo-scroll"> | |
| 18 | 21 | <div class="bdt-templates-section"> |
| 19 | 22 | <div class="bdt-success-icon"> |
| 20 | 23 | <i class="dashicons dashicons-yes-alt"></i> |
| 21 | 24 | </div> |
| @@ -36,9 +39,9 @@ | ||
| 36 | 39 | continue; |
| 37 | 40 | } |
| 38 | 41 | $extension = strtolower($extension); |
| 39 | 42 | ?> |
| 40 | - <div class="choose-template <?php echo $extension ?> <?php echo $extension =='zip' ? 'bdt-upk-import-temp-zip':'bdt-upk-import-temp-json' ?>" data-import-url="<?php echo esc_url( $importUrl ); ?>"> | |
| 43 | + <div class="choose-template <?php echo esc_attr( $extension ) ?> <?php echo $extension =='zip' ? 'bdt-upk-import-temp-zip':'bdt-upk-import-temp-json' ?>" data-import-url="<?php echo esc_url( $importUrl ); ?>"> | |
| 41 | 44 | <div class="template-image"> |
| 42 | 45 | <img src="<?php echo esc_url( $thumbnailUrl ); ?>" alt="<?php echo esc_attr( $template['title'] ); ?>"> |
| 43 | 46 | <div class="template-actions"> |
| 44 | 47 | <a href="<?php echo esc_url( $template['demo_url'] ); ?>" target="_blank" class="template-preview"> |
| @@ -58,9 +61,9 @@ | ||
| 58 | 61 | <div class="bdt-help-resources"> |
| 59 | 62 | <h3><?php esc_html_e( 'Helpful Resources', 'ultimate-post-kit' ); ?></h3> |
| 60 | 63 | |
| 61 | 64 | <div class="bdt-resources-grid"> |
| 62 | - <a href="https://bdthemes.com/all-knowledge-base-of-ultimate-post-kit/" target="_blank" class="bdt-resource-item"> | |
| 65 | + <a href="https://bdthemes.com/knowledge-base/ultimate-post-kit/" target="_blank" class="bdt-resource-item"> | |
| 63 | 66 | <div class="resource-icon"> |
| 64 | 67 | <i class="dashicons dashicons-book"></i> |
| 65 | 68 | </div> |
| 66 | 69 | <h4><?php esc_html_e( 'Documentation', 'ultimate-post-kit' ); ?></h4> |
| @@ -83,9 +86,10 @@ | ||
| 83 | 86 | <p><?php esc_html_e( 'Watch tutorials on our YouTube channel', 'ultimate-post-kit' ); ?></p> |
| 84 | 87 | </a> |
| 85 | 88 | </div> |
| 86 | 89 | </div> |
| 87 | - | |
| 90 | + </div> | |
| 91 | + | |
| 88 | 92 | <div class="bdt-flex bdt-flex-between bdt-flex-wrap"> |
| 89 | 93 | <div class="bdt-wizard-navigation"> |
| 90 | 94 | <button class="bdt-button bdt-button-secondary bdt-wizard-prev" data-step="integration"> |
| 91 | 95 | <span><i class="dashicons dashicons-arrow-left-alt"></i></span> |