| 1 |
<?php |
| 2 |
namespace ULTP; |
| 3 |
|
| 4 |
defined('ABSPATH') || exit; |
| 5 |
|
| 6 |
class Options_Features{ |
| 7 |
public function __construct() { |
| 8 |
add_submenu_page('ultp-settings', 'Pro Features', 'Pro Features', 'manage_options', 'ultp-features', array( self::class, 'create_admin_page'), 5); |
| 9 |
} |
| 10 |
|
| 11 |
/** |
| 12 |
* Settings page output |
| 13 |
*/ |
| 14 |
public static function create_admin_page() { ?> |
| 15 |
<div class="ultp-option-body"> |
| 16 |
|
| 17 |
<?php require_once ULTP_PATH . 'classes/options/Heading.php'; ?> |
| 18 |
|
| 19 |
<div class="ultp-content-wrap"> |
| 20 |
<div class="ultp-features ultp-admin-card"> |
| 21 |
<div class="ultp-text-center"><h2 class="ultp-admin-title"><?php _e('Pro Features', 'ultimate-post'); ?></h2></div> |
| 22 |
<div class="ultp-feature-items"> |
| 23 |
<div class="ultp-feature-item"> |
| 24 |
<div class="ultp-feature-image"> |
| 25 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/pro-f1.png'; ?>" alt="Filter Category"> |
| 26 |
</div> |
| 27 |
<div class="ultp-feature-content"> |
| 28 |
<h4><?php _e('Quick Query Builder', 'ultimate-post'); ?></h4> |
| 29 |
<div><?php _e('Using only one click you can change your query, no coding skill required. Most Comments, Most Popular, Latest Posts and much more pre-defined query.', 'ultimate-post'); ?></div> |
| 30 |
</div> |
| 31 |
</div> |
| 32 |
<div class="ultp-feature-item"> |
| 33 |
<div class="ultp-feature-image"> |
| 34 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/pro-f2.png'; ?>" alt="Starter Packs"> |
| 35 |
</div> |
| 36 |
<div class="ultp-feature-content"> |
| 37 |
<h4><?php _e('Starter Packs', 'ultimate-post'); ?></h4> |
| 38 |
<div><?php _e('Starter packs and design added many more pro starter packs and design. So you don’t need any design skill. Choose then click, import done.', 'ultimate-post'); ?></div> |
| 39 |
</div> |
| 40 |
</div> |
| 41 |
|
| 42 |
<div class="ultp-feature-item"> |
| 43 |
<div class="ultp-feature-image"> |
| 44 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/pro-f3.png'; ?>" alt="Ready Design"> |
| 45 |
</div> |
| 46 |
<div class="ultp-feature-content"> |
| 47 |
<h4><?php _e('Ready Design', 'ultimate-post'); ?></h4> |
| 48 |
<div><?php _e('Starter packs and design added many more pro starter packs and design. So you don’t need any design skill. Choose then click, import done.', 'ultimate-post'); ?></div> |
| 49 |
</div> |
| 50 |
</div> |
| 51 |
|
| 52 |
<div class="ultp-feature-item"> |
| 53 |
<div class="ultp-feature-image"> |
| 54 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/admin/pro-f4.png'; ?>" alt="Filter Category"> |
| 55 |
</div> |
| 56 |
<div class="ultp-feature-content"> |
| 57 |
<h4><?php _e('Image Loading', 'ultimate-post'); ?></h4> |
| 58 |
<div><?php _e('Image loading issue causes bad user experience from user end. To improve this experience we added an image lazy loading feature.', 'ultimate-post'); ?></div> |
| 59 |
</div> |
| 60 |
</div> |
| 61 |
</div> |
| 62 |
<div class="ultp-text-center"> |
| 63 |
<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> |
| 64 |
</div> |
| 65 |
</div> |
| 66 |
</div><!--/features--> |
| 67 |
|
| 68 |
<div class="ultp-content-wrap ultp-testimonial"> |
| 69 |
<div class="ultp-text-center"><h2 class="ultp-admin-title"><?php _e('Reviews & Testimonials', 'ultimate-post'); ?></h2></div> |
| 70 |
<div class="ultp-testimonial-items"> |
| 71 |
<div class="ultp-testimonial-item"> |
| 72 |
<div class="ultp-admin-card"> |
| 73 |
<div><?php _e('Plugin is excellent! Thank you for rarely a good great free plugin! To many options, easy to use.I really needed this plugin for the site i’m developing! No errors(bug)! I strongly recommend it! Please next update give to us ???? in options “Order By”: more option like: hits, most popular,last 24hour! Of course if possible', 'ultimate-post'); ?></div> |
| 74 |
<h3><?php _e('@blumen – A lot of option easy to use!', 'ultimate-post'); ?></h3> |
| 75 |
<div class="ultp-reviews-rating"><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span></div> |
| 76 |
</div> |
| 77 |
<div class="ultp-admin-card"> |
| 78 |
<div><?php _e('I have been searching for hours for a plugin like this. Tried all plugins and this is the best! It’s wonderful, easy to use and so many themes to choose from. I can’t believe it’s free!', 'ultimate-post'); ?></div> |
| 79 |
<h3><?php _e('@laursen299 – Lot of options and works well', 'ultimate-post'); ?></h3> |
| 80 |
<div class="ultp-reviews-rating"><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span></div> |
| 81 |
</div> |
| 82 |
</div> |
| 83 |
<div class="ultp-testimonial-item"> |
| 84 |
<div class="ultp-admin-card"> |
| 85 |
<div><?php _e('I was surprised by the versatility of this plugin. It’s great the other and most important thing is I contacted the developers and they have resolved both my doubts and fixed some minor problems. Thank you!!!!!', 'ultimate-post'); ?></div> |
| 86 |
<h3><?php _e('@mparraud – Really good plugin!', 'ultimate-post'); ?></h3> |
| 87 |
<div class="ultp-reviews-rating"><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span></div> |
| 88 |
</div> |
| 89 |
<div class="ultp-admin-card"> |
| 90 |
<div><?php _e('A great plugin for a blog or news site, with its help you can create not only the main page, but also display similar or recent posts by tags or categories, add exceptions. It has many ready-made styles that you can refine yourself, as there is a block for custom code.', 'ultimate-post'); ?></div> |
| 91 |
<h3><?php _e('@nalitana – There are no analogues', 'ultimate-post'); ?></h3> |
| 92 |
<div class="ultp-reviews-rating"><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span><span class="dashicons dashicons-star-filled"></span></div> |
| 93 |
</div> |
| 94 |
</div> |
| 95 |
</div> |
| 96 |
</div><!--/testimonials--> |
| 97 |
|
| 98 |
<div class="ultp-content-wrap ultp-compare-table"> |
| 99 |
<div class="ultp-text-center"><h2 class="ultp-admin-title"><?php _e('Free Vs Pro Comparison', 'ultimate-post'); ?></h2></div> |
| 100 |
<div class="ultp-compare-table-content"> |
| 101 |
<table> |
| 102 |
<tbody> |
| 103 |
<tr> |
| 104 |
<th colspan="2"><?php _e('Core Features', 'ultimate-post');?></th> |
| 105 |
<th colspan="2"><?php _e('Free', 'ultimate-post');?></th> |
| 106 |
<th colspan="2"><?php _e('Pro', 'ultimate-post');?></th> |
| 107 |
</tr> |
| 108 |
|
| 109 |
<tr> |
| 110 |
<td colspan="2"><?php _e('Starter Packs', 'ultimate-post');?></td> |
| 111 |
<td colspan="2">3</td> |
| 112 |
<td colspan="2">5+</td> |
| 113 |
</tr> |
| 114 |
<tr> |
| 115 |
<td colspan="2"><?php _e('Readymade Block Design', 'ultimate-post');?></td> |
| 116 |
<td colspan="2">6</td> |
| 117 |
<td colspan="2">25+</td> |
| 118 |
</tr> |
| 119 |
<tr> |
| 120 |
<td colspan="2"><?php _e('Advacned Quick Query', 'ultimate-post');?></td> |
| 121 |
<td colspan="2"><i class="dashicons dashicons-no-alt"></i></td> |
| 122 |
<td colspan="2"><i class="dashicons dashicons-yes"></i></td> |
| 123 |
</tr> |
| 124 |
<tr> |
| 125 |
<td colspan="2"><?php _e('Image Loading', 'ultimate-post');?></td> |
| 126 |
<td colspan="2"><i class="dashicons dashicons-no-alt"></i></td> |
| 127 |
<td colspan="2"><i class="dashicons dashicons-yes"></i></td> |
| 128 |
</tr> |
| 129 |
<tr> |
| 130 |
<td colspan="2"><?php _e('Priority Support', 'ultimate-post');?></td> |
| 131 |
<td colspan="2"><i class="dashicons dashicons-no-alt"></i></td> |
| 132 |
<td colspan="2"><i class="dashicons dashicons-yes"></i></td> |
| 133 |
</tr> |
| 134 |
<tr> |
| 135 |
<td colspan="2"><?php _e('Specific Category Color', 'ultimate-post');?></td> |
| 136 |
<td colspan="2"><i class="dashicons dashicons-no-alt"></i></td> |
| 137 |
<td colspan="2"><i class="dashicons dashicons-yes"></i></td> |
| 138 |
</tr> |
| 139 |
</tbody> |
| 140 |
</table> |
| 141 |
<div class="ultp-compare-button"> |
| 142 |
<a class="ultp-btn ultp-btn-transparent" href="http://ultp.wpxpo.com/" target="_blank" rel="noopener noreferrer"><?php _e('Live Demo', 'ultimate-post'); ?></a> |
| 143 |
<a class="ultp-btn ultp-btn-primary" href="https://www.wpxpo.com/gutenberg-post-blocks/"><?php _e('Buy Now', 'ultimate-post'); ?></a> |
| 144 |
</div> |
| 145 |
</div> |
| 146 |
</div><!--/compare--> |
| 147 |
|
| 148 |
<div class="ultp-money-back"> |
| 149 |
<div class="ultp-content-wrap"> |
| 150 |
<div class="ultp-money-back-item"> |
| 151 |
<div class="ultp-money-back-image"> |
| 152 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/money-back.svg'; ?>" alt="<?php _e('Money Back', 'ultimate-post'); ?>"> |
| 153 |
</div> |
| 154 |
<div class="ultp-money-back-content"> |
| 155 |
<h3><?php _e('100% No-Risk Money Back Guarantee! <span>(No questions asked!)</span>', 'ultimate-post'); ?></h3> |
| 156 |
<div><?php _e('You are fully protected by our 100% No-Risk Double-Guarantee. If you don’t like plugins over the next 14 days, then we will happily refund 100% of your money.', 'ultimate-post'); ?></div> |
| 157 |
<img loading="lazy" src="<?php echo ULTP_URL.'assets/img/credit-cards.svg'; ?>" alt="<?php _e('Credit Cards', 'ultimate-post'); ?>"> |
| 158 |
</div> |
| 159 |
</div> |
| 160 |
</div> |
| 161 |
</div><!--/money back--> |
| 162 |
|
| 163 |
<?php require_once ULTP_PATH . 'classes/options/Footer.php'; ?> |
| 164 |
|
| 165 |
</div> |
| 166 |
|
| 167 |
<?php } |
| 168 |
} |
| 169 |
|
| 170 |
|