| 1 |
<?php |
| 2 |
/** |
| 3 |
* Page Name: PRO Features |
| 4 |
* |
| 5 |
*/ |
| 6 |
|
| 7 |
use WPCoder\Dashboard\DashboardInitializer; |
| 8 |
|
| 9 |
defined( 'ABSPATH' ) || exit; |
| 10 |
|
| 11 |
$features = [ |
| 12 |
'templates' => [ |
| 13 |
__( 'Templates', 'wp-coder' ), |
| 14 |
__('Design custom templates for pages, posts, categories, and more, infusing your unique code for brand-aligned layouts.', 'wp-coder') |
| 15 |
], |
| 16 |
|
| 17 |
'dequeue' => [ |
| 18 |
__( 'Dequeue CSS and JS', 'wp-coder' ), |
| 19 |
__('Increase site speed by adding only selected styles/scripts and removing redundant resources from the queue to optimize user experience.', 'wp-coder') |
| 20 |
], |
| 21 |
|
| 22 |
'logic' => [ |
| 23 |
__( 'Conditional Logic', 'wp-coder' ), |
| 24 |
__('Utilize our Conditional Logic rule to dictate where your code will work: Pages Rules, Devices Rules, Scheduled, Browsers Rules, Users Rules, Language Rules', 'wp-coder') |
| 25 |
], |
| 26 |
|
| 27 |
'tools' => [ |
| 28 |
__( 'Uses extra Tools', 'wp-coder' ), |
| 29 |
__('Enable Style and Script on the Login Page, Enable Maintenance Mode, Enable Extra Icon Enable Breadcrumbs', 'wp-coder') |
| 30 |
], |
| 31 |
|
| 32 |
'attributes' => [ |
| 33 |
__( 'Shortcode Attributes', 'wp-coder' ), |
| 34 |
__('Add custom attributes for shortcodes. Embed these attributes into your HTML code for tailored content display.', 'wp-coder') |
| 35 |
], |
| 36 |
|
| 37 |
]; |
| 38 |
|
| 39 |
?> |
| 40 |
|
| 41 |
<div class="wowp-header-wrapper"> |
| 42 |
<?php DashboardInitializer::header(); ?> |
| 43 |
|
| 44 |
<div class="wowp-header-title"> |
| 45 |
<h2><?php esc_html_e( 'PRO Features', 'wp-coder' ); ?></h2> |
| 46 |
</div> |
| 47 |
|
| 48 |
</div> |
| 49 |
|
| 50 |
<div class="wrap wowp-wrap"> |
| 51 |
<div class="w_block w_has-border"> |
| 52 |
|
| 53 |
<div class="w_block-titles"> |
| 54 |
<div class="w_block-subtitle"><?php esc_html_e('what you get', 'wp-coder');?></div> |
| 55 |
<h3 class="w_block-title"><?php esc_html_e('PRO Features', 'wp-coder');?></h3> |
| 56 |
</div> |
| 57 |
|
| 58 |
<div class="w_block-btns"> |
| 59 |
<a href="https://wpcoder.pro" class="w_btn-pro" target="_blank"><?php esc_html_e('Get More with Pro', 'wp-coder');?></a> |
| 60 |
<a href="https://wpcoder.pro/category/documentation/" target="_blank" class="w_btn-demo"><?php esc_html_e('Docs', 'wp-coder');?></a> |
| 61 |
</div> |
| 62 |
|
| 63 |
<div class="w_boxes__3-col"> |
| 64 |
|
| 65 |
<?php foreach ( $features as $icon => $text ): ?> |
| 66 |
<div class="w_box"> |
| 67 |
<div class="w_card"> |
| 68 |
<div class="w_card-content"> |
| 69 |
<h5 class="w_card-title"><?php echo esc_html( $text[0] ); ?></h5> |
| 70 |
<p class="w_card-description"> |
| 71 |
<?php echo esc_html( $text[1] ); ?> |
| 72 |
</p> |
| 73 |
</div> |
| 74 |
</div> |
| 75 |
|
| 76 |
</div> |
| 77 |
|
| 78 |
<?php endforeach; ?> |
| 79 |
|
| 80 |
</div> |
| 81 |
|
| 82 |
|
| 83 |
</div> |
| 84 |
</div> |
| 85 |
|
| 86 |
|
| 87 |
<?php |
| 88 |
|