PluginProbe
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets / 4.1.13
Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets v4.1.13
4.5.6 4.5.5 4.5.4 4.2.1 4.2.2 4.2.3 4.5.0 4.5.2 4.5.3 4.2.0 4.1.18 4.1.17 4.1.16 4.1.15 4.1.14 4.1.13 4.1.12 4.1.11 4.1.10 4.1.9 4.1.8 4.0.9 4.1.0 4.1.1 4.1.2 All 148 releases
ultimate-post-kit / includes / setup-wizard / views / good-to-go.php

good-to-go.php in Ultimate Post Kit – Elementor Post Grid, Post Carousel, Post Slider & Blog Layout Widgets 4.1.13, at includes/setup-wizard/views/good-to-go.php

109 lines 5.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Complete Step
4 */
5
6 namespace UltimatePostKit\SetupWizard;
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit;
10 }
11
12 $templates_path = BDTUPK_INC_PATH . 'setup-wizard/assets/data.json';
13 $templates = json_decode( file_get_contents( $templates_path ), true );
14
15 ?>
16 <div class="bdt-wizard-step bdt-text-center" data-step="finish">
17
18 <div class="bdt-templates-section">
19 <div class="bdt-success-icon">
20 <i class="dashicons dashicons-yes-alt"></i>
21 </div>
22
23 <h3><?php esc_html_e( 'Ready-to-Use Templates', 'ultimate-post-kit' ); ?></h3>
24 <p><?php esc_html_e( 'Get a head start with these professional templates. Just click on Import to add them to your site.', 'ultimate-post-kit' ); ?></p>
25
26 <div class="template-list">
27 <?php foreach ( $templates as $template ) : ?>
28 <?php
29 // $importUrl = $template['import_url']; // or any file path / URL
30 $assets_url = plugin_dir_url( dirname( dirname( __FILE__ ) ) ) . 'setup-wizard/assets';
31 $importUrl = $assets_url . $template['import_url'];
32 $thumbnailUrl = $assets_url . $template['thumbnail'];
33
34 $extension = pathinfo($importUrl, PATHINFO_EXTENSION);
35 if (!$extension || !in_array(strtolower($extension), ['json', 'zip'])) {
36 continue;
37 }
38 $extension = strtolower($extension);
39 ?>
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 ); ?>">
41 <div class="template-image">
42 <img src="<?php echo esc_url( $thumbnailUrl ); ?>" alt="<?php echo esc_attr( $template['title'] ); ?>">
43 <div class="template-actions">
44 <a href="<?php echo esc_url( $template['demo_url'] ); ?>" target="_blank" class="template-preview">
45 <i class="dashicons dashicons-visibility"></i> <?php esc_html_e( 'Preview', 'ultimate-post-kit' ); ?>
46 </a>
47 <button class="template-import">
48 <i class="dashicons dashicons-download"></i> <?php esc_html_e( 'Import', 'ultimate-post-kit' ); ?>
49 </button>
50 </div>
51 </div>
52 <div class="template-title"><?php echo esc_html( $template['title'] ); ?></div>
53 </div>
54 <?php endforeach; ?>
55 </div>
56 </div>
57
58 <div class="bdt-help-resources">
59 <h3><?php esc_html_e( 'Helpful Resources', 'ultimate-post-kit' ); ?></h3>
60
61 <div class="bdt-resources-grid">
62 <a href="https://bdthemes.com/all-knowledge-base-of-ultimate-post-kit/" target="_blank" class="bdt-resource-item">
63 <div class="resource-icon">
64 <i class="dashicons dashicons-book"></i>
65 </div>
66 <h4><?php esc_html_e( 'Documentation', 'ultimate-post-kit' ); ?></h4>
67 <p><?php esc_html_e( 'Find detailed guides and documentation', 'ultimate-post-kit' ); ?></p>
68 </a>
69
70 <a href="https://bdthemes.com/support/" target="_blank" class="bdt-resource-item">
71 <div class="resource-icon">
72 <i class="dashicons dashicons-sos"></i>
73 </div>
74 <h4><?php esc_html_e( 'Get Support', 'ultimate-post-kit' ); ?></h4>
75 <p><?php esc_html_e( 'Contact our customer support team', 'ultimate-post-kit' ); ?></p>
76 </a>
77
78 <a href="https://www.youtube.com/watch?v=zNeoRz94cPw&list=PLP0S85GEw7DNBnZCb4RtJzlf38GCJ7z1b" target="_blank" class="bdt-resource-item">
79 <div class="resource-icon">
80 <i class="dashicons dashicons-video-alt3"></i>
81 </div>
82 <h4><?php esc_html_e( 'Video Tutorials', 'ultimate-post-kit' ); ?></h4>
83 <p><?php esc_html_e( 'Watch tutorials on our YouTube channel', 'ultimate-post-kit' ); ?></p>
84 </a>
85 </div>
86 </div>
87
88 <div class="bdt-flex bdt-flex-between bdt-flex-wrap">
89 <div class="bdt-wizard-navigation">
90 <button class="bdt-button bdt-button-secondary bdt-wizard-prev" data-step="integration">
91 <span><i class="dashicons dashicons-arrow-left-alt"></i></span>
92 <?php esc_html_e( 'Previous Step', 'ultimate-post-kit' ); ?>
93 </button>
94 </div>
95
96 <div class="bdt-next-steps">
97 <a href="<?php echo esc_url( admin_url( 'admin.php?page=ultimate_post_kit_options' ) ); ?>" class="bdt-button bdt-button-primary">
98 <i class="dashicons dashicons-dashboard"></i>
99 <?php esc_html_e( 'Go to Ultimate Post Kit Dashboard', 'ultimate-post-kit' ); ?>
100 </a>
101
102 <a href="<?php echo esc_url( admin_url( 'edit.php?post_type=page' ) ); ?>" class="bdt-button bdt-button-secondary">
103 <i class="dashicons dashicons-edit"></i>
104 <?php esc_html_e( 'Edit Your Pages', 'ultimate-post-kit' ); ?>
105 </a>
106 </div>
107 </div>
108
109 </div>