bloginfo('description'); ?> </h2> <?php } ?> </div><!-- .site-branding --> <div class="header-menu-button"><i class="fa fa-bars"></i><span><?php echo esc_attr(get_theme_mod('mystore-header-menu-text', 'menu')); ?> </span></div> <?php if (mystore_is_woocommerce_activated()) { ?> <div class="header-cart"> <a class="header-cart-contents" href="<?php echo $woocommerce->cart->get_cart_url(); ?> " title="<?php _e('View your shopping cart', 'mystore'); ?> "> <span class="header-cart-amount"> <?php echo sprintf(_n('(%d)', '(%d)', $woocommerce->cart->cart_contents_count, 'mystore'), $woocommerce->cart->cart_contents_count); ?> - <?php
/** * Enqueue scripts and styles. */ function mystore_scripts() { wp_enqueue_style('mystore-google-body-font-default', '//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic', array(), MYSTORE_THEME_VERSION); wp_enqueue_style('mystore-google-heading-font-default', '//fonts.googleapis.com/css?family=Droid+Serif:400,700,400italic,700italic', array(), MYSTORE_THEME_VERSION); wp_enqueue_style('font-awesome', get_template_directory_uri() . '/includes/font-awesome/css/font-awesome.css', array(), '4.3.0'); if (get_theme_mod('mystore-header-layout') == 'mystore-header-layout-standard') { wp_enqueue_style('mystore-header-style-standard', get_template_directory_uri() . '/templates/css/mystore-header-standard.css', array(), MYSTORE_THEME_VERSION); } else { wp_enqueue_style('mystore-header-style-centered', get_template_directory_uri() . '/templates/css/mystore-header-centered.css', array(), MYSTORE_THEME_VERSION); } wp_enqueue_style('mystore-style', get_stylesheet_uri(), array(), MYSTORE_THEME_VERSION); if (mystore_is_woocommerce_activated()) { wp_enqueue_style('mystore-standard-woocommerce-style', get_template_directory_uri() . '/templates/css/mystore-woocommerce-standard-style.css', array(), MYSTORE_THEME_VERSION); } wp_enqueue_style('mystore-footer-standard-style', get_template_directory_uri() . '/templates/css/mystore-footer-standard.css', array(), MYSTORE_THEME_VERSION); wp_enqueue_script('caroufredsel', get_template_directory_uri() . '/js/jquery.carouFredSel-6.2.1-packed.js', array('jquery'), MYSTORE_THEME_VERSION, true); wp_enqueue_script('mystore-customjs', get_template_directory_uri() . '/js/custom.js', array('jquery'), MYSTORE_THEME_VERSION, true); wp_enqueue_script('mystore-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), MYSTORE_THEME_VERSION, true); if (is_singular() && comments_open() && get_option('thread_comments')) { wp_enqueue_script('comment-reply'); } }