79 lines
5.1 KiB
PHP
79 lines
5.1 KiB
PHP
<div class="kdadmin-dashboard wrap">
|
|
<div class="kdadmin-welcome-box postbox">
|
|
<div class="inside">
|
|
<h2 style="margin-bottom: 20px;"><?php esc_html_e( 'Welcome to Ekko!', 'ekko' ); ?></h2>
|
|
<?php
|
|
function keydesignDeactivate() {
|
|
update_option( 'keydesign-verify', 'no' );
|
|
}
|
|
if (isset($_GET['deactivate'])) {
|
|
keydesignDeactivate();
|
|
}
|
|
if (get_option( 'keydesign-verify' ) == 'no' ) { ?>
|
|
<div class="kdadmin-activate-column">
|
|
<h3><?php esc_html_e( 'Ekko is not registered! Your product must be registered to receive the theme demos.', 'ekko' ); ?></h3>
|
|
<a href="https://help.market.envato.com/hc/en-us/articles/202822600-Where-Is-My-Purchase-Code-" target="_blank"><span class="dashicons dashicons-info"></span>How to find your purchase code</a><br>
|
|
<span class="dashicons dashicons-info" target="_blank"></span>You can use only one unique purchase code per single end product (for each domain). Read more about license terms <a href="https://www.ekko-wp.com/documentation/knowledge-base/licensing/" target="_blank">here</a>.
|
|
<?php include('keydesign-envato-api.php');?>
|
|
</div>
|
|
<?php } else { ?>
|
|
<div class="kdadmin-activate-column">
|
|
<h3 class="activated"><?php esc_html_e( 'Ekko theme is registered.', 'ekko' ); ?></h3>
|
|
<a href="<?php echo admin_url( 'admin.php?page=ekko-dashboard&deactivate=true'); ?>" class="deactivate-ekko"><span class="dashicons dashicons-dismiss"></span>Deactivate</a>
|
|
</div>
|
|
<?php } ?>
|
|
<div class="kdadmin-column-container">
|
|
<div class="kdadmin-panel-column">
|
|
<h3><span class="dashicons dashicons-download"></span><?php esc_html_e( 'One Click Install', 'ekko' ); ?></h3>
|
|
<p><?php esc_html_e( 'Quickly and easily import the theme demo contents. Note: The included plugins need to be installed and activated before you install a demo.', 'ekko' ); ?></p>
|
|
<a class="kdadmin-button" href="<?php echo esc_url( admin_url( 'admin.php?page=import-demos' ) ); ?>"><?php esc_html_e( 'Import Demos', 'ekko' ); ?></a>
|
|
</div>
|
|
<div class="kdadmin-panel-column">
|
|
<h3><span class="dashicons dashicons-admin-settings"></span><?php esc_html_e( 'Customization Options', 'ekko' ); ?></h3>
|
|
<p><?php esc_html_e( 'The powerful customization options & features give you flexibility to create the site you want.', 'ekko' ); ?></p>
|
|
<a class="kdadmin-button" href="<?php echo esc_url( admin_url( 'admin.php?page=theme-options' ) ); ?>"><?php esc_html_e( 'Theme Options', 'ekko' ); ?></a>
|
|
</div>
|
|
<div class="kdadmin-panel-column">
|
|
<h3><span class="dashicons dashicons-format-chat"></span><?php esc_html_e( 'Support Center', 'ekko' ); ?></h3>
|
|
<p><?php esc_html_e( 'Ekko comes with 6 months of free support for every license you purchase. Register and submit a ticket.', 'ekko' ); ?></p>
|
|
<a class="kdadmin-button" href="https://keydesign.ticksy.com/" target="_blank"><?php esc_html_e( 'Support Forums', 'ekko' ); ?></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="kdadmin-support-wrapper">
|
|
<div class="kdadmin-support-boxes">
|
|
<!-- Getting started box -->
|
|
<div class="kdadmin-dashboard-box postbox">
|
|
<div class="inside">
|
|
<h3><?php esc_html_e( 'Getting started', 'ekko' ) ?></h3>
|
|
<p><?php esc_html_e( 'If you\'ve just purchased the theme and you\'re wondering where to start check out the links below:', 'ekko' ); ?></p>
|
|
<ul>
|
|
<li><a href="https://www.ekko-wp.com/documentation/knowledge-base/import-demo-content/" target="_blank"><?php esc_html_e( 'How do I import the theme demos?', 'ekko' ); ?></a></li>
|
|
<li><a href="https://www.ekko-wp.com/documentation/article-categories/theme-options/" target="_blank"><?php esc_html_e( 'How do I use the theme options?', 'ekko' ); ?></a></li>
|
|
<li><a href="https://www.ekko-wp.com/documentation/knowledge-base/page-builder-general/" target="_blank"><?php esc_html_e( 'How do I use the page builder?', 'ekko' ); ?></a></li>
|
|
<li><a href="https://www.ekko-wp.com/documentation/knowledge-base/template-blocks/" target="_blank"><?php esc_html_e( 'How do I use the block builder?', 'ekko' ); ?></a></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<!-- Documentation box -->
|
|
<div class="kdadmin-dashboard-box postbox">
|
|
<div class="inside">
|
|
<h3><?php esc_html_e( 'Documentation', 'ekko' ) ?></h3>
|
|
<p><?php esc_html_e( 'Helpful information about theme setup, capabilities, features and options.', 'ekko' ); ?></p>
|
|
<a href="http://www.ekko-wp.com/documentation" class="kdadmin-button kdadmin-second-button" target="_blank"><?php esc_html_e( 'Read the docs', 'ekko' ); ?></a>
|
|
</div>
|
|
</div>
|
|
<!-- Video tutorials box -->
|
|
<div class="kdadmin-dashboard-box postbox">
|
|
<div class="inside">
|
|
<h3><?php esc_html_e( 'Video tutorials', 'ekko' ) ?></h3>
|
|
<p><?php esc_html_e( 'Learn how to use the theme with step by step video tutorials.', 'ekko' ); ?></p>
|
|
<a href="https://www.youtube.com/watch?v=FKA0roOqePc&list=PLKM37Brx2eGAWZI2-d9MVgH5DKllC0D55" class="kdadmin-button kdadmin-second-button" target="_blank"><?php esc_html_e( 'Check videos', 'ekko' ); ?></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|