</td> </tr> <?php } ?> <tr> <td data-export-label="WP Club Manager Support"><?php _e('WP Club Manager Support', 'wp-club-manager'); ?> :</td> <td class="help"><?php echo '<img class="help_tip" data-tip="' . esc_attr('Displays whether or not the current active theme declares WP Club Manager support.', 'wp-club-manager') . '" src="' . WPCM()->plugin_url() . '/assets/images/help.png" height="16" width="16" />'; ?> </td> <td><?php if (!current_theme_supports('wpclubmanager') && !in_array($active_theme->template, wpcm_get_core_supported_themes())) { echo '<mark class="error">' . __('Not Declared', 'wp-club-manager') . '</mark>'; } else { echo '<mark class="yes">' . '✓' . '</mark>'; } ?> </td> </tr> </tbody> </table> <table class="wpcm_status_table widefat" cellspacing="0" id="status"> <thead> <tr> <th colspan="3" data-export-label="Templates"><?php _e('Templates', 'wp-club-manager'); echo ' <img class="help_tip" data-tip="' . esc_attr('This section shows any files that are overriding the default WP Club Manager template pages.', 'wp-club-manager') . '" src="' . WPCM()->plugin_url() . '/assets/images/help.png" height="16" width="16" />';
/** * Show the Theme Check notice */ public function theme_check_notice() { if (!current_theme_supports('wpclubmanager') && !in_array(get_option('template'), wpcm_get_core_supported_themes())) { include 'views/html-notice-theme-support.php'; } }