Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php do_action( 'bp_before_header' ) ?>
- <?php endif; ?>
- <div id="header-wrapper">
- <div id="header">
- <?php if ((current_user_can('mp_view') && ( class_exists( 'MarketPress' ) )) {
- $settings = get_option('mp_settings');
- if (!$settings['disable_cart']) {
- ?>
- <div id="cart-contents"><?php _e( 'Cart:', 'framemarket' ) ?> <span><?php echo sprintf(__('%s item(s)', 'framemarket' ), mp_items_count_in_cart()); ?></span></div>
- <div id="mp-cartsmall">
- <div id="toggle">
- <a id="open" class="open button" href="#"><?php _e( 'View Cart', 'framemarket' ) ?></a>
- <a id="close" style="display: none;" class="close button" href="#"><?php _e( 'Hide Cart', 'framemarket' ) ?></a>
- </div>
- </div>
- <?php } ?>
- <?php if ( is_multisite() ) {?>
- <?php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement