Version Description
- Fix: Not loading in admin.
Download this release
Release Info
Developer | britner |
Plugin | Starter Templates by Kadence WP |
Version | 1.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.2 to 1.0.3
assets/css/starter-templates.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
.appearance_page_kadence-starter-templates #wpcontent{padding:0}.kadence_theme_dash_head{background:#fff;padding:10px 20px;height:50px}.kadence_theme_dash_head h1{color:#2d3748;line-height:50px;padding:0;height:50px;margin:0;display:flex;align-items:center}.kadence_theme_dash_head .subtext{font-size:16px;color:#718096;display:inline-block;padding-left:10px}.kadence_theme_dash_head .kadence_theme_dash_head_container{margin:0 auto;display:flex;align-items:center}.kadence_theme_dash_head .kadence_theme_dash_logo{width:50px;height:50px;padding-right:10px}.kadence_theme_dash_head .kadence_theme_dash_logo img{width:50px}.kadence_theme_dash_head .kadence_theme_dash_version{flex-grow:1;text-align:right}.kadence_theme_dash_head .kadence_theme_dash_version span{padding:5px;background:#4a5568;color:#fff}.wrap.kadence_theme_dash{margin:20px 20px 0}.kadence_theme_dashboard{margin:0 auto}.templates-grid{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);grid-gap:2em}.kst-template-item .components-button.kst-import-btn{height:100%;width:100%;padding:0;display:block;border:0;background:transparent;position:absolute;box-shadow:0 0px 0px 0 rgba(0,0,0,0)}.kst-template-item .components-button.kst-import-btn img{max-width:100%;height:auto}.kst-grid-single-item{max-width:800px}.kst-grid-single-item .kst-template-item{overflow:hidden}.kst-grid-single-item .kst-import-btn{height:100%;width:100%;padding:0;display:block;border:0;background:transparent;position:absolute;box-shadow:0 0px 0px 0 rgba(0,0,0,0)}.kst-grid-single-item .kst-import-btn img{max-width:100%;height:auto}.kadence_starter_templates_notice{background:#ebf8ff;margin-bottom:20px;border:1px solid #4299e1;padding:10px;color:#2b6cb0;font-weight:bold}.kst-import-modal ul.kadence-required-wrap{margin-bottom:20px}.components-modal__frame.kst-import-modal{-webkit-animation:none !important;animation:none !important}.kst-import-modal h3{font-size:16px}.kadence_starter_templates_response{background:#fffaf0;margin-bottom:20px;border:1px solid #ed8936;padding:10px;color:#c05621;font-weight:bold}.kst-template-item{position:relative;height:0;padding-bottom:65
|
1 |
+
.appearance_page_kadence-starter-templates #wpcontent{padding:0}.kadence_theme_dash_head{background:#fff;padding:10px 20px;height:50px}.kadence_theme_dash_head h1{color:#2d3748;line-height:50px;padding:0;height:50px;margin:0;display:flex;align-items:center}.kadence_theme_dash_head .subtext{font-size:16px;color:#718096;display:inline-block;padding-left:10px}.kadence_theme_dash_head .kadence_theme_dash_head_container{margin:0 auto;display:flex;align-items:center}.kadence_theme_dash_head .kadence_theme_dash_logo{width:50px;height:50px;padding-right:10px}.kadence_theme_dash_head .kadence_theme_dash_logo img{width:50px}.kadence_theme_dash_head .kadence_theme_dash_version{flex-grow:1;text-align:right}.kadence_theme_dash_head .kadence_theme_dash_version span{padding:5px;background:#4a5568;color:#fff}.wrap.kadence_theme_dash{margin:20px 20px 0}.kadence_theme_dashboard{margin:0 auto}.templates-grid{display:grid;grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);grid-gap:2em}.kst-template-item .components-button.kst-import-btn{height:100%;width:100%;padding:0;display:block;border:0;background:transparent;position:absolute;box-shadow:0 0px 0px 0 rgba(0,0,0,0)}.kst-template-item .components-button.kst-import-btn img{max-width:100%;height:auto}.kst-grid-single-item{max-width:800px}.kst-grid-single-item .kst-template-item{overflow:hidden}.kst-grid-single-item .kst-import-btn{height:100%;width:100%;padding:0;display:block;border:0;background:transparent;position:absolute;box-shadow:0 0px 0px 0 rgba(0,0,0,0)}.kst-grid-single-item .kst-import-btn img{max-width:100%;height:auto}.kadence_starter_templates_notice{background:#ebf8ff;margin-bottom:20px;border:1px solid #4299e1;padding:10px;color:#2b6cb0;font-weight:bold}.kst-import-modal ul.kadence-required-wrap{margin-bottom:20px}.components-modal__frame.kst-import-modal{-webkit-animation:none !important;animation:none !important}.kst-import-modal h3{font-size:16px}.kadence_starter_templates_response{background:#fffaf0;margin-bottom:20px;border:1px solid #ed8936;padding:10px;color:#c05621;font-weight:bold}.kst-template-item{position:relative;height:0;padding-bottom:65%;overflow:hidden}.sidebar-section .components-panel__body.is-opened{padding:20px}.sidebar-section h2:first-child,.tab-section h2:first-child{margin-top:0}.side-panel .components-panel+.components-panel{margin-top:1rem}.tab-section .components-panel__body.is-opened{padding:25px}.kadence-dashboard-tab-panel .components-tab-panel__tabs .components-button{border:1px solid transparent;background:transparent;border:none;box-shadow:none;border-radius:0;cursor:pointer;height:48px;padding:3px 16px;margin-left:0;font-weight:500}.kadence-dashboard-tab-panel .components-tab-panel__tabs .components-button:hover{box-shadow:none !important}.kadence-dashboard-tab-panel .components-tab-panel__tabs .components-button:not(.active-tab):hover{color:#007cba !important;background:transparent !important}.kadence-dashboard-tab-panel .components-tab-panel__tabs .components-button.active-tab{background:#fff;border:1px solid #e2e4e7;border-bottom-color:transparent}.kadence-dashboard-tab-panel .components-tab-panel__tabs{margin-bottom:-1px}.two-col-grid{display:grid;grid-gap:1rem;grid-template-columns:1fr 1fr 1fr}h3.section-sub-head{background:#edf2f7;padding:10px;color:#4a5568;font-size:14px;text-transform:uppercase;margin-bottom:1rem;margin-top:2rem}.link-item{border:1px solid #e2e8f0;padding:20px;border-radius:4px;display:flex;flex-flow:column nowrap}.link-item h4{margin:0}.dashboard-pro-settings{margin-top:2rem}.link-item .link-item-foot{margin-top:auto;display:flex;align-items:center}.link-item .link-item-foot .components-spinner{margin-top:0}.link-item .link-item-foot .components-toggle-control .components-base-control__field{margin-bottom:0}.link-item .link-item-foot .components-toggle-control .components-base-control__field .components-form-toggle{margin-right:0}.link-item .link-item-foot>*:first-child{flex-grow:2}.link-item a{display:block;background:transparent;color:#4a5568}.link-item a:hover{color:#007cba}span.kt-license-status{padding:4px;margin-left:10px;font-size:14px;text-transform:uppercase}span.kt-license-status.k-inactive{color:#c05621 !important;background:#fffaf0 !important}span.kt-license-status.k-active{color:#2b6cb0 !important;background:#ebf8ff !important}.license-section h2{display:flex;margin-top:0;align-items:center;justify-content:space-between}.license-section table.form-table{display:block}.license-section table.form-table tbody{display:block}.license-section table.form-table td,.license-section table.form-table tr{display:block;padding:0;width:100%}.license-section .form-table th{padding:0;width:100%;margin-bottom:4px;display:block;color:#4a5568}.license-section p.submit{padding:0;margin-top:10px}.license-section table.form-table input[type=text]{width:100%}.kadence-starter-templates-preview .install-theme-info .theme-name{font-size:20px}.appearance_page_kadence-starter-templates .kadence-starter-templates-preview-actions .button{width:100%;line-height:1;min-height:35px}.appearance_page_kadence-starter-templates .kadence-starter-templates-preview-actions{padding:5px}.kadence-starter-templates-preview button.components-button.kst-palette-btn{border-radius:4px !important;padding:5px 5px 5px 7px;height:auto;display:inline-flex;align-items:flex-end;justify-content:center;border:1px solid transparent;box-shadow:none !important}.kst-template-item .components-button.kst-import-btn:hover,.kst-template-item .components-button.kst-import-btn:focus{box-shadow:0 7px 15px 0 rgba(0,0,0,.15) !important}.kadence-starter-templates-preview button.components-button.kst-palette-btn:hover,.kadence-starter-templates-preview button.components-button.kst-palette-btn:focus{border:1px solid #444;box-shadow:none !important}.kadence-starter-templates-preview button.components-button.kst-palette-btn.is-primary,.kadence-starter-templates-preview button.components-button.kst-palette-btn.is-primary:hover,.kadence-starter-templates-preview button.components-button.kst-palette-btn.is-primary:focus{background:#eee;border:1px solid #aaa;box-shadow:none}.demo-title{height:30px;margin:0;padding:10px 0;box-shadow:inset 0 1px 0 rgba(0,0,0,.1);background:rgba(255,255,255,.95);position:absolute;bottom:0;left:0;width:100%}.demo-title h4{margin:0;font-size:18px;text-align:left;line-height:30px;padding:0 20px;color:#1e1e1e}.kadence-starter-templates-preview .components-button-group.kst-palette-group{display:grid;grid-template-columns:1fr 1fr;grid-gap:5px}.palette-title-wrap{display:flex;align-items:center;justify-content:space-between}@media(max-width: 1760px){.kadence-starter-templates-preview .kadence-swatche-item-wrap{width:22px !important;height:22px !important}h2.palette-title{font-size:15px}}@media(max-width: 1460px){.templates-grid{grid-template-columns:minmax(0, 1fr) minmax(0, 1fr)}}.kadence-starter-required-plugins{padding:10px 20px 10px}.kadence-required-wrap{font-weight:bold;list-style:disc;padding-left:1.4em}span.plugin-status{text-transform:uppercase;color:#777}.kst-palette-btn.kst-selected-color-palette{display:flex;margin-bottom:20px}.finshed-notice-success .button-primary.button.kadence-starter-templates-finish-button{padding:10px 16px;font-size:18px}
|
class-kadence-starter-templates.php
CHANGED
@@ -139,7 +139,7 @@ class Starter_Templates {
|
|
139 |
* Kadence Import
|
140 |
*/
|
141 |
public function init_config() {
|
142 |
-
if ( class_exists( 'Kadence\Theme' ) ) {
|
143 |
add_action( 'kadence_theme_admin_menu', array( $this, 'create_admin_page' ) );
|
144 |
add_action( 'admin_enqueue_scripts', array( $this, 'basic_css_menu_support' ) );
|
145 |
} else {
|
@@ -489,7 +489,7 @@ class Starter_Templates {
|
|
489 |
define( 'KADENCE_STARTER_TEMPLATES_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
|
490 |
}
|
491 |
if ( ! defined( 'KADENCE_STARTER_TEMPLATES_VERSION' ) ) {
|
492 |
-
define( 'KADENCE_STARTER_TEMPLATES_VERSION', '1.0.
|
493 |
}
|
494 |
}
|
495 |
/**
|
139 |
* Kadence Import
|
140 |
*/
|
141 |
public function init_config() {
|
142 |
+
if ( class_exists( 'Kadence\Theme' ) && defined( 'KADENCE_VERSION' ) && version_compare( KADENCE_VERSION, '0.8.0', '>=' ) ) {
|
143 |
add_action( 'kadence_theme_admin_menu', array( $this, 'create_admin_page' ) );
|
144 |
add_action( 'admin_enqueue_scripts', array( $this, 'basic_css_menu_support' ) );
|
145 |
} else {
|
489 |
define( 'KADENCE_STARTER_TEMPLATES_URL', trailingslashit( plugin_dir_url( __FILE__ ) ) );
|
490 |
}
|
491 |
if ( ! defined( 'KADENCE_STARTER_TEMPLATES_VERSION' ) ) {
|
492 |
+
define( 'KADENCE_STARTER_TEMPLATES_VERSION', '1.0.3' );
|
493 |
}
|
494 |
}
|
495 |
/**
|
inc/react/src/starter-templates.scss
CHANGED
@@ -124,7 +124,8 @@ $color-gray-800: #2D3748;
|
|
124 |
.kst-template-item {
|
125 |
position: relative;
|
126 |
height: 0;
|
127 |
-
|
|
|
128 |
}
|
129 |
.sidebar-section .components-panel__body.is-opened {
|
130 |
padding: 20px;
|
@@ -311,13 +312,13 @@ span.kt-license-status.k-active {
|
|
311 |
left: 0;
|
312 |
width: 100%;
|
313 |
}
|
314 |
-
|
315 |
.demo-title h4 {
|
316 |
margin: 0;
|
317 |
font-size: 18px;
|
318 |
text-align: left;
|
319 |
line-height: 30px;
|
320 |
-
|
|
|
321 |
}
|
322 |
.kadence-starter-templates-preview .components-button-group.kst-palette-group {
|
323 |
display: grid;
|
124 |
.kst-template-item {
|
125 |
position: relative;
|
126 |
height: 0;
|
127 |
+
padding-bottom: 65%;
|
128 |
+
overflow: hidden;
|
129 |
}
|
130 |
.sidebar-section .components-panel__body.is-opened {
|
131 |
padding: 20px;
|
312 |
left: 0;
|
313 |
width: 100%;
|
314 |
}
|
|
|
315 |
.demo-title h4 {
|
316 |
margin: 0;
|
317 |
font-size: 18px;
|
318 |
text-align: left;
|
319 |
line-height: 30px;
|
320 |
+
padding: 0 20px;
|
321 |
+
color: #1e1e1e;
|
322 |
}
|
323 |
.kadence-starter-templates-preview .components-button-group.kst-palette-group {
|
324 |
display: grid;
|
kadence-starter-templates.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/**
|
3 |
* Plugin Name: Kadence Starter Templates
|
4 |
* Description: Choose the prebuilt website and click to import.
|
5 |
-
* Version: 1.0.
|
6 |
* Author: Kadence WP
|
7 |
* Author URI: https://kadencewp.com/
|
8 |
* License: GPLv2 or later
|
2 |
/**
|
3 |
* Plugin Name: Kadence Starter Templates
|
4 |
* Description: Choose the prebuilt website and click to import.
|
5 |
+
* Version: 1.0.3
|
6 |
* Author: Kadence WP
|
7 |
* Author URI: https://kadencewp.com/
|
8 |
* License: GPLv2 or later
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: britner
|
|
3 |
Tags: templates, gutenberg
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.5.0
|
6 |
-
Stable tag: 1.0.
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -108,7 +108,10 @@ Absolutely not.
|
|
108 |
|
109 |
== Changelog ==
|
110 |
|
111 |
-
= 1.0.
|
|
|
|
|
|
|
112 |
* Fix: Typo
|
113 |
|
114 |
= 1.0.1 =
|
3 |
Tags: templates, gutenberg
|
4 |
Requires at least: 5.0
|
5 |
Tested up to: 5.5.0
|
6 |
+
Stable tag: 1.0.3
|
7 |
Requires PHP: 7.0
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
108 |
|
109 |
== Changelog ==
|
110 |
|
111 |
+
= 1.0.3 =
|
112 |
+
* Fix: Not loading in admin.
|
113 |
+
|
114 |
+
= 1.0.2 =
|
115 |
* Fix: Typo
|
116 |
|
117 |
= 1.0.1 =
|