| @@ -1,26 +1,23 @@ | ||
| 1 | 1 | <?php |
| 2 | -if (!defined('ABSPATH')) : | |
| 3 | - exit; | |
| 4 | -endif; | |
| 5 | -include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/headView.php'; | |
| 6 | -include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/headerView.php'; | |
| 7 | -wp_enqueue_script('__tagembed__script-theme-js', TAGEMBED_PLUGIN_URL . '/assets/js/theme/tagembed.theme.script.js', ['jquery'], TAGEMBED_PLUGIN_VERSION, true); | |
| 2 | +include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/headView.php"; | |
| 3 | +include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/headerView.php"; | |
| 4 | +wp_enqueue_script('__script-theme-js', TAGEMBED_PLUGIN_URL . '/assets/js/theme/tagembed.theme.script.js', ['jquery'], TAGEMBED_PLUGIN_VERSION, true); | |
| 8 | 5 | /* Lazy Loader Script */ |
| 9 | -wp_enqueue_script('__tagembed__script-lazy-loading-js', TAGEMBED_PLUGIN_URL . '/assets/js/lazyload.js', ['jquery'], TAGEMBED_PLUGIN_VERSION, true); | |
| 10 | -if (!empty($__tagembed__widgets)) : | |
| 11 | -?> | |
| 12 | - <div id="__tagembed__choosetheme" class="__tagembed__tabcontent"> | |
| 13 | - <div class="__tagembed__sourcerow"> | |
| 14 | - <div class="__tagembed__tabheading"> | |
| 15 | - <h3>Select Any Layout</h3> | |
| 16 | - <span>Note: Select any layout of your choice.</span> | |
| 17 | - </div> | |
| 18 | - </div> | |
| 19 | - <div class="__tagembed__sourcerow"> | |
| 20 | - <div class="__tagembed__layoutarea"> | |
| 21 | - <ul id="__tagembed__theme"></ul> | |
| 22 | - </div> | |
| 23 | - </div> | |
| 24 | - </div> | |
| 6 | +wp_enqueue_script('__script-lazy-loading-js', TAGEMBED_PLUGIN_URL . '/assets/js/lazyload.js', ['jquery'], TAGEMBED_PLUGIN_VERSION, true); | |
| 7 | +if (!empty($__tagembed__widgets)): | |
| 8 | + ?> | |
| 9 | + <div id="__tagembed__choosetheme" class="__tagembed__tabcontent"> | |
| 10 | + <div class="__tagembed__sourcerow"> | |
| 11 | + <div class="__tagembed__tabheading"> | |
| 12 | + <h3>Select Any Layout</h3> | |
| 13 | + <span>Note: Select any layout of your choice.</span> | |
| 14 | + </div> | |
| 15 | + </div> | |
| 16 | + <div class="__tagembed__sourcerow"> | |
| 17 | + <div class="__tagembed__layoutarea"> | |
| 18 | + <ul id="__tagembed__theme"></ul> | |
| 19 | + </div> | |
| 20 | + </div> | |
| 21 | + </div> | |
| 25 | 22 | <?php endif; ?> |
| 26 | -<?php include_once TAGEMBED_PLUGIN_DIR_PATH . 'views/includes/footerView.php'; ?> | |
| 23 | +<?php include_once TAGEMBED_PLUGIN_DIR_PATH . "views/includes/footerView.php"; ?> | |