Example #1
1
            }
            echo '</div>';
        }
        ?>
							</div>
						<?php 
    }
    ?>

						<div class="navbar-toggle-search">
							<div class="navbar-search"><a class="navbar-search-button" href="#"><i class="fa fa-search"></i></a></div>
							</div>
							<div class="navcart">
								<div class="navcart-wrap">
									<?php 
    echo class_exists('DH_Woocommerce') ? DH_Woocommerce::instance()->get_minicart() : '';
    ?>
								</div>
							</div>
							<?php 
    $login_url = wp_login_url();
    $logout_url = wp_logout_url();
    $register_url = wp_registration_url();
    if (defined('WOOCOMMERCE_VERSION')) {
        $login_url = get_permalink(get_option('woocommerce_myaccount_page_id'));
        $logout_url = wp_logout_url(get_permalink(woocommerce_get_page_id('myaccount')));
    }
    ?>
							
							<div class="navbar-user"><a title="<?php 
    echo esc_attr__('My Account', 'jakiro');
Example #2
0
 public static function instance()
 {
     if (is_null(self::$_instance)) {
         self::$_instance = new self();
     }
     return self::$_instance;
 }
Example #3
0
													<?php 
                }
                ?>
													<?php 
                /**
                 * woocommerce_before_shop_loop_item_title hook
                 *
                 * @hooked woocommerce_show_product_loop_sale_flash - 10
                 * @hooked woocommerce_template_loop_product_thumbnail - 10
                 */
                do_action('woocommerce_before_shop_loop_item_title');
                ?>
												</a>
												
												<?php 
                DH_Woocommerce::instance()->template_loop_quickview();
                ?>
											</div>
										</div>
										<figcaption>
											<div class="shop-loop-product-info">
												<div class="info-title">
													<h3 class="product_title"><a href="<?php 
                the_permalink();
                ?>
"><?php 
                the_title();
                ?>
</a></h3>
												</div>
												<div class="info-meta">
Example #4
0
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.1.0
 */
if (!defined('ABSPATH')) {
    exit;
    // Exit if accessed directly
}
?>

<?php 
do_action('woocommerce_before_add_to_cart_button');
?>

<div class="form_cart_actions">
<p class="cart">
	<a href="<?php 
echo esc_url($product_url);
?>
" rel="nofollow" class="single_add_to_cart_button button alt"><?php 
echo dh_print_string($button_text);
?>
</a>
	<?php 
DH_Woocommerce::instance()->yith_wishlist_do_shortcode();
?>
</p>
</div>

<?php 
do_action('woocommerce_after_add_to_cart_button');
Example #5
0
">
			<div class="row">
				<?php 
do_action('dh_left_sidebar');
?>
				<?php 
do_action('dh_left_sidebar_extra');
?>
				<div class="<?php 
echo esc_attr($main_class);
?>
" role="main" data-itemprop="mainContentOfPage">
					<div class="main-content">
						<?php 
if (class_exists('DH_Woocommerce')) {
    DH_Woocommerce::content();
}
?>
					</div>
				</div>
				<?php 
do_action('dh_right_sidebar_extra');
?>
				<?php 
do_action('dh_right_sidebar');
?>
			</div>
		</div>
	</div>
<?php 
get_footer('shop');
								<?php 
//woocommerce_template_loop_add_to_cart();
?>
								<a href="<?php 
the_permalink();
?>
" class="btn btn-black">More Details</a>
							</div>
							<?php 
if (class_exists('DH_Woocommerce')) {
    DH_Woocommerce::instance()->template_loop_quickview();
}
?>
							<?php 
if (class_exists('DH_Woocommerce')) {
    ?>
								<div class="loop-add-to-wishlist">
									<?php 
    DH_Woocommerce::instance()->template_loop_wishlist();
    ?>
								</div>
							<?php 
}
?>
						</div>
					</div>
				</div>
			</figcaption>
		</figure>
	</div>
</li>
													c-94.295,0-171,77.208-171,172.125S136.705,505.625,231,505.625z"/>
											</g>
										</g>
									</g>
								</svg>
							</a>
						</div>
					</div>
					<?php 
}
?>
					<div class="navcart">
						<div class="navcart-wrap navbar-minicart-topbar">
							<?php 
if (class_exists('DH_Woocommerce') && defined('WOOCOMMERCE_VERSION') && dh_get_theme_option('woo-cart-nav', 1)) {
    echo '<div class="navbar-minicart navbar-minicart-topbar">' . DH_Woocommerce::instance()->get_minicart() . '</div>';
}
?>
						</div>
					</div>
					<?php 
$login_url = wp_login_url();
$logout_url = wp_logout_url();
$register_url = wp_registration_url();
if (defined('WOOCOMMERCE_VERSION')) {
    $login_url = get_permalink(get_option('woocommerce_myaccount_page_id'));
    $logout_url = wp_logout_url(get_permalink(woocommerce_get_page_id('myaccount')));
}
?>
					
					<div class="navbar-user">