PluginProbe
WP Directory Kit / 1.5.9
WP Directory Kit v1.5.9
1.5.9 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 All 37 releases
wpdirectorykit / application / views / wdk_demo_import / index.php

index.php in WP Directory Kit 1.5.9, at application/views/wdk_demo_import/index.php

101 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template for Settings.
4 *
5 * This is the template that edit form settings
6 *
7 */
8
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit; // Exit if accessed directly.
11 }
12 ?>
13 <!-- This file should primarily consist of HTML with a little bit of PHP. -->
14
15 <div class="wrap wdk-wrap">
16 <h1 class="wp-heading-inline"><?php echo esc_html__('WDK Demo Import', 'wpdirectorykit'); ?></h1>
17 <br />
18 <div class="wdk-body">
19 <div class="postbox" style="display: block;">
20 <div class="postbox-header">
21 <h3><?php echo esc_html__('Demo data for theme:', 'wpdirectorykit'); ?> <?php echo esc_html($current_theme->get( 'Name' )); ?></h3>
22 </div>
23 <div class="inside">
24
25 <div class="wdk_theme-about">
26 <div class="wdk_theme-about-screenshots">
27 <div class="screenshot"><img src="<?php echo esc_url($current_theme->get_screenshot()); ?>" alt="<?php echo esc_html__('Theme screenshot', 'wpdirectorykit'); ?>"></div>
28 </div>
29
30 <div class="wdk_theme-about-info">
31 <div class="top-content">
32 <div class="theme-title">
33 <h2 class="theme-name"><?php echo esc_html($current_theme->get( 'Name' )); ?></h2>
34 <span class="theme-version"><?php echo esc_html__('Version:', 'wpdirectorykit'); ?> <?php echo esc_html($current_theme->get( 'Version' )); ?></span>
35 </div>
36 <p class="theme-author">
37 <?php echo esc_html__('By:', 'wpdirectorykit'); ?> <a href="<?php echo esc_attr($current_theme->get( 'AuthorURI' )); ?>"><?php echo esc_html($current_theme->get( 'Author' )); ?></a>
38 </p>
39
40 <p class="theme-description"><?php echo esc_html($current_theme->get( 'Description' )); ?></p>
41 </div>
42 </div>
43 </div>
44
45
46 </div>
47 </div>
48 <p class="wdk_button-container">
49 <a href="<?php echo esc_url(admin_url('tools.php?page=wdk_demo_import&function=step_1'));?>" class="wdk_button button button-hero button-primary"><?php echo esc_html__('Import Demo Data - Step 1','wpdirectorykit'); ?></a>
50 </p>
51 </div>
52 <br/>
53 <div class="alert alert-info" role="alert"><a href="<?php echo esc_attr($current_theme->get( 'ThemeURI' )); ?>" target="_blank"><?php echo esc_html__('Theme Data will be downloaded from API:','wpdirectorykit'); ?> <?php echo esc_html($current_theme->get( 'AuthorURI' )); ?> <?php echo esc_html__('On any trouble contact us via website contact page.','wpdirectorykit'); ?></a></div>
54 </div>
55
56 <style>
57
58
59 .wdk_theme-about
60 {
61 display: flex;
62 }
63
64 .wdk_theme-about .wdk_theme-about-screenshots
65 {
66 display: flex;
67 flex: 11;
68 margin-right: 15px;
69 }
70
71 .wdk_theme-about .wdk_theme-about-info
72 {
73 display: flex;
74 flex: 10;
75 }
76
77
78
79 .wdk_theme-about-screenshots .screenshot
80 {
81 box-sizing: border-box;
82 }
83
84 .wdk_theme-about-screenshots .screenshot img {
85
86 border: 1px solid #CCD0D4;
87 -webkit-filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.07));
88 filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.07));
89 width:100%;
90 }
91
92 .wdk_theme-about-info .theme-description {
93 font-size: 16px;
94 line-height: 24px;
95 color: #555555;
96 margin: 0 0 20px;
97 }
98
99 </style>
100
101 <?php $this->view('general/footer', $data); ?>