PluginProbe
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance / 3.2.9
WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance v3.2.9
4.7.0 4.6.1 4.6.0 4.5.5 4.5.4 4.5.3 4.5.2 3.2.20 3.2.21 3.2.22 3.2.3 3.2.5 3.2.6 3.2.7 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.5.0 3.6.0 3.7.0 3.7.1 All 111 releases
wp-optimize / templates / admin-page-header-tabs.php

admin-page-header-tabs.php in WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance 3.2.9, at templates/admin-page-header-tabs.php

47 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if (!defined('WPO_VERSION')) die('No direct access allowed'); ?>
2
3 <?php if (0 < count($tabs)) : ?>
4
5 <h2 id="wp-optimize-nav-tab-wrapper__<?php echo esc_attr($page); ?>" class="nav-tab-wrapper">
6
7 <a id="wp-optimize-nav-tab-menu" href="#" class="nav-tab" role="toggle-menu">
8 <span><?php _e('Menu', 'wp-optimize'); ?></span>
9 </a>
10
11 <?php
12 foreach ($tabs as $tab_id => $tab) {
13 $tab_icon = '';
14 if (is_array($tab)) {
15 $tab_title = $tab['title'];
16 $tab_icon = isset($tab['icon']) ? $tab['icon'] : '';
17 } else {
18 $tab_title = $tab;
19 }
20 ?>
21 <a id="wp-optimize-nav-tab-<?php echo esc_attr($page.'-'.$tab_id); ?>" data-tab="<?php echo esc_attr($tab_id); ?>" data-page="<?php echo esc_attr($page); ?>" href="<?php esc_attr_e($options->admin_page_url($page)); ?>&amp;tab=wp_optimize_<?php echo $tab_id; ?>" class="nav-tab <?php if ($active_tab == $tab_id) echo 'nav-tab-active'; ?>">
22 <?php if ($tab_icon) : ?>
23 <span class="dashicons dashicons-<?php echo $tab_icon; ?>"></span>
24 <?php endif; ?>
25 <span><?php echo $tab_title; ?></span>
26 </a>
27
28 <?php } ?>
29
30 <span class="wpo-feedback">
31 <a href="#" class="nav-tab">
32 <span class="dashicons dashicons-admin-comments"></span>
33 <span><?php _e('Feedback', 'wp-optimize'); ?></span>
34 </a>
35 <div class="wpo-feedback-box">
36 <a href="<?php echo WP_Optimize()->maybe_add_affiliate_params('https://getwpo.com/feature-request/?utm_source=wp-optimize&utm_medium=quick_feedback&utm_campaign=feature_request'); ?>" target="_blank"><?php _e('I have an idea to improve WP-Optimize', 'wp-optimize'); ?></a>
37 <?php if ($wpo_is_premium) : ?>
38 <a href="<?php echo WP_Optimize()->maybe_add_affiliate_params('https://getwpo.com/premium-support/?utm_source=wp-optimize&utm_medium=quick_feedback&utm_campaign=help_or_bug_report'); ?>" target="_blank"><?php _e('I need help / something is not working', 'wp-optimize'); ?></a>
39 <?php else : ?>
40 <a href="https://wordpress.org/support/plugin/wp-optimize/" target="_blank"><?php _e('I need help / something is not working', 'wp-optimize'); ?></a>
41 <?php endif; ?>
42 </div>
43 </span>
44 </h2>
45
46 <?php endif;
47