| 1 |
<?php |
| 2 |
/** |
| 3 |
* Notice Action. |
| 4 |
* |
| 5 |
* @package ULTP\Notice |
| 6 |
* @since v.2.6.0 |
| 7 |
*/ |
| 8 |
namespace ULTP; |
| 9 |
|
| 10 |
defined('ABSPATH') || exit; |
| 11 |
|
| 12 |
/** |
| 13 |
* Functions class. |
| 14 |
*/ |
| 15 |
class Banner{ |
| 16 |
|
| 17 |
public function premium_feature_banner() { |
| 18 |
if (!ultimate_post()->is_lc_active()) { ?> |
| 19 |
<div class="ultp-getstart-unlock"> |
| 20 |
<div> |
| 21 |
<?php printf(esc_html__('Unlock %s Premium %s features %s and all addons', 'ultimate-post'), '<span>', '</span>', '<br/>'); ?> |
| 22 |
</div> |
| 23 |
<a href="<?php echo esc_url(ultimate_post()->get_premium_link('', 'postx_dashboard_top_banner')); ?>" target="_blank"> |
| 24 |
<?php esc_html_e('Upgrade Pro', 'ultimate-post'); ?> |
| 25 |
</a> |
| 26 |
</div> |
| 27 |
<?php } |
| 28 |
} |
| 29 |
|
| 30 |
public function premium_feature_sidebar() { ?> |
| 31 |
<div class="ultp-aside-content"> |
| 32 |
<h3 class="ultp-getstart-title"><?php esc_html_e('Plugins Feature', 'ultimate-post'); ?></h3> |
| 33 |
<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> |
| 34 |
<ul class="ultp-sidebar-list"> |
| 35 |
<li><?php esc_html_e('Archive Builder.', 'ultimate-post'); ?></li> |
| 36 |
<li><?php esc_html_e('Custom Taxonomy Support.', 'ultimate-post'); ?></li> |
| 37 |
<li><?php esc_html_e('Block Layout Options.', 'ultimate-post'); ?></li> |
| 38 |
<li><?php esc_html_e('Ready-made Start Packs.', 'ultimate-post'); ?></li> |
| 39 |
<li><?php esc_html_e('Advanced Quick Query Feature.', 'ultimate-post'); ?></li> |
| 40 |
<li><?php esc_html_e('Get Category Specific Color and Image Feature.', 'ultimate-post'); ?></li> |
| 41 |
<li><?php esc_html_e('Get Fast & Quick Support.', 'ultimate-post'); ?></li> |
| 42 |
</ul> |
| 43 |
<?php if(!ultimate_post()->is_lc_active()) { ?> |
| 44 |
<a href="<?php echo esc_url(ultimate_post()->get_premium_link('', 'postx_dashboard_sidebar')); ?>" target="_blank" class="ultp-btn ultp-btn-primary ultp-btn-pro"><?php esc_html_e('Upgrade Pro ➤', 'ultimate-post'); ?></a> |
| 45 |
<?php } ?> |
| 46 |
</div> |
| 47 |
<?php } |
| 48 |
|
| 49 |
} |