| 1 |
<?php |
| 2 |
/* |
| 3 |
* Page Name: List |
| 4 |
*/ |
| 5 |
|
| 6 |
use FloatMenuLite\Admin\ListTable; |
| 7 |
use FloatMenuLite\WOWP_Plugin; |
| 8 |
|
| 9 |
defined( 'ABSPATH' ) || exit; |
| 10 |
|
| 11 |
$list_table = new ListTable(); |
| 12 |
$list_table->prepare_items(); |
| 13 |
$table_page = WOWP_Plugin::SLUG; |
| 14 |
|
| 15 |
$wp_plugins = [ |
| 16 |
[ |
| 17 |
'free' => 'https://wordpress.org/plugins/modal-window/', |
| 18 |
'pro' => 'https://wow-estore.com/item/wow-modal-windows-pro/', |
| 19 |
'icon' => 'modal-windows.png', |
| 20 |
'title' => 'Modal Windows', |
| 21 |
'content' => 'Designed to ease the process of creating and setting the modal windows on the WordPress site.' |
| 22 |
], |
| 23 |
[ |
| 24 |
'free' => 'https://wordpress.org/plugins/mwp-herd-effect/', |
| 25 |
'pro' => 'https://wow-estore.com/item/wow-herd-effects-pro/', |
| 26 |
'icon' => 'herd-effects.jpg', |
| 27 |
'title' => 'Herd Effects', |
| 28 |
'content' => 'Designed to create a “sense of queue” or “herd effect”, motivating the visitors of the page to perform any actions.' |
| 29 |
], |
| 30 |
[ |
| 31 |
'free' => 'https://wordpress.org/plugins/counter-box/', |
| 32 |
'title' => 'Counter Box', |
| 33 |
'content' => 'Quickly and easily create countdowns, counters, and timers with a live preview.' |
| 34 |
], |
| 35 |
[ |
| 36 |
'free' => 'https://wordpress.org/plugins/buttons/advanced/', |
| 37 |
'title' => 'Buttons', |
| 38 |
'content' => 'Easily create beautiful, customizable standard, floating, and social sharing buttons. Increase click-through rates and enhance your user experience.' |
| 39 |
], |
| 40 |
[ |
| 41 |
'free' => 'https://wordpress.org/plugins/calculator-builder/', |
| 42 |
'title' => 'Calculator Builder', |
| 43 |
'content' => 'A simple way to create an online calculator.' |
| 44 |
], |
| 45 |
]; |
| 46 |
?> |
| 47 |
|
| 48 |
<div class="wpie-notification -success"> |
| 49 |
<strong>Works Great With:</strong> |
| 50 |
<?php foreach ($wp_plugins as $plugin) { |
| 51 |
echo '<a href="' .esc_url($plugin['free']).'" target="_blank" class="has-tooltip on-bottom" data-tooltip="' .esc_attr($plugin['content']).'">'.esc_html($plugin['title']).'</a> <span class="wpie-separator">|</span> '; |
| 52 |
}?> |
| 53 |
</div> |
| 54 |
|
| 55 |
<form method="post" class="wpie-list"> |
| 56 |
<?php |
| 57 |
$list_table->search_box( esc_attr__( 'Search', 'float-menu' ), WOWP_Plugin::PREFIX ); |
| 58 |
$list_table->display(); |
| 59 |
?> |
| 60 |
<input type="hidden" name="page" value="<?php echo esc_attr( $table_page ); ?>"/> |
| 61 |
<?php wp_nonce_field( WOWP_Plugin::PREFIX . '_nonce', WOWP_Plugin::PREFIX . '_list_action' ); ?> |
| 62 |
</form> |
| 63 |
<?php |
| 64 |
|