public function describe_ui() { ?> <div id="ITM" class="wrap"> <h1 id="ITM-title"><?php _e('Inherit Theme Mods', 'inherit-theme-mods'); ?> <span id="ITM-instant-notifier" class="ITM-status-notifier ITM-aside"></span> </h1> <?php $itm = new Inherit_Theme_Mods(); if (!$itm->is_child_theme_active()) { # PHP5.3 ?> <div id="ITM-notifier" class="notice notice-warning"> <p> <?php _e('The active theme is not child theme. To use this plugin, activate child theme. This plugin is simply working as inspector now.', 'inherit-theme-mods'); ?> </p> </div> <?php $this->describe_list_table_area(); } else { $this->describe_header_area(); $this->describe_list_table_area(); } ?> </div><!--#ITM--> <?php }