$mobile_browser2++; } if (strpos(strtolower($_SERVER['HTTP_USER_AGENT']), 'opera mini') > 0) { $mobile_browser2++; //Check for tablets on opera mini alternative headers $stock_ua = strtolower(isset($_SERVER['HTTP_X_OPERAMINI_PHONE_UA']) ? $_SERVER['HTTP_X_OPERAMINI_PHONE_UA'] : (isset($_SERVER['HTTP_DEVICE_STOCK_UA']) ? $_SERVER['HTTP_DEVICE_STOCK_UA'] : '')); if (preg_match('/(tablet|ipad|playbook)|(android(?!.*mobile))/i', $stock_ua)) { $tablet_browser2++; } } ?> <h4> <?php // Breadcrumbs wpsc_output_breadcrumbs(); // Plugin hook for adding things to the top of the products page, like the live search do_action('wpsc_top_of_products_page'); ?> </h4> <div class="row single-product"> <?php /** * Start the product loop here. * This is single products view, so there should be only one */ while (wpsc_have_products()) { wpsc_the_product(); $placeholder = get_field('placeholder_image');
?> </a></div> <?php wp_nav_menu(array('theme_location' => 'primary')); ?> <div class="clear"></div> </nav><!-- .site-navigation .main-navigation --> </header><!-- #masthead .site-header --> <?php if (!is_home() && function_exists('bcn_display')) { ?> <div id="breadcrumbs"> <?php if (is_post_type_archive('wpsc-product') || is_singular('wpsc-product')) { $options = array('before-breadcrumbs' => '<div class="wpsc-breadcrumbs"><strong>You are here:</strong> ', 'crumb-separator' => ' > '); wpsc_output_breadcrumbs($options); } else { bcn_display(); } ?> </div><!-- #breadcrumbs --> <?php } ?> <div id="main" class="site-main">