| 1 |
<?php |
| 2 |
namespace ULTP; |
| 3 |
|
| 4 |
defined('ABSPATH') || exit; |
| 5 |
|
| 6 |
class Options_Overview{ |
| 7 |
public function __construct() { |
| 8 |
add_submenu_page('ultp-settings', 'Overview', 'Overview', 'manage_options', 'ultp-settings', array( self::class, 'create_admin_page'), 0); |
| 9 |
} |
| 10 |
|
| 11 |
/** |
| 12 |
* Settings page output |
| 13 |
*/ |
| 14 |
public static function create_admin_page() { ?> |
| 15 |
<style> |
| 16 |
.style-css{ |
| 17 |
background-color: #f2f2f2; |
| 18 |
-webkit-font-smoothing: subpixel-antialiased; |
| 19 |
} |
| 20 |
</style> |
| 21 |
|
| 22 |
<div class="ultp-option-body"> |
| 23 |
|
| 24 |
<?php require_once ULTP_PATH . 'classes/options/Heading.php'; ?> |
| 25 |
|
| 26 |
<div class="ultp-tab-wrap"> |
| 27 |
<div class="ultp-content-wrap"> |
| 28 |
<div class="ultp-overview-wrap"> |
| 29 |
<div class="ultp-tab-content-wrap"> |
| 30 |
<div class="ultp-overview ultp-admin-card"> |
| 31 |
<iframe width="650" height="350" src="https://www.youtube.com/embed/JZxIflYKOuM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe> |
| 32 |
<div class="ultp-overview-btn"> |
| 33 |
<a href="https://ultp.wpxpo.com/" class="ultp-btn ultp-btn-primary"><?php esc_html_e('Live Preview', 'ultimate-post'); ?></a> |
| 34 |
<a class="ultp-btn ultp-btn-transparent" target="_blank" href="https://www.wpxpo.com/gutenberg-post-blocks/?utm_campaign=go_premium"><?php esc_html_e('Plugin Details', 'ultimate-post'); ?></a> |
| 35 |
</div> |
| 36 |
</div> |
| 37 |
</div><!--/overview--> |
| 38 |
|
| 39 |
<div class="wopb-admin-sidebar"> |
| 40 |
<div class="ultp-sidebar ultp-admin-card"> |
| 41 |
<h3><?php esc_html_e('Why Upgrade to Pro', 'ultimate-post'); ?></h3> |
| 42 |
<p><?php esc_html_e('You are using lite version of Gutenberg Post Blocks. To get more awesome features to upgrade to the Pro version', 'ultimate-post'); ?></p> |
| 43 |
<ul class="ultp-sidebar-list"> |
| 44 |
<li><?php esc_html_e('Blocks Layouts Options', 'ultimate-post'); ?></li> |
| 45 |
<li><?php esc_html_e('Ready Start Packs', 'ultimate-post'); ?></li> |
| 46 |
<li><?php esc_html_e('Advanced Quick Query Options', 'ultimate-post'); ?></li> |
| 47 |
<li><?php esc_html_e('Get Category Specific Color Options', 'ultimate-post'); ?></li> |
| 48 |
<li><?php esc_html_e('Get All Blocks with Full Control', 'ultimate-post'); ?></li> |
| 49 |
<li><?php esc_html_e('Fast & Priority Support', 'ultimate-post'); ?></li> |
| 50 |
</ul> |
| 51 |
<a href="https://www.wpxpo.com/gutenberg-post-blocks/?utm_campaign=go_premium" target="_blank" class="ultp-btn ultp-btn-primary ultp-btn-pro"><?php esc_html_e('Upgrade Pro ➤', 'ultimate-post'); ?></a> |
| 52 |
</div> |
| 53 |
</div><!--/sidebar--> |
| 54 |
</div> |
| 55 |
</div><!--/overview wrapper--> |
| 56 |
|
| 57 |
<div class="ultp-content-wrap"> |
| 58 |
<div class="ultp-promo-items"> |
| 59 |
<div class="ultp-promo-item ultp-admin-card"> |
| 60 |
<h4><?php _e('Advacned <strong>Query</strong> Builder', 'ultimate-post'); ?></h4> |
| 61 |
</div> |
| 62 |
<div class="ultp-promo-item ultp-admin-card"> |
| 63 |
<h4><?php _e('<strong>Ajax</strong> Powered Post Filter', 'ultimate-post'); ?></h4> |
| 64 |
</div> |
| 65 |
<div class="ultp-promo-item ultp-admin-card"> |
| 66 |
<h4><?php _e('Quick <strong>Query</strong> Builder', 'ultimate-post'); ?></h4> |
| 67 |
</div> |
| 68 |
<div class="ultp-promo-item ultp-admin-card"> |
| 69 |
<h4><?php _e('Ready <strong>Starter</strong> Packs', 'ultimate-post'); ?></h4> |
| 70 |
</div> |
| 71 |
<div class="ultp-promo-item ultp-admin-card"> |
| 72 |
<h4><?php _e('Premade <strong>Block</strong> Design', 'ultimate-post'); ?></h4> |
| 73 |
</div> |
| 74 |
</div> |
| 75 |
</div><!--/Promo--> |
| 76 |
|
| 77 |
<div class="ultp-content-wrap"> |
| 78 |
<div class="ultp-featured-item ultp-admin-card"> |
| 79 |
<div class="ultp-featured-image"> |
| 80 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/starter-packs.png'; ?>" alt="Filter Category"> |
| 81 |
</div> |
| 82 |
<div class="ultp-featured-content"> |
| 83 |
<h4><?php _e('Design Library', 'ultimate-post'); ?></h4> |
| 84 |
<p><?php _e('Gutenberg Post Blocks comes with a rich and beautiful readymade starter pack and design library. It helps you to create a beautiful site without design knowledge.', 'ultimate-post'); ?></p> |
| 85 |
<a class="ultp-btn ultp-btn-primary" target="_blank" href="https://ultp.wpxpo.com/starter-packs/"><?php _e('Explore Details', 'ultimate-post'); ?></a> |
| 86 |
</div> |
| 87 |
</div> |
| 88 |
</div><!--/ultp-featured-item--> |
| 89 |
|
| 90 |
<div class="ultp-content-wrap"> |
| 91 |
<div class="ultp-features ultp-admin-card"> |
| 92 |
<div class="ultp-text-center"><h2 class="ultp-admin-title"><?php _e('Core Features', 'ultimate-post'); ?></h2></div> |
| 93 |
<div class="ultp-feature-items"> |
| 94 |
<div class="ultp-feature-item"> |
| 95 |
<div class="ultp-feature-image"> |
| 96 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/free-f1.png'; ?>" alt="Filter Category"> |
| 97 |
</div> |
| 98 |
<div class="ultp-feature-content"> |
| 99 |
<h4><?php _e('AJAX Powered Post Filter', 'ultimate-post'); ?></h4> |
| 100 |
<div><?php _e('Category filter is the best element to show many contents in a small place. By clicking category users can easily read their interesting content.', 'ultimate-post'); ?></div> |
| 101 |
</div> |
| 102 |
</div> |
| 103 |
<div class="ultp-feature-item"> |
| 104 |
<div class="ultp-feature-image"> |
| 105 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/free-f2.png'; ?>" alt="Filter Category"> |
| 106 |
</div> |
| 107 |
<div class="ultp-feature-content"> |
| 108 |
<h4><?php _e('Advacned Pagination Options', 'ultimate-post'); ?></h4> |
| 109 |
<div><?php _e('Gutenberg Post Blocks comes with the AJAX powered Pagination system, that’s why content is loaded without a total page reload.', 'ultimate-post'); ?></div> |
| 110 |
</div> |
| 111 |
</div> |
| 112 |
<div class="ultp-feature-item"> |
| 113 |
<div class="ultp-feature-image"> |
| 114 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/free-f3.png'; ?>" alt="Filter Category"> |
| 115 |
</div> |
| 116 |
<div class="ultp-feature-content"> |
| 117 |
<h4><?php _e('Awesome Typography Control', 'ultimate-post'); ?></h4> |
| 118 |
<div><?php _e('Typography is one of the major concerns for readability. Gutenberg Post Blocks merges all the Google free fonts in one place.', 'ultimate-post'); ?></div> |
| 119 |
</div> |
| 120 |
</div> |
| 121 |
<div class="ultp-feature-item"> |
| 122 |
<div class="ultp-feature-image"> |
| 123 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/free-f4.png'; ?>" alt="Filter Category"> |
| 124 |
</div> |
| 125 |
<div class="ultp-feature-content"> |
| 126 |
<h4><?php _e('Dynamic Post Slider', 'ultimate-post'); ?></h4> |
| 127 |
<div><?php _e('Post Slider is now easier to build using post slider blocks. It is fully dynamic and can apply any custom query to display the post.', 'ultimate-post'); ?></div> |
| 128 |
</div> |
| 129 |
</div> |
| 130 |
</div> |
| 131 |
<div class="ultp-text-center"> |
| 132 |
<a class="ultp-btn ultp-btn-primary" target="_blank" href="https://www.wpxpo.com/gutenberg-post-blocks/all-features/?utm_campaign=go_premium"><?php esc_html_e('More Features', 'ultimate-post'); ?></a> |
| 133 |
</div> |
| 134 |
</div> |
| 135 |
</div><!--/feature--> |
| 136 |
|
| 137 |
<?php require_once ULTP_PATH . 'classes/options/Footer.php'; ?> |
| 138 |
|
| 139 |
</div> |
| 140 |
</div> |
| 141 |
|
| 142 |
<?php } |
| 143 |
} |
| 144 |
|
| 145 |
|