admin-content.php
6 years ago
folder-deactivate-form.php
6 years ago
folder-popup.php
6 years ago
general-settings.php
6 years ago
help.php
6 years ago
update.php
6 years ago
upgrade-to-pro.php
6 years ago
folder-popup.php
46 lines
| 1 | <div class="folder-popup" id="folder-intro-popup"> |
| 2 | <div class="folder-popup-box"> |
| 3 | <div class="folder-popup-header"> |
| 4 | Welcome to Folders 🎉 |
| 5 | <button class="close-folder-popup"><span class="dashicons dashicons-no-alt"></span></button> |
| 6 | <div class="clear"></div> |
| 7 | </div> |
| 8 | <div class="folder-popup-content"> |
| 9 | Select the places where you want Folders to appear (Media Library, Posts, Pages, Custom Posts). Need help? Visit our <a target="_blank" href="https://premio.io/help/folders/?utm_soruce=wordpressfolders">Help Center</a>. |
| 10 | <iframe width="420" height="240" src="https://www.youtube.com/embed/RqkWGRYek0w?rel=0&start=22"></iframe> |
| 11 | </div> |
| 12 | <div class="folder-popup-footer"> |
| 13 | <button type="button">Go to Folders</button> |
| 14 | </div> |
| 15 | </div> |
| 16 | </div> |
| 17 | <script> |
| 18 | jQuery(document).ready(function(){ |
| 19 | jQuery(document).on("click", ".folder-popup-box button, #folder-intro-popup", function(e){ |
| 20 | e.stopPropagation(); |
| 21 | var nonceVal = "<?php echo wp_create_nonce("folder_update_popup_status") ?>"; |
| 22 | jQuery("#folder-intro-popup").remove(); |
| 23 | jQuery.ajax({ |
| 24 | type: 'POST', |
| 25 | url: ajaxurl, |
| 26 | data: { |
| 27 | action: 'folder_update_popup_status', |
| 28 | nonce: nonceVal |
| 29 | }, |
| 30 | beforeSend: function (xhr) { |
| 31 | |
| 32 | }, |
| 33 | success: function (res) { |
| 34 | |
| 35 | }, |
| 36 | error: function (xhr, status, error) { |
| 37 | |
| 38 | } |
| 39 | }); |
| 40 | }); |
| 41 | |
| 42 | jQuery(document).on("click", ".folder-popup-box", function(e){ |
| 43 | e.stopPropagation(); |
| 44 | }); |
| 45 | }); |
| 46 | </script> |