/** * Get instance. * * @return Educator_Theme_WooCommerce */ public static function instance() { if (is_null(self::$instance)) { self::$instance = new self(); } return self::$instance; }
?> <div id="page-toolbar"> <div class="container clearfix"> <div class="toolbar-items"> <div class="item"> <div class="inner"> <?php // This option allows a number of HTML tags. echo get_theme_mod('toolbar_text'); ?> </div> </div> <?php if (educator_wc_active()) { echo '<div class="item"><div class="inner">' . Educator_Theme_WooCommerce::instance()->get_cart_widget() . '</div></div>'; } ?> </div> <?php echo edutheme_social_links(); /** * Hook to add additional HTML to the toolbar. */ do_action('educator_theme_toolbar'); ?> </div> </div> <?php }