Make WordPress Themes


Ignore:
Timestamp:
05/17/2022 12:45:41 PM (4 years ago)
Author:
themedropbox
Message:

New version of Ashe - 2.197

Location:
ashe/2.197
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • ashe/2.197/inc/about/about-ashe.php

    r167261 r168016  
    9494
    9595                    <a href="<?php echo esc_url('https://youtu.be/mI_MYlOCAG8') ?>" target="_blank" class="button button-primary import-video"><span class="dashicons dashicons-video-alt3"></span><?php esc_html_e( 'Demo Import Video Tutorial', 'ashe' ); ?></a>
     96                </div>
     97
     98                <div class="column-width-4 ashe-woocommerce-inst-box">
     99                    <h3><?php esc_html_e( 'Woocommerce', 'ashe' ); ?></h3>
     100                    <p>
     101                        <?php
     102                        $allowed_html = array(
     103                            'a' => array(
     104                                'href' => array(),
     105                                'title' => array(),
     106                                'style' => array(),
     107                                'target' => array()
     108                            ),
     109                        );
     110                        echo wp_kses( 'With Ashe theme you can build a beautiful <a style="color: #3858E9;" href="https://wp-royal.com/themes/ashe-free/demo/shop/?ref=ashe-free-backend-about-shop-prev-btn" target="_blank">online shop</a> with ease, just install the Woocommerce plugin and start building your shop today!', $allowed_html); ?>
     111                    </p>
     112
     113                    <?php if ( is_plugin_active( 'woocommerce/woocommerce.php' ) ) : ?>
     114                        <a class="button button-primary disabled" style="margin-bottom: 10px;"><?php esc_html_e( 'Already Activated', 'ashe' ); ?></a>
     115                    <?php elseif ( ashe_check_installed_plugin( 'woocommerce', 'woocommerce' ) ) : ?>
     116                        <a href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'plugins.php?action=activate&plugin=woocommerce/woocommerce.php' ), 'activate-plugin_woocommerce/woocommerce.php' ) ); ?>" id="ashe-woocommerce-activate" class="button button-primary"><?php esc_html_e( 'Activate Now', 'ashe' ); ?></a>
     117                    <?php else : ?>
     118                        <a href="<?php echo esc_url( wp_nonce_url( self_admin_url( 'update.php?action=install-plugin&plugin=woocommerce' ), 'install-plugin_woocommerce' ) ); ?>" id="ashe-woocommerce-install" class="button button-primary"><?php esc_html_e( 'Install Woocommerce', 'ashe' ); ?></a>
     119                    <?php endif; ?>
     120                    <a style="width: 215px; display: block" href="<?php echo esc_url('https://wp-royal.com/video-tutorial-coming-soon/') ?>" target="_blank" class="button button-primary import-video"><span class="dashicons dashicons-video-alt3"></span><?php esc_html_e( 'Shop Setup Video Tutorial', 'ashe' ); ?></a>
    96121                </div>
    97122
Note: See TracChangeset for help on using the changeset viewer.