| 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/_GfXTvSdJTk" 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="<?php echo ultimate_post()->get_premium_link(); ?>"><?php esc_html_e('Plugin Details', 'ultimate-post'); ?></a> |
| 35 |
</div> |
| 36 |
</div> |
| 37 |
</div><!--/overview--> |
| 38 |
|
| 39 |
<div class="ultp-admin-sidebar"> |
| 40 |
<div class="ultp-sidebar ultp-admin-card"> |
| 41 |
<h3><?php esc_html_e('Plugins Feature', 'ultimate-post'); ?></h3> |
| 42 |
<p><?php esc_html_e('PostX plugin helps to create beautiful post grid, post listing, dynamic post slider and post carousel within a few seconds.', 'ultimate-post'); ?></p> |
| 43 |
<ul class="ultp-sidebar-list"> |
| 44 |
<li><?php esc_html_e('Archive Builder.', 'ultimate-post'); ?></li> |
| 45 |
<li><?php esc_html_e('Custom Taxonomy Support.', 'ultimate-post'); ?></li> |
| 46 |
<li><?php esc_html_e('Block Layout Options.', 'ultimate-post'); ?></li> |
| 47 |
<li><?php esc_html_e('Ready-made Start Packs.', 'ultimate-post'); ?></li> |
| 48 |
<li><?php esc_html_e('Advanced Quick Query Feature.', 'ultimate-post'); ?></li> |
| 49 |
<li><?php esc_html_e('Get Category Specific Color and Image Feature.', 'ultimate-post'); ?></li> |
| 50 |
<li><?php esc_html_e('Get Fast & Quick Support.', 'ultimate-post'); ?></li> |
| 51 |
</ul> |
| 52 |
<?php if(!function_exists('ultimate_post_pro')) { ?> |
| 53 |
<a href="<?php echo ultimate_post()->get_premium_link(); ?>" target="_blank" class="ultp-btn ultp-btn-primary ultp-btn-pro"><?php esc_html_e('Upgrade Pro ➤', 'ultimate-post'); ?></a> |
| 54 |
<?php } ?> |
| 55 |
</div> |
| 56 |
</div><!--/sidebar--> |
| 57 |
</div> |
| 58 |
</div><!--/overview wrapper--> |
| 59 |
|
| 60 |
<div class="ultp-content-wrap"> |
| 61 |
<div class="ultp-promo-items"> |
| 62 |
<div class="ultp-promo-item ultp-admin-card"> |
| 63 |
<h4><?php _e('<strong>Archive</strong> Builder <span style="color:#25b425">(Pro)</span>', 'ultimate-post'); ?></h4> |
| 64 |
</div> |
| 65 |
<div class="ultp-promo-item ultp-admin-card"> |
| 66 |
<h4><?php _e('Advanced <strong>Query</strong> Builder', 'ultimate-post'); ?></h4> |
| 67 |
</div> |
| 68 |
<div class="ultp-promo-item ultp-admin-card"> |
| 69 |
<h4><?php _e('<strong>AJAX</strong> Powered Post Filter', 'ultimate-post'); ?></h4> |
| 70 |
</div> |
| 71 |
<div class="ultp-promo-item ultp-admin-card"> |
| 72 |
<h4><?php _e('Quick <strong>Query</strong> Builder', 'ultimate-post'); ?></h4> |
| 73 |
</div> |
| 74 |
<div class="ultp-promo-item ultp-admin-card"> |
| 75 |
<h4><?php _e('Ready-made <strong>Starter</strong> Packs', 'ultimate-post'); ?></h4> |
| 76 |
</div> |
| 77 |
</div> |
| 78 |
</div><!--/Promo--> |
| 79 |
|
| 80 |
<div class="ultp-content-wrap"> |
| 81 |
<div class="ultp-featured-item ultp-admin-card"> |
| 82 |
<div class="ultp-featured-image"> |
| 83 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/starter-packs.png'; ?>" alt="Filter Category"> |
| 84 |
</div> |
| 85 |
<div class="ultp-featured-content"> |
| 86 |
<h4><?php _e('Design Library', 'ultimate-post'); ?></h4> |
| 87 |
<p><?php _e('PostX comes with a rich and beautiful ready-made starter pack and design library. It helps you create a beautiful website without the knowledge of web design.', 'ultimate-post'); ?></p> |
| 88 |
<a class="ultp-btn ultp-btn-primary" target="_blank" href="https://ultp.wpxpo.com/starter-packs/"><?php _e('Explore Details', 'ultimate-post'); ?></a> |
| 89 |
</div> |
| 90 |
</div> |
| 91 |
</div><!--/ultp-featured-item--> |
| 92 |
|
| 93 |
<div class="ultp-content-wrap"> |
| 94 |
<div class="ultp-features ultp-admin-card"> |
| 95 |
<div class="ultp-text-center"><h2 class="ultp-admin-title"><?php _e('Core Features', 'ultimate-post'); ?></h2></div> |
| 96 |
<div class="ultp-feature-items"> |
| 97 |
<div class="ultp-feature-item"> |
| 98 |
<div class="ultp-feature-image"> |
| 99 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/free-f1.png'; ?>" alt="Filter Category"> |
| 100 |
</div> |
| 101 |
<div class="ultp-feature-content"> |
| 102 |
<h4><?php _e('AJAX Powered Post Filter', 'ultimate-post'); ?></h4> |
| 103 |
<div><?php _e('A category or tag filter is the best tool to show several contents in a small place. By clicking on category or tag users can easily read the content they are interested in.', 'ultimate-post'); ?></div> |
| 104 |
</div> |
| 105 |
</div> |
| 106 |
<div class="ultp-feature-item"> |
| 107 |
<div class="ultp-feature-image"> |
| 108 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/free-f2.png'; ?>" alt="Filter Category"> |
| 109 |
</div> |
| 110 |
<div class="ultp-feature-content"> |
| 111 |
<h4><?php _e('Advanced Pagination Options', 'ultimate-post'); ?></h4> |
| 112 |
<div><?php _e('PostX comes with an AJAX-powered Pagination system, that’s why content is loaded without reloading the whole page.', 'ultimate-post'); ?></div> |
| 113 |
</div> |
| 114 |
</div> |
| 115 |
<div class="ultp-feature-item"> |
| 116 |
<div class="ultp-feature-image"> |
| 117 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/free-f3.png'; ?>" alt="Filter Category"> |
| 118 |
</div> |
| 119 |
<div class="ultp-feature-content"> |
| 120 |
<h4><?php _e('Awesome Typography Control', 'ultimate-post'); ?></h4> |
| 121 |
<div><?php _e('Typography is one of the major concerns for readability. PostX accumulates all the Google free fonts in one place for your convenience.', 'ultimate-post'); ?></div> |
| 122 |
</div> |
| 123 |
</div> |
| 124 |
<div class="ultp-feature-item"> |
| 125 |
<div class="ultp-feature-image"> |
| 126 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/free-f4.png'; ?>" alt="Filter Category"> |
| 127 |
</div> |
| 128 |
<div class="ultp-feature-content"> |
| 129 |
<h4><?php _e('Dynamic Post Slider', 'ultimate-post'); ?></h4> |
| 130 |
<div><?php _e('Post Sliders are now easier to build using our post slider blocks. It is fully dynamic and can be used with any custom query to display your posts.', 'ultimate-post'); ?></div> |
| 131 |
</div> |
| 132 |
</div> |
| 133 |
</div> |
| 134 |
<div class="ultp-text-center"> |
| 135 |
<a class="ultp-btn ultp-btn-primary" target="_blank" href="<?php echo ultimate_post()->get_premium_link(); ?>"><?php esc_html_e('More Features', 'ultimate-post'); ?></a> |
| 136 |
</div> |
| 137 |
</div> |
| 138 |
</div><!--/feature--> |
| 139 |
|
| 140 |
<?php require_once ULTP_PATH . 'classes/options/Footer.php'; ?> |
| 141 |
|
| 142 |
</div> |
| 143 |
</div> |
| 144 |
|
| 145 |
<?php } |
| 146 |
} |
| 147 |
|
| 148 |
|