I want to make the shopping cart widget global by placing it in my theme's header. I tried copying and pasting the shopping cart widget but results in an error. I want to place the shopping cart widget next to my columns at the top.
phleejewelry.com // The website.
<!--HEADER -->
<div id="header">
<div id="logo-container"><a href="<?php echo home_url(); ?>"></a></div>
<?php if(get_opt('_display_tagline')!='off'){ ?>
<h2 id="site-description"><?php bloginfo( 'description' ); ?></h2>
<?php } ?>
<div id="navigation-container">
<div id="small-res-menu-wraper">
<div id="small-res-menu-button"><p href=""><span></span><?php echo pex_text('_menu_text'); ?></p></div>
<div id="small-res-menu">
<?php wp_nav_menu(array('theme_location' => 'pexeto_main_menu', 'fallback_cb'=>'pexeto_no_menu')); ?>
</div></div>
<div id="menu-container">
<div id="menu">
<?php wp_nav_menu(array('theme_location' => 'pexeto_main_menu', 'fallback_cb'=>'pexeto_no_menu')); ?>
</div>
</div>
<?php
//PRINT THE SOCIABLE ICONS
if(get_opt('_show_footer_icons')=='on'){
$icon_links=explode(PEXETO_SEPARATOR, get_option('_icon_links'));
$icon_imgs=explode(PEXETO_SEPARATOR, get_option('_icon_urls'));
$icon_titles=explode(PEXETO_SEPARATOR, get_option('_icon_titles'));
array_pop($icon_links);
array_pop($icon_imgs);
array_pop($icon_titles);
?>
<div id="header-social-icons"><ul>
<?php for($i=0; $i<sizeof($icon_links); $i++){
$title=$icon_titles[$i]?' title="'.$icon_titles[$i].'"':'';
?>
<li><a href="<?php echo $icon_links[$i];?>" target="_blank" <?php echo $title; ?>><div><img src="<?php echo $icon_imgs[$i]; ?>" alt="" /></div></a></li>
<?php } ?>
</ul></div>
<?php
}
?>
</div>
<div class="clear"></div>
<div id="navigation-line"></div>
</div> <!-- end #header -->
This is the header code that I'm trying to copy and paste the shopping cart into. How do I go about this? Thanks.